Global law
The law of nearly every country on earth, any date: read it, see what changed it, check citations.
Search and read all UK legislation (130k Acts and regulations), updated daily, with official links.
Lists are ordered by a usage score (out of 100) built from these parts
| Popularity | 0/80 | GitHub stars or weekly downloads: the larger counts 60, the smaller 20 |
|---|---|---|
| Freshness | 12/12 | Full marks for a release or code change within 30 days |
| Still answering | 8/8 | The cloud endpoint answered at the last check |
| Usage score | 20/100 |
Quality: Passed 5/5 basic checks (shown, not used for ordering) · Momentum: No data yet (Used only on the Trending tab)
Pick the AI app you use, then copy the settings.
Let your AI install it with one sentence
Please install UK Law. Follow https://mcp.popnx.com/i/flaviohtavares-uk-law.md, show me the commands and wait for my OK before running them.Paste it into an AI that can work on your computer (such as Claude Code or Cursor). It reads our steps, shows you the commands and waits for your OK. No key, no sign-up. · See the full text your AI reads
Passed 5/5 checks · What you ask goes through the maker’s server (uk-law-mcp.uk-law-mcp.workers.dev) · ✓ Commands checked Nov 13, 2026
First: which AI do you use?
Pick your app and the steps appear below.
Works with Claude · about 2 min
No key, nothing to install · Set it up once on claude.ai or the desktop app, then use it in chat · free accounts can add 1 · on Team/Enterprise an Owner adds it
CustomizeConnectors
Copy each value into the field with the same name in Claude, then click Continue
UK Lawhttps://uk-law-mcp.uk-law-mcp.workers.dev/mcpClick Continue past the sign-in settings Claude detected · under Authentication choose what the maker says (Sign in now, Sign in when needed or No sign in), then click Add
+ConnectorsUK Law
Use UK Law and tell me what you can do for me, then show me one thing✓ If Claude says it is using UK Law or shows a UK Law tool in the answer, you are connected
Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version
Works with ChatGPT, depending on your plan
Full MCP: ChatGPT Business, Enterprise or Edu on the web · Pro: connects with read/fetch permissions, so tools that change data may not work · Plus: not confirmed in OpenAI’s docs; if you see an add-custom-MCP option on the Plugins page you can try these steps · web only
Plugins+Add custom MCP server
Enter a name, paste the address under Connection, tick the risk warning and click Create as a plugin
UK Lawhttps://uk-law-mcp.uk-law-mcp.workers.dev/mcpStart a new chat and pick UK Law from your plugins before typing
Use UK Law and tell me what you can do for me, then show me one thing✓ If ChatGPT says it is using UK Law or shows a UK Law tool in the answer, you are connected
Menu names checked against OpenAI’s help page on Nov 11, 2026 · your screen may differ slightly by app version
Works with Claude Code · about 2 min
No key, nothing to install
Mac: press Command+Space and type Terminal · Windows: open PowerShell
claude mcp add --transport http --scope user uk-law https://uk-law-mcp.uk-law-mcp.workers.dev/mcpYou should see UK Law listed as connected
Use UK Law and tell me what you can do for me, then show me one thing✓ If Claude Code says it is using UK Law or shows a UK Law tool in the answer, you are connected
Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version
Works with Cursor · about 2 min
No key, nothing to install
Use UK Law and tell me what you can do for me, then show me one thing✓ If Cursor says it is using UK Law or shows a UK Law tool in the answer, you are connected
Menu names checked against Cursor’s help page on Nov 11, 2026 · your screen may differ slightly by app version
Works with VS Code · about 2 min
No key, nothing to install
Use UK Law and tell me what you can do for me, then show me one thing✓ If VS Code says it is using UK Law or shows a UK Law tool in the answer, you are connected
Menu names checked against VS Code’s help page on Nov 11, 2026 · your screen may differ slightly by app version
Other apps that use MCP, such as Windsurf, Zed or Gemini CLI, each add servers differently. See how in the app list.
Address for apps that connect over the web
https://uk-law-mcp.uk-law-mcp.workers.dev/mcpJSON settings are under “For developers” below
Claude Code
claude mcp add --transport http --scope user uk-law https://uk-law-mcp.uk-law-mcp.workers.dev/mcpCursor (~/.cursor/mcp.json)
{
"mcpServers": {
"uk-law": {
"url": "https://uk-law-mcp.uk-law-mcp.workers.dev/mcp"
}
}
}VS Code (mcp.json)
{
"servers": {
"uk-law": {
"type": "http",
"url": "https://uk-law-mcp.uk-law-mcp.workers.dev/mcp"
}
}
}These settings are generated from the maker’s registry entry. If the README says otherwise, follow the README.
Based on how this server connects and on each app’s own docs, checked Nov 10, 2026.
Connect over the internet in
ClaudeChatGPTGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatOpen WebUIRaycast
Tool names and descriptions exactly as the server reported them on Nov 18, 2026. The maker wrote them, not us; we show them as plain text.
search_lawsFind UK Acts and regulations by words of their title, or by id (e.g. ukpga/1996/18). Exact titles, Acts and laws in force come first. Returns id, title, status, extent and topics.
get_lawRead a law by id. Short laws come whole. Long laws (100+ sections) return their front matter and a Contents list: then ask for one part, e.g. part: "section 86", "schedule 1", "regulation 3" or "part 2" (lists that part's sections).
list_topicsTopics (the official subject headings of legislation.gov.uk) with the number of Acts and regulations in force. Optionally only those whose name has these words.
get_topicThe Acts and regulations in force on one topic, with how many regulations each Act has on it. Big topics list regulations by year: pass year to read one.
We check information anyone can see; we have not read the code. Checks that do not apply are left out of the count. · Checked Nov 19, 2026
The registry name was verified with the GitHub account flaviohtavares, which owns the repo
Code last changed 12 days ago
Uses MIT
Responded in 188 ms (HTTP 200)
No sign-in needed
Read 4 tool descriptions and found no hidden instructions to the AI
If you made this, paste this code into your README. The badge links back to this page.
[](https://mcp.popnx.com/en/servers/flaviohtavares-uk-law)Ask, share a tip or report that it does not work. Sorted by what people marked helpful.
No posts yet. Be the first to ask or share.
Posts here are written by users, not the PopNx team.
No reviews yet
Compared with every active server in this category in the registry. Stars count only when the publisher owns the repo.
It passed 5 of 5 applicable basic checks. We have not read the code. Before adding a key or token, see what access the server asks for and use a key with only the permissions you need.
The registry does not list a required key, though some servers ask you to sign in on first use.
It runs in the maker’s cloud. Connect over the internet with nothing to install, but what you send passes through the maker’s servers.
The GitHub repo last changed 12 days ago, and the latest version (1.0.1) reached the registry 12 days ago.
Apps that support MCP, such as Claude Desktop, Claude Code, Cursor and VS Code. It connects by URL, so apps that accept remote MCP servers work too, such as ChatGPT on the web (full MCP on Business and above; Pro read-only).
In the same category: Global law, Open Legal Data (Germany), LibreJustice, InfraNode, Fedlex Connector
Same category, other makers, commands already checked. Official ones first, then by stars.
Reading a card:↓ Downloads per weeki★ GitHub starsiThree pillars: reviews · checks · usageiUpdated = latest version published to the registryi
The law of nearly every country on earth, any date: read it, see what changed it, check citations.
German court decisions (Rechtsprechung) and laws (Gesetze) with citation graph and citation checks.
Search French-language and European case law and French legal texts (codes, statutes, treaties).
Keyless open data for 84 German cities: 12 lean read-only MCP tools covering 67 data types.
Search Swiss federal legislation: laws, articles, amendments via the Fedlex SPARQL endpoint.
| This one UK Law | Global law | Open Legal Data (Germany) | LibreJustice | InfraNode | Fedlex Connector | |
|---|---|---|---|---|---|---|
| Runs where | Runs in the cloud, nothing to install | Runs in the cloud, nothing to install | Runs in the cloud, nothing to install | Runs in the cloud, nothing to install | Runs in the cloud, nothing to install | Runs in the cloud, nothing to install |
| Needs a key | No | No | No | No | No | No |
| Add with + in Claude | No | No | No | No | No | No |
| Basic checks | 5/5 | 4/4 | 4/4 | 4/4 | 4/4 | 4/4 |
| License | MIT | NOASSERTION | MIT | Apache-2.0 | Apache-2.0 | MIT |
| Price | No cost listed in the registry | No cost listed in the registry | No cost listed in the registry | No cost listed in the registry | No cost listed in the registry | No cost listed in the registry |
Copied from the maker’s repo as written. PopNx MCP has not reviewed or endorsed it. HTML, images and scripts are removed. Links lead off this site.
A free, read-only MCP server that lets AI assistants (Claude, ChatGPT, Claude Code, Codex and others) search and read all UK legislation, about 130,000 Acts and regulations from UK Law, updated daily from legislation.gov.uk.
Not legal advice. The texts are an unofficial copy and can be out of date or contain
conversion errors. Always check the official text at legislation.gov.uk.
Server URL: https://uk-law-mcp.uk-law-mcp.workers.dev/mcp (no sign-in). The page at the root of that address has the same instructions.
There are two ways to connect an assistant, and both are free:
https://uk-law-mcp.uk-law-mcp.workers.dev/mcp), for Claude, ChatGPT, Claude Code and Codex. Nothing to install on your computer and no sign-in;After installing, test it with a question such as: *"What does section 86 of the Employment Rights Act 1996 say about notice periods?"* The answer should quote the section and link legislation.gov.uk.
Works on every plan; the Free plan allows one custom connector.
UK Law. Remote MCP server URL: https://uk-law-mcp.uk-law-mcp.workers.dev/mcp. Click Continue.On Team and Enterprise plans an Owner adds the connector once in Organization settings → Connectors (Add → Custom → Web, same URL, "No sign in"); members then switch it on in Customize → Connectors.
Option A, the plugin (recommended). Type in Claude Code:
/plugin marketplace add flaviohtavares/uk-law-tools
/plugin install uk-law@uk-law-tools
Restart Claude Code if asked. Update later with /plugin marketplace update uk-law-tools.
Option B, the MCP server. In a terminal:
claude mcp add --transport http --scope user uk-law https://uk-law-mcp.uk-law-mcp.workers.dev/mcp
--scope user makes it available in every project. Check it with /mcp inside Claude Code.
Option A, the MCP server. In a terminal:
codex mcp add uk-law --url https://uk-law-mcp.uk-law-mcp.workers.dev/mcp
or add this to ~/.codex/config.toml:
[mcp_servers.uk-law]
url = "https://uk-law-mcp.uk-law-mcp.workers.dev/mcp"
Check it with codex mcp list, then start a new Codex session.
Option B, the skill. In a terminal:
curl -fsSL https://raw.githubusercontent.com/flaviohtavares/uk-law-tools/main/install.sh | sh
It copies the skill to ~/.agents/skills/uk-law (and ~/.codex/skills/uk-law). Restart Codex. Run the same command to update.
Custom MCP servers work on chatgpt.com (web) with a Pro, Business or Enterprise/Edu plan. On Business, only workspace admins and owners can add them.
UK Law. Under Connection, enter https://uk-law-mcp.uk-law-mcp.workers.dev/mcp.Free and Plus plans: paste this link into the chat and ask your question; ChatGPT reads the instructions and opens the right file:
https://raw.githubusercontent.com/flaviohtavares/uk-law/main/llms.txt
Add https://uk-law-mcp.uk-law-mcp.workers.dev/mcp as a remote server (Streamable HTTP transport, no authentication).
| tool | does |
|---|---|
search_laws | find laws by words of the title or by id; filters: types, in_force, extent, topic, limit |
get_law | read a law; for long laws, the contents, then one part ("section 86", "schedule 1", "part 2") |
list_topics | official subject headings with counts of laws in force |
get_topic | Acts and regulations in force on one topic (year for big topics) |
A Cloudflare Worker with a stateless MCP handler (createMcpHandler from the Agents SDK). The index of laws (index/laws.csv of the data repository) is kept in D1 with a full-text index on the titles; the texts are read from GitHub (cached for an hour). No user data is stored.
npm install
npx wrangler login npx wrangler d1 create uk-law # put the database_id in wrangler.jsonc npm run sync:full # loads index/laws.csv from a clone of uk-law (UKLAW_DATA) npm run deploy
npm run sync sends only the rows that changed since the last sync; the maintainer runs it after each daily update. For local development: python3 scripts/sync.py --full --local and npm run dev.
Built and maintained by [Tavlabs Ltd](https://www.tavlabs.uk/uk-law?utm_source=github&utm_medium=uk-law-mcp), a London software house for small and medium businesses. contact@tavlabs.uk
Not affiliated with or endorsed by The National Archives, legislation.gov.uk or the UK Government. Code: MIT. Legislation texts: © Crown and database right, Open Government Licence v3.0.