MCP server
Uk Legislation
io.github.cyanheads/uk-legislation-mcp-server
Checked 26 Oct 2026, 08:29 UTC · Connected to it and listed its tools
Search and read UK legislation at any date, resolve citations, list amendments, track changes.
Working at last checkAbout 3,993 tokens per request once connected6 tools
https://uk-legislation.caseyjhand.com/mcp
At a glance
- Type
- MCP server
- Publisher
- Not verified
- Status
- Working at last check
- Tools
- 6
- Token cost
- About 3,993 tokens per request
- Sets up in
- Claude Code, Claude Desktop, Codex, Gemini CLI, Cursor, VS Code, Antigravity, ChatGPT, OpenAI API, Grok
- Last checked
- 26 Oct 2026, 08:29 UTC
Connect it to your agent
Opens the app, which shows the server and asks you to confirm. For other apps, copy the setup below.
Claude Code
claude mcp add --transport http uk-legislation-mcp-server https://uk-legislation.caseyjhand.com/mcp
Claude Desktop
Settings → Connectors → Add custom connector, and paste the URL.
Codex (config.toml)
[mcp_servers.uk-legislation-mcp-server] url = "https://uk-legislation.caseyjhand.com/mcp"
Gemini CLI
{"mcpServers":{"uk-legislation-mcp-server":{"httpUrl":"https://uk-legislation.caseyjhand.com/mcp"}}}
Cursor
{"mcpServers":{"uk-legislation-mcp-server":{"url":"https://uk-legislation.caseyjhand.com/mcp"}}}
VS Code
{"servers":{"uk-legislation-mcp-server":{"type":"http","url":"https://uk-legislation.caseyjhand.com/mcp"}}}
Antigravity
agy mcp add uk-legislation-mcp-server https://uk-legislation.caseyjhand.com/mcp
ChatGPT
Settings → Apps & Connectors → Advanced settings: turn on Developer mode, then Create a connector and paste the URL. Which plans can do this varies.
OpenAI API (Responses tools)
{"type":"mcp","server_label":"uk-legislation-mcp-server","server_url":"https://uk-legislation.caseyjhand.com/mcp","require_approval":"always"}
Grok (xAI API tools)
{"type":"mcp","server_label":"uk-legislation-mcp-server","server_url":"https://uk-legislation.caseyjhand.com/mcp"}
Tools
uklaw_get_amendments~798 tokens
List 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 (unapplied = the outstandinguklaw_get_document~903 tokens
Read 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 available, and attriuklaw_list_reference~309 tokens
Decode 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; provision path formuklaw_lookup_citation~335 tokens
Resolve 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 title. Returns the iteuklaw_search_legislation~898 tokens
Search 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 year counts (facets) touklaw_track_changes~750 tokens
Read 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 or type/year, first-t
Browse
Related MCP servers
- Legislation
U.S. bills, roll-call votes, legislators and 2026 elections for all 50 states, D.C. and Congress. - OpenCaseLaw — Swiss Caselaw, Statutes & Doctrine
1M+ Swiss court decisions, statutes & doctrine with citation graph (DE/FR/IT). CC0, free, 42 tools. - Payments Law — EU payments legislation
EU payments legislation: PSD2, RTS-SCA, PSD3/PSR, DORA; provisions, definitions and text changes. - Fedlex Connector
Search Swiss federal legislation: laws, articles, amendments via the Fedlex SPARQL endpoint. - UK Legislation Changes
Point-in-time amendment history for 528 UK law provisions: search, version history, changes. - Tw Law
tw-law — Taiwan national statutes and the Constitution, in Chinese plus the Ministry of Justice's… - Hk Elegislation
hk-elegislation — Hong Kong Ordinances, subsidiary legislation and instruments, bilingually… - Lebanese Legislation
Search and read Lebanese laws, articles, court rulings and the Official Gazette, verbatim.
Badge for your README
[](https://aptlynx.net/servers/io.github.cyanheads/uk-legislation-mcp-server)
Listing text is written by the maker; AptLynx lists tools and does not vouch for them. Find another tool · Browse by topic · For agents