Legalcode
免费的Claude、ChatGPT与Copilot法律MCP——覆盖44个司法管辖区,搜索永不存储
文档
Legalcode
Legal research with AI shouldn't mean uploading client files to yet another platform. Legalcode brings legal sources across 41 jurisdictions into the assistant you already use — current, cited, and confidential. Nothing you search is stored.
THE LEGAL DATA LAYER FOR THE AI YOU ALREADY USE
You bring the agent, we bring the law.
Legal research with AI shouldn't mean uploading client files to yet another platform. Legalcode brings legal sources across 41 jurisdictions into the assistant you already use — current, cited, and confidential. Nothing you search is stored.
Features
- Primary Sources -- Statutes, case law, and regulatory guidance across supported jurisdictions, updated daily from official pipelines.
- Legal Skills -- Practitioner-built instruction sets that teach your AI agent how a senior lawyer approaches specific legal tasks.
- Searches are processed, never stored -- You bring the agent, we bring the law.
- Any MCP Agent -- Works with Claude, ChatGPT, Codex, Cursor, Copilot, and any MCP-compatible client.
Developer Discovery
- Legalcode MCP -- Canonical connector and account-plan overview at https://legalcode.md/mcp.md.
- Legalcode Authentication -- OAuth issuer and protected-resource discovery at https://legalcode.md/auth.md.
- Legal data for AI agents -- Legalcode is built for Claude Code, Codex, Cursor, ChatGPT, and other AI assistants that need current statutes, case law, and regulatory guidance.
Quickstart
Claude
https://mcp.legalcode.md/mcp
- 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.
ChatGPT
https://mcp.legalcode.md/mcp
- Open ChatGPT Settings -> Apps -> Advanced Settings and enable Developer Mode.
- Return to Settings -> Apps and click Create app.
- Paste
https://mcp.legalcode.md/mcpas the MCP server URL. Free and Pro capabilities follow the connected account. - Click Scan Tools, complete OAuth if prompted, then click Create.
- 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.
Copilot
https://mcp.legalcode.md/mcp
- 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.
Cowork
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.
- 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.
Claude Code
/plugin marketplace add legalcode-md/plugins /plugin install legalcode-claude-code@legalcode
- 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.
Codex
https://mcp.legalcode.md/mcp
- 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.
Plans
Free
For anyone trying legal research in the AI they already use. Free to start, no credit card.
- Vendor-neutral connector for any MCP client
- All supported non-patent sources across 41 jurisdictions
- All five legal research operations
- Full source text through MCP Fetch where supported
- Five detailed concise results, with source stubs where applicable
- Discover, Search, and Fetch: 1 unit; Trace: 2 units; Analyze: 10 units; Pro REST signed-download redemption: 2 units
- 30 requests per day and 600 per month
- Searches processed, never stored
Pro
For professionals who run legal work through their agent every day. $25 per month billed annually at $300 for 12 months, or $39.99 per month billed monthly.
- Everything in Free, plus patent search and patent lookup
- Direct REST API access with organization API keys
- Signed full-document REST downloads where supported
- 25,000 weighted units per calendar month
- One organization allowance shared across MCP and REST
- Packaged legal workflows for Cowork, Claude Code, and Codex
- CLI access for direct server integrations
Links
- How It Works
- Documentation
- Legalcode MCP
- Legalcode Authentication
- Skills Directory
- Jurisdiction Coverage
- Use Cases
- Compare
- Glossary
- Integrations
Legalcode -- legalcode.md