Skip to main content
Glama

Server Details

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

If you are the author of this connector, you can claim ownership. Claimed connector authors can inspect health checks, view analytics, and manage their listing.
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

A4.5/5.0

Scored across 6 tools

Disambiguation4/5

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.

Naming Consistency5/5

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.

Tool Count5/5

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.

Completeness4/5

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 tools
uklaw_get_amendmentsList amendments to or by legislationA
Read-onlyIdempotent
Inspect

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 textA
Read-onlyIdempotent
Inspect

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 vocabularyA
Read-onlyIdempotent
Inspect

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 citationA
Read-onlyIdempotent
Inspect

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 legislationA
Read-onlyIdempotent
Inspect

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 publicationsA
Read-onlyIdempotent
Inspect

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

    Related MCP Servers

    Try in Browser

    Glama MCP Gateway

    Add one secure layer between your agents and this server.