Scan your whole stack
Latest version: v0.2.2
io.github.cyanheads/uk-legislation-mcp-server was last scanned on 25 Nov 2026 at version 0.2.2. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 0.2.2 LATEST | 25 Nov 2026 | 1 rule fired |
| 0.2.1 | 29 Oct 2026 | No rules fired |
| 0.2.0 | 29 Oct 2026 | No rules fired |
| 0.1.3 | 25 Oct 2026 | Not shown |
| 0.1.2 | 9 Oct 2026 | Not shown |
Findings for v0.2.2. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.
An automated phrase check found wording such as "skip validation", "chmod 777" or disabling certificate checks. It does not tell advice apart from examples, warnings or lists of things to avoid. Not reviewed by a person.
LOWThe score describes 0.2.2; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
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, unapplied effects, dates and associated documents |
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 default 20, at most 1,000 (a larger value returns 1,000 with a notice), 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 versionprovision.enclosing: the Part, Chapter, cross-heading, Schedule and (for a sub-provision) the section above it, outermost first, each with its path, label and heading as the version served gives themitem adds made_date, laid ([{ date, legislature }]) and coming_into_force (on a draft, the date it proposes); associated_documents lists the explanatory notes or memorandum, policy note, correction slips, impact assessments and other documents legislation.gov.uk publishes with the item (kind, title, date, language, uri), and links.notes its notes page, all linked and never fetched; links.pdf is the PDF in the language serveduklaw_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 default 20, at most 500, 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 default 40, at most 80, 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, Sch. B1 para. 14, Pt 3, Pt XA, parts optionally separated by commas), start with one followed by "of" or "of the" (section 45 of the Data Protection Act 2018), or start with a Schedule followed by "to" or "to the" (Schedule 2 to the Data Protection Act 2018, paragraph 3 of Schedule 2 to 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") supportedNot yet probed. This server declares a remote endpoint but we have not observed it, so nothing below is known either way.
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.
The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).
The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.