Global law
The law of nearly every country on earth, any date: read it, see what changed it, check citations.
Search and read UK legislation at any date, resolve citations, list amendments, track changes.
Lists are ordered by a usage score (out of 100) built from these parts
| Popularity | 6/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 | 26/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 Legislation MCP Server. Follow https://mcp.popnx.com/i/cyanheads-uk-legislation-mcp-server.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-legislation.caseyjhand.com) · ✓ Commands checked Nov 14, 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 Legislation MCP Serverhttps://uk-legislation.caseyjhand.com/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 Legislation MCP Server
Use Uk Legislation MCP Server and tell me what you can do for me, then show me one thing✓ If Claude says it is using Uk Legislation MCP Server or shows a Uk Legislation MCP Server 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 Legislation MCP Serverhttps://uk-legislation.caseyjhand.com/mcpStart a new chat and pick Uk Legislation MCP Server from your plugins before typing
Use Uk Legislation MCP Server and tell me what you can do for me, then show me one thing✓ If ChatGPT says it is using Uk Legislation MCP Server or shows a Uk Legislation MCP Server 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-legislation https://uk-legislation.caseyjhand.com/mcpYou should see Uk Legislation MCP Server listed as connected
Use Uk Legislation MCP Server and tell me what you can do for me, then show me one thing✓ If Claude Code says it is using Uk Legislation MCP Server or shows a Uk Legislation MCP Server 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 Legislation MCP Server and tell me what you can do for me, then show me one thing✓ If Cursor says it is using Uk Legislation MCP Server or shows a Uk Legislation MCP Server 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 Legislation MCP Server and tell me what you can do for me, then show me one thing✓ If VS Code says it is using Uk Legislation MCP Server or shows a Uk Legislation MCP Server 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-legislation.caseyjhand.com/mcpJSON settings are under “For developers” below
Claude Code
claude mcp add --transport http --scope user uk-legislation https://uk-legislation.caseyjhand.com/mcpCursor (~/.cursor/mcp.json)
{
"mcpServers": {
"uk-legislation": {
"url": "https://uk-legislation.caseyjhand.com/mcp"
}
}
}VS Code (mcp.json)
{
"servers": {
"uk-legislation": {
"type": "http",
"url": "https://uk-legislation.caseyjhand.com/mcp"
}
}
}Claude Code
claude mcp add --scope user uk-legislation -- npx -y @cyanheads/uk-legislation-mcp-serverClaude Desktop (claude_desktop_config.json)
{
"mcpServers": {
"uk-legislation": {
"command": "npx",
"args": [
"-y",
"@cyanheads/uk-legislation-mcp-server"
]
}
}
}Cursor (~/.cursor/mcp.json)
{
"mcpServers": {
"uk-legislation": {
"command": "npx",
"args": [
"-y",
"@cyanheads/uk-legislation-mcp-server"
]
}
}
}VS Code (mcp.json)
{
"servers": {
"uk-legislation": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@cyanheads/uk-legislation-mcp-server"
]
}
}
}UK_LEGISLATION_CONTACT envUK_LEGISLATION_MIN_REQUEST_GAP_MS envUK_LEGISLATION_CACHE_MAX_MB envMCP_LOG_LEVEL envDescriptions are as written by the maker.
These settings are generated from the maker’s registry entry. If the README says otherwise, follow the README.
npm: @cyanheads/uk-legislation-mcp-servernpm: @cyanheads/uk-legislation-mcp-serverBased 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
Run on your computer in
ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast
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.
uklaw_search_legislationSearch the UK statute book on legislation.gov.uk by full text or title, or list legislation by type and year, filtered by geographical extent and point in time. Full-text search ranks by relevance; title searches and type/year listings run newest year first and carry type and yea
uklaw_get_documentRead one item or one provision of UK legislation from legislation.gov.uk — as it stands now (revised), as enacted/made, or as it stood on a date — in Markdown, with its editorial status, annotations (the applied amendment history), the unapplied effects touching it, the versions
uklaw_get_amendmentsList the effects — amendments, repeals, revocations, commencements, modifications — recorded against an item (direction affected) or made by an item (direction affecting), from legislation.gov.uk's changes feeds. Filter by the other item (counterpart), by applied status (unapplie
uklaw_track_changesRead the legislation.gov.uk Publication Log for a date window of up to 31 days: new items, new revised versions, newly recorded effects, and withdrawals, newest first — the compliance-monitoring view of "what changed". Filter by content type, effect direction, category, an item o
uklaw_lookup_citationResolve a citation or short title to the canonical legislation.gov.uk item and provision: "Data Protection Act 2018 s. 45", "2018 c. 12", "S.I. 2019/419", "S.S.I. 2020/123", "S.R. 2020/12", "2020 asp 13", "Regulation (EU) 2016/679 art. 28", a legislation.gov.uk URI, or a short ti
uklaw_list_referenceDecode the vocabulary the other uklaw_* tools take and return: legislation type codes (ukpga, uksi, eur, …) with their labels, categories and enacted keywords; type groups; extents; version keywords; document status; annotation letters (F, C, I, M, E, P, X); effect record fields;
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 cyanheads, which owns the repo
Code last changed 6 days ago
Uses Apache-2.0
Responded in 241 ms (HTTP 200)
No sign-in needed
Read 6 tool descriptions and found no hidden instructions to the AI
The cloud address answered 4 of the last 4 checks · latest 241 ms · checked Nov 18, 2026
No entries on OSV.dev for @cyanheads/uk-legislation-mcp-server@0.2.1
Checks only this package version, not every dependency · checked Nov 15, 2026
If you made this, paste this code into your README. The badge links back to this page.
[](https://mcp.popnx.com/en/servers/cyanheads-uk-legislation-mcp-server)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.
Either way works: install it on your computer or connect to the cloud version.
The GitHub repo last changed 6 days ago, and the latest version (0.2.1) reached the registry 21 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 Legislation MCP Server | Global law | Open Legal Data (Germany) | LibreJustice | InfraNode | Fedlex Connector | |
|---|---|---|---|---|---|---|
| Runs where | Cloud or install on your computer | 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 | Apache-2.0 | 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.
@cyanheads/uk-legislation-mcp-server Search and read UK legislation at any date, resolve citations, list amendments, track changes via MCP. STDIO or Streamable HTTP. 6 Tools • 1 Resource
Public Hosted Server: https://uk-legislation.caseyjhand.com/mcp
The UK statute book from legislation.gov.uk: primary, secondary, and EU-origin legislation for the UK, England, Scotland, Wales, and Northern Ireland. Resolve citations, search by text or title, read any provision as it stands today, as enacted, or on a past date, and track amendments. No API key required.
| Tool | Description |
|---|---|
uklaw_search_legislation | Search by full text or title, or list by type and year, filtered by extent and point in time |
uklaw_get_document | Read an item or provision as revised, as enacted or made, or on a date, with its editorial status and unapplied effects |
uklaw_get_amendments | List the effects (amendments, repeals, commencements, modifications) recorded against an item or made by it |
uklaw_track_changes | Read the legislation.gov.uk Publication Log for a window of up to 31 days |
uklaw_lookup_citation | Resolve a citation, short title, or legislation.gov.uk URI to the canonical item and provision |
uklaw_list_reference | Decode type codes, extents, version keywords, annotation letters, citation forms, and other vocabulary, offline |
| Resource | Description |
|---|---|
skill://uk-legislation-guide/SKILL.md | Agent Skill covering how to decide with the uklaw_* tools whether a provision is in force and current, its text on a date, what amended or commenced it, and what changed since a date |
The skill is served over MCP through the Agent Skills extension (io.modelcontextprotocol/skills, skill://{+path} template) and ships in skills/ in the npm package, the Docker image, and the .mcpb bundle. The tools do not depend on it.
uklaw_search_legislation tooltext (full text: AND/OR, "quoted phrases", stemming) and/or title (every word must occur), or neither to list by type and year; limit 1–50 (default 20) with pagetypes (codes such as ukpga, uksi, eur, or the groups all, primary, secondary, eu-origin, draft; default all, which excludes drafts), year or year_from / year_to (1267–2100), extent (england, wales, scotland, ni) with extent_match (applicable or exact), and as_of (YYYY-MM-DD); extent and as_of cannot be combineditem path to pass to uklaw_get_document; has_more flags another page, and title searches and listings add facets (type counts and the newest 25 years)uklaw_get_document toolitem is a full path (ukpga/2018/12, uksi/2019/419, eur/2016/679, regnal ukpga/Eliz2/3-4/19) or a legislation.gov.uk URI; provision a path (section/45/2/f, schedule/2/paragraph/3) or shorthand (s. 45(2)(f), Sch. 2 para. 3); version current (default), enacted (or made, adopted, created), or a YYYY-MM-DD date; language en or cykind is full (Markdown text with its annotations), outline (provision paths to read next, 100 per call from outline_offset), or pdf_only (links.pdf); text over 20,000 characters, or an item with more than 25 leaf provisions, comes back as an outline (a provision with no smaller provisions to list is returned whole up to 40,000 characters and cut past that, with a notice linking the full text), and match_text lists an item's provisions that contain a termeditorial (document_status, outstanding_effects, caveat) and unapplied_effects (the first 20, at item or provision level; a provision read also lists the effects on its enclosing provisions and, on full text, the provisions inside it, and says when it could not check them) show how far the revised text can be relied on; version.available lists the versions to pass as versionuklaw_get_amendments toolitem full or partial (uksi, ukpga/2018); direction affected (default: changes made to it) or affecting (changes it makes); filters counterpart (the other item, full or partial), status (all, unapplied, applied; default all), and provision (needs a full item; scans up to 1,500 effects per call)limit 1–100 (default 20), continued with next_cursor; each effect names both sides with their provisions, in_force dates, applied / outstanding, and notes; total counts effects before the provision filter, and scan reports its coverageukpga/1925/20) and drafts are not indexed: both fail as regnal_item / draft_item, with the route to take insteaduklaw_track_changes toolstart_date (required) and end_date (defaults to start_date), a window of at most 31 days; filters content_type (legislation, changes, draft, associated-documents), direction (with changes only), category (primary, secondary, eu-origin; with legislation or associated-documents only), item, new_only, and event (published, withdrawn)limit 1–80 (default 40), continued with next_cursor; mode is day_walk (days newest first, up to 4 upstream requests per call) or item_log (a full item path reads that item's own log and reports read_back_to)changes event carries no effect detail: uklaw_get_amendments on its item has ituklaw_lookup_citation toolcitation of up to 300 characters: a numbered citation, a short title, or a legislation.gov.uk URI, optionally with a provision (forms below)item path, plus provision_found for a cited provision, checked against the current version; a miss or an ambiguous title is found: false with guidance or up to 20 candidates, not an error| Form | Examples | Resolves to |
|---|---|---|
| UK Act by chapter | 2018 c. 12 | ukpga/2018/12; before 1963 the calendar year is searched and the regnal candidates returned |
| Act of the Northern Ireland Assembly | 2016 c. 5 (N.I.) | nia/2016/5 |
| UK Statutory Instrument | S.I. 2019/419, SI 2019 No. 419, S.I. 2002/808 (W. 89) | uksi/2019/419; alternative series numbers are ignored, and Welsh and NI SIs canonicalize to wsi / nisi |
| Scottish Statutory Instrument | S.S.I. 2020/123 | ssi/2020/123 |
| Northern Ireland Statutory Rule | S.R. 2020/12, S.R. 2020 No. 12 | nisr/2020/12 |
| Scottish and Welsh Acts and Measures | 2020 asp 13, asp 2020/13, 2016 anaw 1, 2021 asc 1, 2010 nawm 1 | asp/2020/13, anaw/2016/1, asc/2021/1, mwa/2010/1 |
| EU-origin legislation | Regulation (EU) 2016/679, Regulation (EC) No 1535/2003, Directive 95/46/EC, Decision (EU) 2019/419; the issuing body may lead (Council Regulation (EC) No 1/2003) | eur/2016/679, eur/2003/1535 (pre-2015 numbering is number/year), eudr/1995/46, eudn/2019/419 |
| Defined name | UK GDPR | eur/2016/679 |
| legislation.gov.uk URI | https://www.legislation.gov.uk/ukpga/2018/12/section/45 | Split into item, provision, and version |
| Short title | Data Protection Act 2018, Human Rights Act 1998 (c. 42) | Resolved by title and year; a trailing chapter resolves the Act by number when the title does not |
Any form can end with a provision (s. 45(2)(f), section 45, reg. 5, art. 28(3), r. 7, r. 3.4, Sch. 2 para. 3, Pt 3) or start with one followed by "of" or "of the": section 45 of the Data Protection Act 2018. uklaw_list_reference topic citation_formats returns the same list.
uklaw_list_reference tooltopic: types, type_groups, extents, versions, document_status, annotation_types, effects, provision_paths, citation_formats, publication_log, coverage, or attributionkey, label, description, and optional detailsskill://uk-legislation-guide/SKILL.md resourceresources/list; the skill://{+path} template reads any file under itBuilt on @cyanheads/mcp-ts-core: stdio and Streamable HTTP transports, pluggable auth (none / jwt / oauth), swappable storage (in-memory, filesystem, Supabase, Cloudflare KV/R2/D1), structured logging with optional OpenTelemetry tracing.
legislation.gov.uk-specific:
max-age (capped at one hour) and If-Modified-Since revalidations. 45(2)(f), reg. 5, Sch. 2 para. 3) normalized to provision paths; pre-1963 regnal paths and Welsh-language text (language: "cy") supportedAgent-friendly output: