CONNECT
Connect your AI tool
Tool-specific setup for Claude, ChatGPT, Copilot, Cowork, Claude Code, and Codex.
Set up Legalcode in two minutes
The short version
Legalcode uses one connector for every account plan. Add it in your AI tool, start a new chat or thread, then ask a question about statutes, case law, or supported sources.
- Open the connector, app, or MCP settings in your AI tool.
- Add Legalcode using https://mcp.legalcode.md/mcp.
- Start a new chat or thread. Conversations that were already open may not see newly added MCP servers.
- Ask a legal research question, such as a case note, memo, or statutory interpretation question.
Try this prompt
Connect Legalcode using https://mcp.legalcode.md/mcp. Confirm it is available, then show me how to find statutes and case law with citations.
Connector URL
- Legalcode connector: https://mcp.legalcode.md/mcp
When Pro helps
Every account can use all five tools and all supported non-patent sources. Pro adds patent Search/Fetch and a much larger monthly quota without changing the connector URL. Organization owners and admins can turn off external patent search in account settings.
Claude
For Claude, add the Legalcode connector. Free and Pro capabilities follow the account you connect.
- Open Claude and go to Customize → Connectors.
- Click Add custom connector.
- Paste
https://mcp.legalcode.md/mcp. - Enable Legalcode from the connector/tools menu.
- Start a new chat or thread before using Legalcode. Conversations that were already open may not see newly added MCP servers.
https://mcp.legalcode.md/mcpChatGPT
Legalcode is a published ChatGPT app: open it, select Connect and sign in.
- Open the Legalcode app in ChatGPT's app directory and select Connect. On Business, Enterprise and Edu workspaces an admin may need to enable it first.
- Sign in with your Legalcode account when prompted. Free and Pro capabilities follow the connected account.
- In a new chat, select Legalcode from the apps/tools picker when you need legal research.
- Start a new chat or thread before using Legalcode. Conversations that were already open may not see newly added MCP servers.
https://mcp.legalcode.md/mcpCopilot
For Copilot, add Legalcode in the MCP or connector settings.
- Open the Copilot MCP or connector settings for your workspace.
- Add Legalcode as a connector. Some tools call this a remote MCP server.
- Paste
https://mcp.legalcode.md/mcp. - Enable Legalcode in the tools list before asking Copilot for legal research.
- Start a new chat or thread before using Legalcode. Conversations that were already open may not see newly added MCP servers.
https://mcp.legalcode.md/mcpCowork
For Cowork, use the Legalcode connector directly or ask the workspace admin to follow the plugin directions.
- Open the workspace connector or MCP settings.
- Add Legalcode as a connector. Some tools call this a remote MCP server.
- Paste
https://mcp.legalcode.md/mcp. - In managed workspaces, an owner or admin may still need to approve or add the connector.
- Start a new chat or thread before using Legalcode. Conversations that were already open may not see newly added MCP servers.
Connect Legalcode using https://mcp.legalcode.md/mcp. If this workspace uses Legalcode plugins or legal workflows, use https://github.com/legalcode-md/plugins for setup directions.Claude Code
For Claude Code, the connector is useful for legal research. The plugin marketplace adds repeatable Legalcode workflows.
- Add the Legalcode plugin marketplace:
/plugin marketplace add legalcode-md/plugins. - Install
legalcode-claude-code@legalcode. Advanced operations follow the connected account plan. - Use the included workflows for local-first legal work; your matter files stay with your AI tool.
- Start a new chat or thread before using Legalcode. Conversations that were already open may not see newly added MCP servers.
/plugin marketplace add legalcode-md/plugins
/plugin install legalcode-claude-code@legalcodeCodex
For OpenAI Codex, add Legalcode as a Streamable HTTP MCP server. Codex will handle OAuth after you save the server and click Authenticate.
- Open Codex Settings and go to MCP Servers.
- Add a new MCP server and choose Streamable HTTP.
- Give it a name, such as
Legalcode. - Paste
https://mcp.legalcode.md/mcp. Free and Pro capabilities follow the connected account. - Click Save.
- Click Authenticate on the MCP server you just created, complete sign-in, and Legalcode is ready to use.
- Start a new chat or thread before using Legalcode. Conversations that were already open may not see newly added MCP servers.
https://mcp.legalcode.md/mcp