L'Atlas / Serveurs MCP / uk-legislation-mcp-server
Serveur MCP

uk-legislation-mcp-server

io.github.cyanheads/uk-legislation-mcp-server

Serveur MCP OK 6 outils

Faire examiner Voir les tarifs

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

Fiche technique

Auteur
cyanheads (espace de noms du registre)
Dépôt
github.com/cyanheads/uk-legislation-mcp-server
Site
—
Version
0.2.3
Transport
Streamable HTTP stdio
Authentification
Aucune (constatée par notre test)
Adresse du serveur
https://uk-legislation.caseyjhand.com/mcp Streamable HTTP
Paquets
@cyanheads/uk-legislation-mcp-server 0.2.3 npm stdio
@cyanheads/uk-legislation-mcp-server 0.2.3 npm Streamable HTTP
Outils
6
Catégories
—
Dernière mise à jour
29 nov. 2026
Publication
29 nov. 2026

Auteur vérifié et popularité

Fiche pas encore revendiquée. C’est votre projet ? Revendiquez-la

Pas « Populaire » pour l’instant Retiré tout seul dès que les critères ne sont plus remplis.

  • Visiteurs distincts de la fiche sur 30 jours : 0 (il en faut 30) pas encore
  • ou configurations d’installation copiées sur 30 jours : 0 (il en faut 5) pas encore
  • et un test réussi de moins de 14 jours : testé le 28 nov. 2026 rempli

Badge à jour tout seul. Toujours « testé le … », jamais « certifié ». Comment ça marche

MarkdownREADME.md
[![Statut sur L’Atlas](https://latlas.dev/badge/statut/mcp/io.github.cyanheads/uk-legislation-mcp-server.svg)](https://latlas.dev/mcp/io.github.cyanheads/uk-legislation-mcp-server)
HTML
<a href="https://latlas.dev/mcp/io.github.cyanheads/uk-legislation-mcp-server"><img src="https://latlas.dev/badge/statut/mcp/io.github.cyanheads/uk-legislation-mcp-server.svg" alt="Statut sur L’Atlas" height="20"></a>

Badge pour votre README

Référencé sur L’Atlas

Gratuit, pour toute fiche. Il renvoie vers cette fiche et affiche « testé OK » tant que notre dernier test est réussi.

MarkdownREADME.md
[![Référencé sur L’Atlas](https://latlas.dev/badge/fiche/io.github.cyanheads/uk-legislation-mcp-server.svg)](https://latlas.dev/mcp/io.github.cyanheads/uk-legislation-mcp-server)
HTML
<a href="https://latlas.dev/mcp/io.github.cyanheads/uk-legislation-mcp-server"><img src="https://latlas.dev/badge/fiche/io.github.cyanheads/uk-legislation-mcp-server.svg" alt="Référencé sur L’Atlas" height="20"></a>

Nos tests

Chaque semaine : initialize puis tools/list, sans identifiant, sans jamais appeler d’outil. Méthode

Adresse
https://uk-legislation.caseyjhand.com/mcp
Dernier résultat
OK 28 nov. 2026, 09:11
Temps de réponse
1 318 ms (initialize + tools/list)
Version du protocole
2025-11-25
Nom annoncé
uk-legislation-mcp-server 0.2.2
Outils
6

Historique

DateRésultatRéponseOutils
28 nov. 2026, 09:11OK1 318 ms6

Outils exposés (6, réponse à tools/list, 28 nov. 2026)

uklaw_search_legislation

Search UK 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.

ParamètreTypeRequisDescription
textstringnonFull-text query. Supports AND/OR, "quoted phrases", and stemming. Omit for a title search or a listing.
titlestringnonWords that must all occur in the title. For a known short title or citation, uklaw_lookup_citation is exact.
typesarray<enum: "all" | "primary" | "secondary" | "eu-origin" | "draft" | "ukpga" | "ukla" | "ukppa" …>nonType codes (ukpga, uksi, asp, eur, …) and/or groups (all, primary, secondary, eu-origin, draft). "all" covers UK and EU-origin legislation, excluding drafts, and absorbs any other value. uklaw_list_reference topic types lists the codes.
yearintegernonCalendar year (also for pre-1963 Acts numbered by regnal year). Not combinable with year_from/year_to.
year_fromintegernonEarliest calendar year of a range; the other bound may be omitted.
year_tointegernonLatest calendar year of a range; the other bound may be omitted.
extentarray<enum: "england" | "wales" | "scotland" | "ni">nonGeographical extent: england, wales, scotland, ni. An item matches when one of its provisions extends there. Cannot combine with as_of. legislation.gov.uk has not recorded provision-level extent for many recent items, so an empty result does not prove nothing extends there.
extent_matchenum: "applicable" | "exact"nonUsed only with extent. applicable: a provision extends to any given extent; exact: a provision extends to exactly that set.
as_ofstringnonPoint in time YYYY-MM-DD: only legislation as it stood on that date (items not yet enacted or made are excluded). Omit for current law. Cannot combine with extent.
limitintegernonResults per page; default 20, at most 1,000.
pageintegernonPage number (1–10,000).

uklaw_get_document

Read UK legislation text

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, the item’s made, laid and coming-into-force dates, links to its explanatory notes or memorandum and other associated documents, 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.

ParamètreTypeRequisDescription
itemstringouiItem path {type}/{year}/{number} — ukpga/2018/12, uksi/2019/419, eur/2016/679, ukpga/Eliz2/3-4/19 — or any legislation.gov.uk URI (a URI carrying a provision, version, or /welsh is split into those parts; a version or /welsh in the URI applies unless the version or language input is set). Get it fr…
provisionstringnonProvision path — section/45/2/f, regulation/5, article/28/3, schedule/2/paragraph/3, part/3/chapter/2, introduction — or citation shorthand (s. 45(2)(f), reg. 5, art. 28(3), Sch. 2 para. 3), normalized before the request. Omit to read the item; an item-level outline lists the paths.
versionstringnoncurrent (the latest revised text, or the original text for an item never revised), enacted (made, adopted and created are synonyms — the original text), or a date YYYY-MM-DD for the text as it stood then. Omitted: the version in an item URI, else current. A future date returns the latest version; a…
languageenum: "en" | "cy"nonen, or cy for the Welsh text of Welsh legislation (asc, anaw, mwa, wsi). Omitted: cy when an item URI ends in /welsh, else en. English is returned, with a notice, when no Welsh text exists.
match_textstringnonItem level only (omit provision): return the outline of provisions whose text contains this term, e.g. "processor" — 100 entries per call; outline_offset reaches the rest.
outline_offsetintegernonWhere a returned outline starts: 0 lists entries 1–100, 100 the next 100. Applies only when kind is outline (ignored when text is returned); a notice names the next offset while entries remain.

uklaw_get_amendments

List amendments to or by legislation

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.

ParamètreTypeRequisDescription
itemstringouiItem path or legislation.gov.uk URI (ukpga/2018/12), or a partial path: a type (uksi) or type and year (ukpga/2018). Get a full path from uklaw_lookup_citation or uklaw_search_legislation. A pre-1963 Act takes its calendar year (ukpga/1925/20, not ukpga/Geo5/15-16/20); its effects name the regnal p…
directionenum: "affected" | "affecting"nonaffected: changes made to item. affecting: changes item makes to other legislation.
counterpartstringnonRestrict to effects involving this other item (full or partial item path, without a provision, e.g. uksi/2019/419 or uksi/2026) — the amending item for direction affected, the amended item for affecting. A pre-1963 Act takes its calendar year, not its regnal path; drafts are not in the changes feed…
statusenum: "all" | "unapplied" | "applied"nonunapplied: effects not yet applied to the revised text; applied: already applied; all: both.
provisionstringnonKeep only effects touching this provision of item (path or shorthand, e.g. section/45 or s. 45), including effects on the whole item. Needs a full item path. legislation.gov.uk cannot filter by provision, so each call scans up to 1,500 effects; continue with next_cursor.
limitintegernonEffects per page, or with provision the most matches returned; default 20, at most 500.
cursorstringnonnext_cursor from the previous call, passed with the other inputs unchanged; omit for the first page.

uklaw_track_changes

Track legislation.gov.uk publications

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.

ParamètreTypeRequisDescription
start_datestringouiFirst event date of the window, YYYY-MM-DD (UK local time).
end_datestringnonLast event date, YYYY-MM-DD; defaults to start_date. The window is at most 31 days.
content_typeenum: "legislation" | "changes" | "draft" | "associated-documents"nonlegislation (documents published), changes (effects recorded), draft, or associated-documents. Omit for all.
directionenum: "affected" | "affecting"nonWith content_type changes only: effects recorded against (affected) or made by (affecting) the item.
categoryenum: "primary" | "secondary" | "eu-origin"nonItem category: primary, secondary, or eu-origin. With content_type legislation or associated-documents only.
itemstringnonA full item path (ukpga/2018/12) or legislation.gov.uk URI reads that item's own log; a type (uksi) or type and year (uksi/2026) narrows the day walk. Get a full path from uklaw_lookup_citation or uklaw_search_legislation.
new_onlybooleannontrue: only events for items appearing on legislation.gov.uk for the first time.
eventenum: "published" | "withdrawn"nonOnly published or only withdrawn events. Omit for both.
limitintegernonMost events returned by this call; default 40, at most 80.
cursorstringnonnext_cursor from the previous call, passed with the other inputs unchanged; omit to start from end_date.

uklaw_lookup_citation

Resolve a legislation 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.

ParamètreTypeRequisDescription
citationstringouiA citation ("2018 c. 12", "S.I. 2019/419 reg. 5", "Regulation (EU) 2016/679 art. 28"), a short title ("Data Protection Act 2018 s. 45(2)(f)"), or a legislation.gov.uk URI. uklaw_list_reference topic citation_formats lists the accepted forms.

uklaw_list_reference

List legislation reference vocabulary

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.

ParamètreTypeRequisDescription
topicenum: "types" | "type_groups" | "extents" | "versions" | "document_status" | "annotation_types" | "effects" | "provision_paths" …ouiWhich table to return: types, type_groups, extents, versions, document_status, annotation_types, effects, provision_paths, citation_formats, publication_log, coverage, or attribution.

Compatibilité clients

Selon les transports que chaque client déclare accepter dans sa documentation officielle ; ce n’est pas un essai réel dans le client.

ClientTransports documentésCe serveurSource
Claude Codestdio Streamable HTTP SSEtransport acceptédoc
Claude (claude.ai, Claude Desktop, Cowork)stdio Streamable HTTP SSEtransport acceptédoc
ChatGPT (serveurs MCP personnalisés / plugins)Streamable HTTP SSEtransport acceptédoc
Cursorstdio Streamable HTTP SSEtransport acceptédoc
VS Code (GitHub Copilot)stdio Streamable HTTP SSEtransport acceptédoc
Windsurf (documentation redirigée vers Devin Local / Devin CLI)stdio Streamable HTTP SSEtransport acceptédoc
Gemini CLIstdio Streamable HTTP SSEtransport acceptédoc
OpenAI Codex (CLI, extension IDE, app)stdio Streamable HTTPtransport acceptédoc

Configs prêtes à copier

Adresse distante utilisée : https://uk-legislation.caseyjhand.com/mcp. Formats repris de la documentation de chaque client.

Claude Code
claude mcp add --transport http uk-legislation-mcp-server https://uk-legislation.caseyjhand.com/mcp
Claude (claude.ai, Claude Desktop, Cowork)
Customize > Connectors > + Add > Add custom connector ; Name : uk-legislation-mcp-server ; URL : https://uk-legislation.caseyjhand.com/mcp
ChatGPT (serveurs MCP personnalisés / plugins)
chatgpt.com/plugins > + > Add custom MCP server ; Name : uk-legislation-mcp-server ; Server URL : https://uk-legislation.caseyjhand.com/mcp ; Create as a plugin
Cursor.cursor/mcp.json (projet) ou ~/.cursor/mcp.json (global)
{
  "mcpServers": {
    "uk-legislation-mcp-server": {
      "url": "https://uk-legislation.caseyjhand.com/mcp"
    }
  }
}
VS Code (GitHub Copilot).mcp.json à la racine du workspace, ou ~/.copilot/mcp-config.json ($COPILOT_HOME/mcp-config.json)
{
  "mcpServers": {
    "uk-legislation-mcp-server": {
      "type": "http",
      "url": "https://uk-legislation.caseyjhand.com/mcp",
      "tools": ["*"]
    }
  }
}
Windsurf (documentation redirigée vers Devin Local / Devin CLI).devin/mcp_config.json (projet), .devin/mcp_config.local.json (local), ~/.config/devin/mcp_config.json (utilisateur)
{
  "mcpServers": {
    "uk-legislation-mcp-server": {
      "url": "https://uk-legislation.caseyjhand.com/mcp"
    }
  }
}
Gemini CLI~/.gemini/settings.json (utilisateur) ou .gemini/settings.json (projet)
{
  "mcpServers": {
    "uk-legislation-mcp-server": {
      "httpUrl": "https://uk-legislation.caseyjhand.com/mcp"
    }
  }
}
OpenAI Codex (CLI, extension IDE, app)~/.codex/config.toml (ou .codex/config.toml pour un projet de confiance)
[mcp_servers.uk-legislation-mcp-server]
url = "https://uk-legislation.caseyjhand.com/mcp"

Citer cette source

Vous rédigez un article ou un comparatif ? Cette fiche distingue les informations du registre et nos mesures. Citez le lien permanent et la date du test ; un résultat OK ne constitue pas un audit de sécurité ni une garantie de disponibilité.

uk-legislation-mcp-server · L’Atlas · Test du

Markdown
[uk-legislation-mcp-server — L’Atlas](https://latlas.dev/mcp/io.github.cyanheads/uk-legislation-mcp-server)
Méthode et limites des tests

Source : Registre officiel MCP · relevé le 2 déc. 2026. L’Atlas n’ajoute aucune donnée qui ne vienne de cette source ou de ses propres tests.