Setup
Install command
npx legalcode init --client claude-code1.Run the install command
Execute the command in your terminal. The CLI will detect Claude Code and configure the MCP endpoint.
2.Add the remote MCP URL
Open /mcp in Claude Code and add the generated remote URL from the CLI output.
3.Complete OAuth in browser
Sign in to legalcode.md when the browser opens. Verify tool access and you're ready to go.
What you get
- ✓Search law and case law across 24 jurisdictions
- ✓Run 318+ legal skills (contract review, DPIA, NDA triage, and more)
- ✓Cross-reference statutes and case law citations
- ✓Access regulatory guidance from SEC, EBA, EDPB, and other agencies
- ✓Zero data retention — your queries are never stored
Security
- ▪Your documents never leave your machine
- ▪Search queries are not logged or stored
- ▪OAuth 2.0 authentication with token rotation
- ▪All traffic encrypted via TLS 1.3
FAQ
Does Legalcode store my documents?
No. Legalcode serves law to your agent. Your documents, analysis, and work product stay in your local environment. We have zero data retention on searches.
What jurisdictions are covered?
Legalcode covers 24 jurisdictions including the EU, UK, France, Germany, Switzerland, Iceland, United States, Canada, and more. Sources are updated daily from primary legal databases.
Is Legalcode free?
The free tier includes laws and case law across 24 jurisdictions. Pro adds all source types, file downloads, and higher throughput at $39/month ($29 billed annually). The full skill library is available on annual Pro plans.
Popular use cases
Get started with Claude Code
Connect your AI agent to global law, case law, and regulatory guidance in two minutes.