uk-legislation-mcp-server
Server Details
Search and read UK legislation at any date, resolve citations, list amendments, track changes.
- Status
- Healthy
- Uptime
- 100.0% over the last 24 hours
- Last Tested
- Transport
- Streamable HTTP · MCP 2025-11-25
- URL
- Repository
- cyanheads/uk-legislation-mcp-server
- GitHub Stars
- 2
- Server Listing
- uk-legislation-mcp-server
- ChatGPT
- –
- Claude
- –
TDQS
Scored across 6 tools
Each tool has a distinct role: search vs citation lookup vs document read vs amendment list vs publication log vs offline vocabulary reference. The only mild overlap is between uklaw_get_document (which also surfaces annotations and unapplied effects) and uklaw_get_amendments, but the descriptions explicitly delineate when to use each, so misselection risk is low.
All six tools use a uniform uklaw_ prefix followed by a consistent verb_noun snake_case pattern (get_amendments, get_document, list_reference, lookup_citation, search_legislation, track_changes). Verb choices are distinct and predictable.
Six tools is well-scoped for a read-only legislation server: each covers a distinct stage of the workflow (search, resolve, read, amendments, change monitoring, vocabulary decoding) with no redundant entries. The set is neither thin nor bloated.
The surface covers the full read-only lifecycle: discovery (search/lookup), retrieval (document at item and provision level, current/enacted/as-of), change tracking (amendments and publication log), and vocabulary decoding. Minor gaps exist — no bulk/structured export or multi-item batch retrieval — but the core research workflow has no dead ends.
Available Tools
6 toolsuklaw_get_amendmentsList amendments to or by legislationARead-onlyIdempotentInspect
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.
Inputs: item (required), limit, cursor, status, +3 more. Returns: cap, scan, error, query, +8 more
uklaw_get_documentRead UK legislation textARead-onlyIdempotentInspect
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.
Inputs: item (required), version, language, provision, +2 more. Returns: item, kind, text, error, +11 more
uklaw_list_referenceList legislation reference vocabularyARead-onlyIdempotentInspect
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.
Inputs: topic (required). Returns: error, topic, entries
uklaw_lookup_citationResolve a legislation citationARead-onlyIdempotentInspect
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.
Inputs: citation (required). Returns: item, type, year, error, +15 more
uklaw_search_legislationSearch UK legislationARead-onlyIdempotentInspect
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.
Inputs: page, text, year, as_of, +7 more. Returns: cap, page, error, limit, +9 more
uklaw_track_changesTrack legislation.gov.uk publicationsARead-onlyIdempotentInspect
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.
Inputs: start_date (required), item, event, limit, +6 more. Returns: cap, days, mode, error, +11 more
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
Related MCP Connectors
Search and read all UK legislation (130k Acts and regulations), updated daily, with official links.
Search UK Acts, Statutory Instruments, and legislation with full text retrieval
Point-in-time amendment history for 528 UK law provisions: search, version history, changes.
UK legislation full text, MPs, petitions, GOV.UK search, food alerts, police neighbourhoods
Related MCP Servers
- AlicenseAqualityBmaintenanceEnables searching and retrieval of UK legislation (Acts, Statutory Instruments) from legislation.gov.uk with persistent identifiers and verifiable citations.990 PyPIApache 2.0
- AlicenseNot gradedqualityCmaintenanceEnables querying point-in-time amendment history for UK law, including searching provisions, viewing provision histories, listing recent amendments, and identifying most-amended provisions.1MIT
- AlicenseNot gradedqualityCmaintenanceEnables AI assistants to search and read all UK legislation — roughly 130,000 Acts and regulations updated daily — by title, id, in-force status, extent or topic, and to retrieve full texts section by section. Read-only and free, with no sign-in required.MIT
- AlicenseAqualityBmaintenanceEnables read-only searching and retrieval of UK legislation and multi-tier case law, listing the court hierarchy, and verifying statutory and case-law citations against official registries.6MIT
Glama MCP Gateway
Add one secure layer between your agents and this server.