Connect to your AI assistant
Search 155,000+ UK court judgments and 25 legal databases from the assistant you already use. Set up in under 2 minutes.
Case Law Search
155,000+ judgments from the Supreme Court, Court of Appeal, High Court, and tribunals
Citation Network
576,000+ citation relationships showing how courts treat each authority
Legislation
Full UK legislation search including Acts, Statutory Instruments, and amendments
71 Research Tools
Hansard, HMRC manuals, CPS guidance, ICO decisions, Gazette notices, and more
Claude.ai (Web)
For anyone using Claude in their browser at claude.ai
-
Open Customize → Connectors
Go to claude.ai/customize/connectors, or open Customize in Claude and choose Connectors. (On a Team or Enterprise plan, an Owner adds the connector once in Organization settings → Connectors, and everyone else then clicks Connect.) -
Add a custom connector
Click + Add, then Add custom connector. Give it a name, for example “Search the Law”, paste this URL and click Continue:https://searchthe.law/mcp
-
Confirm the sign-in settings
Claude shows the sign-in settings it has detected. Search the Law signs you in through your own account and needs no API key or request headers, so leave the settings as Claude has set them. Click Continue, then Add. -
Sign in and approve
When Claude asks you to connect, a sign-in window opens for your Search the Law account. Sign in with your email (magic link, no password) and approve the connection. -
Turn it on in a chat
Use the + button in the chat input, then Connectors, to enable Search the Law for a conversation.
Claude Desktop App
For the Claude desktop app on Mac or Windows
Search the Law is a remote MCP server, so it is added to your Claude
account rather than to a file on your computer — the same connector then works in
Claude Desktop, on claude.ai and in the mobile apps. The
claude_desktop_config.json file is only for MCP servers that run locally on
your own machine, and will not connect you to Search the Law.
-
Open Customize → Connectors
In Claude Desktop, open Customize, then Connectors. (On a Team or Enterprise plan, an Owner adds the connector once in Organization settings → Connectors, and everyone else then clicks Connect.) -
Add a custom connector
Click + Add, then Add custom connector. Give it a name, for example “Search the Law”, paste this URL and click Continue:https://searchthe.law/mcp
-
Confirm the sign-in settings
Claude shows the sign-in settings it has detected. Leave them as Claude has set them: Search the Law needs no API key or request headers. Click Continue, then Add. -
Sign in and approve
A browser window opens for you to sign in with your email — you will receive a magic link, no password needed. Click it, approve the connection, and you are set. -
Turn it on in a chat
Use the + button in the chat input, then Connectors, to enable Search the Law for a conversation.
Claude Code (Terminal)
For developers using Claude Code in the command line
-
Run one command
Open your terminal and run:claude mcp add search-the-law --transport http https://searchthe.law/mcp
-
Start using it
Next time you runclaude, it will connect automatically. Sign in via the browser when prompted on first use.
Any MCP-compatible client
ChatGPT, Gemini, Microsoft Copilot, Cursor, Windsurf, Cline — anything that supports remote MCP servers
-
Use these connection details
Server URL: https://searchthe.law/mcp Transport: Streamable HTTP Authentication: OAuth 2.0 (handled automatically) Tools available: 71
Add the URL to your client’s MCP configuration as a Streamable HTTP (remote) server. Sign-in is handled by OAuth, and the server supports dynamic client registration, so clients that register themselves automatically will do so without any manual setup on your side.
Two things to know. Clients that only support MCP servers launched locally on your own machine cannot reach a remote server like this one — though a bridge such asmcp-remotegets around that. And the step-by-step instructions above are written for Claude, because that is where most of our users are; for other assistants, follow their own documentation for adding a custom or remote MCP connector and give it the URL above.
Try these once connected
Common Questions
Do I need an API key?
No. Authentication is handled automatically via OAuth. The first time you use a tool, a browser window will open for you to sign in with your email. After that, the connection stays active.
Is it free?
The free tier gives you 20 connector requests per day — roughly seven questions, since an assistant usually runs several searches to answer one. Paid plans start at £9.99/month (Practitioner) and lift that to a fair-use ceiling you are unlikely to notice. Sign up at searchthe.law/pricing.
What can I search?
Court judgments (UKSC, EWCA, EWHC, tribunals), UK legislation, Hansard debates, Commons Library and committee research, Law Commission publications, HMRC manuals, CPS guidance, ICO decisions, Gazette notices, Companies House records, and more. 71 tools across 25 databases.
Does this replace the website?
No — it gives you a different way to access the same data. The website at searchthe.law offers Research Reports, Full Briefs, and a visual interface. The connector lets you search and ask questions conversationally inside your assistant.
Which AI assistants does this work with?
Any assistant that supports remote MCP servers. MCP is an open standard — Anthropic created it and donated it to the Linux Foundation’s Agentic AI Foundation in December 2025 — and it is supported by Claude, ChatGPT, Gemini, Microsoft Copilot, Cursor and most developer tooling. Our connector implements the standard itself, not a Claude-specific version of it: standard OAuth discovery, PKCE, and dynamic client registration. The walkthrough above covers Claude because that is where most of our users are; for anything else, use the connection details in Any MCP-compatible client.
I need the full technical documentation
See the MCP Connector Documentation for OAuth flow details, the complete tool list, usage examples, and rate limits.
71 tools · OAuth 2.0 · No API key required
Search the Law holds a 5-year transactional licence from The National Archives for computational analysis of UK court judgments.