mcpbeat Sign in

Uk Legislation MCP Server

answering

Uk Legislation MCP Server is answering right now. Last checked 1 min ago. 269 installs a week from npm. It exposes 6 tools. Last commit 9 Oct 2026.

Search and read UK legislation at any date, resolve citations, list amendments, track changes.

Installs per day peak 174 · avg 17 · +158% w/w
a month agotoday
Uptime history 7 days of history · worst day 98%
7 days agonow
97.8%
Uptime 24h
90 of 92 checks
6
Tools
read from the server
336 ms
Response time
average over 24h
269
Installs / week
npm and PyPI

Uk Legislation MCP Server missed 2 checks this week

Everything else answered, so this is steady rather than shaky. We check every 15 minutes, which is how a one-off gets told apart from the start of a pattern, and how you hear about the next one within the hour instead of from your users.

Three servers free · no card

Connect this server

Endpoint below is the one we actually reach during checks — not the one copied from a README. Last verified 1 min ago.

run in your terminal
claude mcp add uk-legislation-mcp-server --transport http https://uk-legislation.caseyjhand.com/mcp
~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "uk-legislation-mcp-server": {
      "url": "https://uk-legislation.caseyjhand.com/mcp"
    }
  }
}
~/.codex/config.toml
[mcp_servers.uk-legislation-mcp-server]
url = "https://uk-legislation.caseyjhand.com/mcp"
.cursor/mcp.json
{
  "mcpServers": {
    "uk-legislation-mcp-server": {
      "url": "https://uk-legislation.caseyjhand.com/mcp"
    }
  }
}
.vscode/mcp.json
{
  "mcpServers": {
    "uk-legislation-mcp-server": {
      "url": "https://uk-legislation.caseyjhand.com/mcp"
    }
  }
}

This one needs environment variables set before it will start: MCP_TRANSPORT_TYPE (Selects the HTTP transport.), MCP_HTTP_HOST (The hostname for the HTTP server.), MCP_HTTP_PORT (The port to run the HTTP server on.), MCP_HTTP_ENDPOINT_PATH (The endpoint path for the MCP server.), MCP_AUTH_MODE (Authentication mode to use: 'none', 'jwt', or 'oauth'.), UK_LEGISLATION_CONTACT (Email or URL appended to the User-Agent so legislation.gov.uk can reach the operator. Set it on hosted deployments.), UK_LEGISLATION_MIN_REQUEST_GAP_MS (Minimum gap between legislation.gov.uk request starts, in ms (minimum 250). Replicas sharing one User-Agent divide the fair use limit: use at least 250 ms x replica count.), UK_LEGISLATION_CACHE_MAX_MB (Response cache size bound, in MB (8-1024).), MCP_LOG_LEVEL (Sets the minimum log level for output (e.g., 'debug', 'info', 'warn').). The author declared them in the registry entry; get the values from the project itself.

Available tools 6

Read directly from the server with tools/list, grouped by what they act on. If a tool disappears, we record the date.

uklaw
uklaw_get_amendments
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 outstanding work on the revised text), and by provision. item may be partial (ukpga/2018 = all effects on 2018 Acts). Each effect names both sides with provision links, in-force dates, and why it is not applied. For the applied history of one provision in prose, read its annotations with uklaw_get_document.
uklaw_get_document
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 attribution. Provision-level reads are the main path; an item-level read returns the whole text only for small items and otherwise an outline of provision paths to read next. With match_text (item level), returns the provisions whose text matches. Revised text is an editorial consolidation that can lag: read editorial.caveat and unapplied_effects before relying on it, and use uklaw_get_amendments for every recorded effect on an item, applied or not.
uklaw_list_reference
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 forms and shorthand; accepted citation formats; Publication Log vocabulary and read modes; data coverage; and the attribution lines. Offline — no request to legislation.gov.uk.
uklaw_lookup_citation
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 item path to pass to uklaw_get_document, and when a provision is given, whether it exists in the current version. A miss or an ambiguous title is a result with found false plus guidance or candidates, not an error. To find legislation by topic or by partial title words rather than a known citation, use uklaw_search_legislation.
uklaw_search_legislation
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) to narrow with. Each result gives the item path to pass to uklaw_get_document. For a known citation or short title, uklaw_lookup_citation is cheaper and exact.
uklaw_track_changes
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-time items only, or event. With a full item path it reads that item's own log, usually in one call; otherwise it walks the window day by day, newest first, so a broad window may need several calls. A changes event carries no effect detail — uklaw_get_amendments with that item has it. Continue with next_cursor.

Endpoints

URLTransportStateLatencyChecked
https://uk-legislation.caseyjhand.com/mcp streamable-http answering 375 ms 1 min ago

Alternatives to Uk Legislation MCP Server

same job, measured the same way
UK Legislation Changes
by busybusybussiness

Point-in-time amendment history for 506 UK legislation provisions.

4 tools answering
US Code of Federal Regulations
by mccallar

Look up, search, and track changes to the US Code of Federal Regulations (eCFR).

153 installs/wk local only
NC General Statutes
by ncstatutes

Search North Carolina's General Statutes, read any section by citation, track how it changed.

8 tools answering
Tailor
by tailor

Tailor Platform for AI assistants: search, list and read the platform documentation.

3 tools answering
UAE Company Registry
by thecompanyatlas

UAE trade-licence company search by English/Arabic name, emirate, legal type and registration date.

answering
Datacite MCP Server
by cyanheads

Search DataCite datasets and software, fetch DOI metadata, trace relations, format citations.

260 installs/wk 6 tools answering
Dike
by fr3on

Grounded MENA legal search, reasoning, citation resolution, and citation-graph traversal.

answering
Canlii
by mohammadfarooqi

Search Canadian case law, browse legislation, and check citations via the CanLII API.

34 installs/wk local only

Uk Legislation MCP Server — questions

Answers built from our own checks of this server.

What can Uk Legislation MCP Server do?
It exposes 6 tools, read directly from the server on our last check. Among them: uklaw_get_amendments, uklaw_get_document, uklaw_list_reference, uklaw_lookup_citation, uklaw_search_legislation, uklaw_track_changes. The full list with descriptions is on this page — we take it from the server itself via tools/list, not from a README. How MCP servers expose tools in the first place →
Is Uk Legislation MCP Server working right now?
We send a real MCP handshake every 15 minutes. Over the last 24 hours 90 of 92 checks got a reply (97.8%), average response time 336 ms. The bar chart above shows every period we have measured.
How do I connect Uk Legislation MCP Server?
Copy the ready config from this page — we generate it for Claude Code, Claude Desktop, Codex, Cursor and VS Code, each with the file path that client actually reads. It is a remote server, so there is nothing to install — the client connects to the address.
Does Uk Legislation MCP Server need an API key?
No. Uk Legislation MCP Server completed a full MCP handshake with us as an anonymous client and listed its tools without asking for anything. All 6 of them are readable on this page. This is what we observed, not what the docs claim.
How fast is Uk Legislation MCP Server?
It answers our handshake in 336 ms on average, which is faster than 40% of all working MCP servers we measure. The comparison comes from our own checks across the whole registry, every 15 minutes.
How many people use Uk Legislation MCP Server?
The npm package @cyanheads/uk-legislation-mcp-server was installed 269 times in the last week. Week over week that is +158%. We show installs rather than GitHub stars on purpose: a star is a bookmark, an install is someone actually running it.
Is Uk Legislation MCP Server open source?
Yes — it is published under the Apache-2.0 licence, written in TypeScript, 2 stars on GitHub and 2 open issues. The source link is on this page, so you can read exactly what it does with your data before you connect it.