Setup
Connector URL
https://mcp.legalcode.md/mcp1.Open your agent's connector settings
Use the connector settings in ChatGPT, Claude, Cowork, or any MCP-compatible agent that supports remote MCP servers.
2.Paste the endpoint
Paste `https://mcp.legalcode.md/mcp`. Free and Pro capabilities follow the connected account.
3.Authenticate when needed
The Legalcode connector opens OAuth in your browser. Free and Pro capabilities follow the account you connect.
4.Start a new chat or thread
After adding any MCP server, start a new chat or thread before using Legalcode. Conversations that were already open may not see newly added MCP servers.
What you get
- ✓Five tools — discover, search, fetch, analyze, trace — over one open MCP standard
- ✓Live today in Claude, ChatGPT, Copilot, Cowork, Claude Code, and Codex
- ✓Discovery-backed jurisdiction coverage for law, case law, guidance, agreements, and patents
- ✓Full legal workflow library available on Pro Annual plans
- ✓Searches are processed, never stored
Security
- ▪Open protocol — no proprietary lock-in
- ▪Your documents never leave your device — Legalcode only sees the search, never your files
- ▪Searches are processed, then discarded. We keep no record of what you looked up
- ▪Sign in with OAuth 2.0 — nothing else to configure; encrypted in transit (TLS 1.2 or higher)
FAQ
What is MCP?
Model Context Protocol (MCP) is an open standard that lets AI agents access external tools and data sources. Legalcode uses MCP to serve law, case law, and legal skills to any compatible agent.
Which agents support MCP?
Claude, ChatGPT, Codex, Cursor, GitHub Copilot, Windsurf, Cline, and many more. Any agent that supports the MCP protocol can connect to Legalcode.
Do I need to self-host anything?
No. Legalcode runs as one remote MCP connector. Use the canonical endpoint directly; Free and Pro capabilities follow the connected account.
Popular use cases
Get started with MCP Protocol
Connect your AI agent to global law, case law, and regulatory guidance in two minutes.