L'Atlas / MCP servers / UK Legal Research
MCP server

UK Legal Research

io.github.paulieb89/uk-legal-mcp

MCP server OK 36 tools

Get a review See pricing

UK legal research — case law, legislation, Hansard, bills, votes, committees, HMRC, citations

Technical sheet

Author
paulieb89 (registry namespace)
Repository
github.com/paulieb89/uk-legal-mcp
Site
bouch.dev/products/uk-legal-mcp
Version
0.6.1
Transport
Streamable HTTP stdio
Authentication
None (observed by our test)
Server address
https://uk-legal-mcp.fly.dev/mcp Streamable HTTP
Packages
uk-legal-mcp 0.6.1 pypi stdio
Tools
36
Categories
—
Last updated
4 Sept 2026
Published
4 Sept 2026

Verified author and popularity

Entry not claimed yet. Is it your project? Claim it

Not “Popular” for now Removed automatically as soon as the criteria are no longer met.

  • Distinct visitors of this entry over 30 days: 1 (30 needed) not yet
  • or install configs copied over 30 days: 0 (5 needed) not yet
  • and a successful test less than 14 days old: tested 28 Nov 2026 met

Badge updates by itself. Always “tested on …”, never “certified”. How it works

MarkdownREADME.md
[![Status on L’Atlas](https://latlas.dev/badge/statut/mcp/io.github.paulieb89/uk-legal-mcp.svg?lang=en)](https://latlas.dev/en/mcp/io.github.paulieb89/uk-legal-mcp)
HTML
<a href="https://latlas.dev/en/mcp/io.github.paulieb89/uk-legal-mcp"><img src="https://latlas.dev/badge/statut/mcp/io.github.paulieb89/uk-legal-mcp.svg?lang=en" alt="Status on L’Atlas" height="20"></a>

Badge for your README

Listed on L’Atlas

Free, for every entry. It links back to this entry and shows “tested OK” as long as our latest test succeeded.

MarkdownREADME.md
[![Listed on L’Atlas](https://latlas.dev/badge/fiche/io.github.paulieb89/uk-legal-mcp.svg?lang=en)](https://latlas.dev/en/mcp/io.github.paulieb89/uk-legal-mcp)
HTML
<a href="https://latlas.dev/en/mcp/io.github.paulieb89/uk-legal-mcp"><img src="https://latlas.dev/badge/fiche/io.github.paulieb89/uk-legal-mcp.svg?lang=en" alt="Listed on L’Atlas" height="20"></a>

Our tests

Every week: initialize then tools/list, without credentials, never calling a tool. Method

Address
https://uk-legal-mcp.fly.dev/mcp
Last result
OK 28 Nov 2026, 09:00
Response time
1,953 ms (initialize + tools/list)
Protocol version
2025-11-25
Announced name
uk-legal-mcp 0.11.2
Tools
36

History

DateResultResponseTools
28 Nov 2026, 09:00OK1,953 ms36

Exposed tools (36, from tools/list, 28 Nov 2026)

judgment_get_header

Get Judgment Header

USE THIS TOOL WHEN you have a judgment slug and need metadata (parties, judges, neutral citation, court, dates). Call case_law_search FIRST to get the slug. AFTER calling, use judgment_get_index to discover paragraphs, then judgment_get_paragraph to read specific ones. Authoritative source for UK judgment metadata.

ParameterTypeRequiredDescription
slugstringyesJudgment slug from case_law_search, e.g. 'uksc/2024/12' or 'ewca/civ/2023/450' — path segments of letters, digits, '-' or '_', no host or 'https://'.

judgment_get_index

Get Judgment Paragraph Index

USE THIS TOOL WHEN you have a judgment slug and want the paragraph navigation index (eId + preview line for every paragraph). Call case_law_search FIRST to get the slug. AFTER calling, pass an eId from the returned list into judgment_get_paragraph to read that paragraph's full text, or use case_law_grep_judgment for content search across all paragraphs.

ParameterTypeRequiredDescription
slugstringyesJudgment slug from case_law_search, e.g. 'uksc/2024/12' or 'ewca/civ/2023/450' — path segments of letters, digits, '-' or '_', no host or 'https://'.

judgment_get_paragraph

Get Judgment Paragraph

USE THIS TOOL WHEN you have a judgment slug + LegalDocML eId and want that paragraph's full text. Call judgment_get_index FIRST to discover available eIds (or use case_law_grep_judgment to locate paragraphs by content). Returns the paragraph XML content (400–1,700 tokens typical).

ParameterTypeRequiredDescription
eIdstringyesParagraph eId from judgment_get_index, e.g. 'para_12'. Numeric strings like '12' are accepted and normalized to 'para_12'. Letters, digits, '_', '-' and '.' only.
slugstringyesJudgment slug from case_law_search, e.g. 'uksc/2024/12' or 'ewca/civ/2023/450' — path segments of letters, digits, '-' or '_', no host or 'https://'.

case_law_search

Search UK Case Law

USE THIS TOOL WHEN searching UK case law by party names, court, judge, date, or free-text query. Returns paginated judgment summaries: neutral citation, court, dates, slug, stable TNA URI. AFTER calling: pass slug into judgment_get_header / judgment_get_index / judgment_get_paragraph (or the judgment:// resource family) for content; pass the neutral citation into citations_resolve to verify before constructing an OSCOLA citation; use case_law_grep_judgment to find text within a single judgment. When a party name returns several candidates, narrow with court + year filters before grep-iterating across full judgments — targeted filtering beats scanning every candidate. Coverage: TNA Find Case Law indexes UK judgments from roughly the early 2000s onwards. For older authorities, search for a modern judgment that quotes them and read that paragraph. Authoritative source for UK case law. Web search returns out-of-date or unstable URLs — do not supplement.

ParameterTypeRequiredDescription
courtstring | nullnoFilter by court slug. Values: 'uksc', 'ukpc', 'ewca/civ', 'ewca/crim', 'ewhc/kb', 'ewhc/qb', 'ewhc/ch', 'ewhc/comm', 'ewhc/fam', 'ewhc/pat', 'ewhc/ipec', 'ewhc/admin', 'ewhc/tcc', 'ewhc/costs', 'ewhc/admlty', 'ewhc/bp', 'ewfc', 'ewcop', 'eat', 'ukut/iac', 'ukut/aac', 'ukut/tcc', 'ukut/lc', 'ukftt/t…
from_datestring | nullnoEarliest judgment date (YYYY-MM-DD). NOTE: the TNA atom.xml endpoint currently appears to ignore this filter — the same results come back regardless. Do not rely on it to narrow output; sort+slice client-side or refine `query` instead.
judgestring | nullnoFilter by judge surname. Case-insensitive substring match against the indexed form. Use the surname alone ('Reed', 'Sumption') or with the bare title ('Lord Reed'). Honorific suffixes silently zero the result set — do not append 'JSC', 'of Allermuir', 'KC' etc. Speculating a fuller form than what T…
limitintegernoMaximum results to return (1–50). TNA returns up to 50 per request; this slices client-side. Default 10 for a tight shortlist. Set higher for breadth (e.g. 50 to scan the full result set).
pageintegernoResult page number (1-indexed)
partystring | nullnoFilter by party name
querystringyesFull-text search query, e.g. 'negligence duty of care'
to_datestring | nullnoLatest judgment date (YYYY-MM-DD). Same caveat as `from_date` — currently silently ignored by upstream. Filtering happens client-side at best.

case_law_grep_judgment

Search within a UK Court Judgment

USE THIS TOOL WHEN you have a judgment slug and want to find paragraphs whose text matches a pattern. Returns a list of `{eId, snippet, match}` hits — small per-paragraph snippets centred on the match. AFTER calling, read full paragraphs via judgment_get_paragraph(slug, eId) or the judgment://{slug}/para/{eId} resource. Use case: content search within one judgment (e.g. "negligence", "test for foreseeability", "Donoghue"). For paragraph-number navigation by eId, call judgment_get_index instead. Pattern is regex; if it doesn't compile, falls back to literal substring search.

ParameterTypeRequiredDescription
case_insensitivebooleannoDefault true. Set false for case-sensitive matching.
max_hitsintegernoCap on number of hits returned.
patternstringyesRegex pattern (or plain substring) to search within paragraph text. If the pattern doesn't compile as regex, falls back to literal substring match.
slugstringyesTNA judgment slug, e.g. 'uksc/2024/12' or 'ewca/civ/2023/450'.

legislation_search

Search UK Legislation

USE THIS TOOL WHEN searching UK Acts and Statutory Instruments by title, phrase, or full-text. Returns ranked results: title, type, year, number, legislation.gov.uk URL, and next_steps hints (toc URI, section template). AFTER calling, chain to legislation_get_toc then legislation_get_section for structural drill-in. Filter discipline: `type` and `year` are exact-match. Use only when you already know the value. For currency-driven searches, query by phrase and read the returned year; guessing an exact year can zero results. For broader concept queries across content, set `fulltext=True`. If the default title route receives a typed legislation.gov.uk WAF/non-XML failure, the tool automatically tries that documented full-text route once and marks search_mode="fulltext_fallback"; its broader relevance semantics must not be treated as a title-ranked result. Render-pending and ordinary HTTP failures do not trigger this fallback. Source: legislation.gov.uk Atom search feed, with an explicit fallback marker when the alternative official full-text route supplied results.

ParameterTypeRequiredDescription
fulltextbooleannoDefault false → searches Act/SI titles only (best for finding a named Act, e.g. 'Housing Act 1988' returns ukpga/1988/50 first). Set true to search the full text of every Act/SI for the query (returns SIs and regulations that cite the term — e.g. 'rental deposits' would return many implementing ins…
limitintegernoMaximum results to return (1–50). Passed to the upstream results-count param.
querystringyesSearch query, e.g. 'Housing Act 1988' or 'data protection personal data'
typestring | nullnoFilter by type: 'ukpga' (Acts), 'uksi' (SIs), 'asp' (Scottish Acts), 'nia' (NI Acts). Exact-match — omit if you don't already know whether you're looking for an Act vs an SI.
yearinteger | nullnoFilter by year of enactment (exact-match — a single integer, not a range). Omit unless you already know the Act's year. Speculating a year (e.g. 'this is recent so it must be 2026') and getting it wrong will zero out the result set. Better workflow: query without `year`, then read the year from the…

legislation_get_section

Get Legislation Section

USE THIS TOOL WHEN you have a known Act / SI and want the parsed text of a specific section, regulation, or article, with extent and in-force metadata. Returns the provision's own text and heading, never a neighbouring Part/Chapter. Also returns extent, in-force/prospective data, and truncation metadata. Pass the bare number: the tool handles Act sections and SI regulations/articles. A missing provision raises not_found rather than returning a plausible neighbouring node. AFTER calling, check `extent` before relying on the provision and inspect content_truncated for long text. Call legislation_get_toc to discover valid numbers, or read_resource with a legislation:// URI when raw CLML XML is required. Source: legislation.gov.uk CLML, with an explicitly marked public-HTML fallback only when CLML is unavailable.

ParameterTypeRequiredDescription
max_charsintegernoMaximum characters of section content to return. Default 10,000 (~2,500 tokens) covers almost every section. Raise to 50,000+ only for unusually long Finance Act definition sections. Check content_truncated in the response to see if it was cut.
numberintegeryesChapter or SI number
sectionstringyesProvision number, e.g. '47' or '12A' — works for Act sections, SI regulations, and SI articles alike. Use the numeric part only — not 'section-47'/'regulation-47'/'article-47'. Schedules are not currently supported.
typeenum: "ukpga" | "ukla" | "ukppa" | "gbla" | "apgb" | "gbppa" | "aep" | "aosp" …yeslegislation.gov.uk type code, e.g. 'ukpga' (UK Acts), 'uksi' (UK SIs), 'asp' (Scottish Acts), 'ssi' (Scottish SIs), 'nia' (NI Acts), 'wsi' (Welsh SIs), 'eur' (retained EU regulations). Not 'act' or 'si'. Use the value from legislation_search results.
yearintegeryesYear of enactment

legislation_get_toc

Get Legislation Table of Contents

USE THIS TOOL WHEN you have a known Act / SI and want the structural table of contents (parts, chapters, individual sections/regulations/articles). Returns XML ids and titles in document order, including Parts, chapters, crossheadings, and provisions; a rare untitled provision is retained as its bare id. Results are paginated with offset/limit. AFTER calling, pass a provision's bare number (for example `47`, not `section-47`) to legislation_get_section. Check has_more and total_items for large statutes. Use read_resource with the legislation:// toc URI for the full raw listing. Source: legislation.gov.uk CLML table of contents.

ParameterTypeRequiredDescription
limitintegernoMaximum items to return in this call (default 200, max 1000). Raise only when you need a larger slice in one response. Check has_more and total_items to know if further pages exist.
numberintegeryesChapter or SI number
offsetintegernoNumber of items to skip from the flattened TOC. Use with limit to page through very large statutes like the Companies Act 2006 (1300+ items).
typeenum: "ukpga" | "ukla" | "ukppa" | "gbla" | "apgb" | "gbppa" | "aep" | "aosp" …yeslegislation.gov.uk type code, e.g. 'ukpga' (UK Acts), 'uksi' (UK SIs), 'asp' (Scottish Acts), 'ssi' (Scottish SIs), 'nia' (NI Acts), 'wsi' (Welsh SIs), 'eur' (retained EU regulations). Not 'act' or 'si'. Use the value from legislation_search results.
yearintegeryesYear of enactment

parliament_search_hansard

Search Hansard Debates

USE THIS TOOL WHEN searching Hansard by topic, bill title, or text phrase. Returns source-backed contributions with citation-grade metadata: member_id, attributed_to, column_ref, debate_id, debate_ext_id, contribution_ext_id, and public URL. The independent corpus envelope is optional enrichment: if it cannot be retrieved after one bounded retry, contributions still return with enrichment_status="degraded" and an explicit warning; omitted corpus totals and previews must not be inferred. AFTER calling, drill into full content via read_resource(uri="hansard://debate/{debate_ext_id}/header") — or call parliament_get_debate_contributions(debate_ext_id) for the same content as a structured tool response. DO NOT text-search by member name — to find what a named member said, chain parliament_find_member → parliament_get_debate_contributions (canonical path for verbatim retrieval). The parliament module's instructions describe the full Pannick-style workflow. Pagination: limit + offset honour the upstream paginated endpoint. For breadth across a topic, see parliament_policy_position_summary. Source: UK Parliament Hansard API. Contributions remain the authoritative retrieval result; envelope fields are source-backed only when complete.

ParameterTypeRequiredDescription
contribution_typeenum: "Spoken" | "Written" | "Corrections"noWhich Hansard section to paginate. 'Spoken' = chamber + Westminster Hall debates (the default; what a lawyer usually means). 'Written' = written answers and statements. 'Corrections' = published corrections to the record. The corpus envelope (total_debates, total_divisions, etc.) is independent of…
from_datestring | nullnoStart date (YYYY-MM-DD)
houseenum: "Commons" | "Lords" | "both"noRestrict to one House. Default 'both' returns Commons + Lords contributions.
limitintegernoMax contributions per call (1–100). Default 20. Paginate further with offset; total corpus size is in total_corpus on the response.
member_idinteger | nullnoFilter to contributions by a single member. Pass the integer Members API ID (resolve a name via parliament_find_member). The prior `member` field accepted a name string but Hansard's /search.json silently ignored it — the spec requires `memberId`.
offsetintegernoSkip this many contributions before the page. Default 0. Re-call with offset=offset+returned to paginate; has_more flags whether more remain.
querystringyesPhrase to find in Hansard contribution text bodies. Hansard searches the words members actually said in their speeches — NOT debate titles, topic metadata, or written headlines. Pass tokens that would appear in someone's speech: distinctive arguments ('disproportionate sanction'), statutory referen…
text_modeenum: "preview" | "full"no'preview' returns the upstream ~250-char snippet (fast, low context cost). 'full' returns ContributionTextFull (still capped at 3000 chars). For full contribution text without the cap, read the resource hansard://debate/{debate_ext_id}/contribution/{contribution_ext_id}.
to_datestring | nullnoEnd date (YYYY-MM-DD)

parliament_policy_position_summary

Hansard Policy Position Summary (deterministic facets)

USE THIS TOOL WHEN you want debate-level corpus signals on a topic — by_house, by_year, by_section breakdowns — without reading every contribution. Aggregates Hansard debate-level signals on a topic. Pure counts — no LLM, no editorial labels. Sweeps /search/Debates.json with pagination (up to max_debates_scanned), then aggregates by_house, by_section, by_year, by_month, and top_debates from debate metadata. Also captures the corpus-wide envelope counts (total_contributions, total_written_statements, total_divisions, etc.) from /search.json for cross-section scope. AFTER calling, pick a debate from top_debates and pass its debate_ext_id into parliament_get_debate_contributions to drill into who said what. Note on member-level facets: Hansard's search API exposes debate metadata, not per-contribution member identifiers, at the corpus level. by_party and top_contributors are therefore omitted from this deterministic summary. To see who spoke in a specific debate, read hansard://debate/{debate_ext_id}/header for an ordered contribution index, or call parliament_member_debates for one named member. This is the authoritative source for UK Hansard corpus-level signals.

ParameterTypeRequiredDescription
from_datestring | nullnoStart date (YYYY-MM-DD)
houseenum: "Commons" | "Lords" | "both"noRestrict to one House. Default 'both'.
max_debates_scannedintegernoHard cap on debates sampled from /search/Debates.json to compute facets. Default 200 issues ≤4 upstream calls (take=50 each). Raise to 2000 (≤40 calls) for an exhaustive sweep on a heavily-debated topic. Hansard rate limit: 1000 req/5min.
to_datestring | nullnoEnd date (YYYY-MM-DD)
topicstringyesPhrase to find in Hansard contribution text bodies for the facet aggregation. Same semantics as parliament_search_hansard.query: tokens that appear in members' actual speeches, not bill titles or topic metadata. The aggregator sweeps top_debates[] returned by /search/Debates.json — those debates ar…

parliament_find_member

Find Member of Parliament

USE THIS TOOL WHEN you have a member's name and need their integer member_id. Returns all members matching the name query, each with the integer `id`, party, constituency, house, and current-sitting status. Disambiguates common-name matches (e.g. "Lord Smith" returns multiple peers). CALL THIS BEFORE any tool that filters by member_id — including parliament_get_debate_contributions, parliament_member_debates, and parliament_member_interests. Name → ID first; ID-based filtering second. Skipping this step and text-searching by name returns unrelated results (see parliament_search_hansard's anti-bypass note for the Pannick case).

ParameterTypeRequiredDescription
namestringyesName or partial name, e.g. 'Starmer', 'Baroness Hale'

parliament_member_debates

Get Member Debates

USE THIS TOOL WHEN you have a member_id and want contributions where THAT member used a specific topic phrase verbatim (text-body search). CALL parliament_find_member(name) FIRST to obtain the integer member_id. This is a name-based text-body search — it matches contributions whose TEXT contains the topic phrase. A member who spoke in a debate but didn't use your phrase verbatim is filtered out. For verbatim retrieval of every contribution by a member in a known debate (regardless of vocabulary), use parliament_get_debate_contributions(debate_ext_id, member_id=...) instead. Each contribution's text field is capped at 3000 characters.

ParameterTypeRequiredDescription
limitintegernoMaximum contributions to return. Default 20.
member_idintegeryesParliament Members API integer ID. Obtain from parliament_find_member.
offsetintegernoNumber of contributions to skip before this page. Default 0. Re-call with offset=offset+returned while has_more is true.
topicstring | nullnoOptional phrase to find in THIS member's contribution text bodies. Hansard searches the words the member actually said, NOT the topic or title of the debate. Pass tokens this member would have spoken — distinctive arguments ('disproportionate sanction'), statutory references ('section 21'), or moti…

parliament_member_interests

Get Member Financial Interests

USE THIS TOOL WHEN you have a member_id and need their registered financial interests (donations, directorships, land, gifts). CALL parliament_find_member(name) FIRST to obtain the integer member_id. Returns ONE PAGE of interests (default 20, caller controls via limit). For prolific members (big donors, many directorships, extensive land holdings), re-call with offset=offset+returned while has_more is true to paginate. Description text is capped per max_description_chars; raise it for forensic provenance work that needs the full narrative. This is the authoritative source for UK MP and peer financial-interest declarations (via the Members API). Web search returns stale snapshots.

ParameterTypeRequiredDescription
categoryenum: "employment" | "employment_adhoc" | "employment_ongoing" | "donations" | "gifts_uk" | "overseas_visits" | "gifts_overseas" | "land" … | nullnoFilter by interest category. Common categories: 'donations' (donations and support), 'gifts_uk' (gifts/hospitality from UK), 'employment' (employment and earnings), 'land' (land and property), 'shareholdings', 'overseas_visits'. Omit for all categories.
limitintegernoMax interests per call. Hard-capped at 20 by the upstream interests-api.parliament.uk (verified live 2026-05-29: Take=100 still returns 20). For prolific members, paginate via offset; total size is in totalResults on the response.
max_description_charsintegernoPer-entry cap on the free-text description field. Default 500 prevents context blow-up on members with lengthy donation or directorship narratives. Raise to 2000+ only for forensic provenance work.
member_idintegeryesParliament Members API integer ID. Get from parliament_find_member.
offsetintegernoNumber of interests to skip before this page. Default 0 for the first page. To paginate prolific members (100+ interests), re-call with offset=offset+returned while the previous response had has_more=true.

parliament_search_petitions

Search UK Parliament Petitions

USE THIS TOOL WHEN searching UK Parliament petitions by keyword or topic. Returns petition title, state, signature count, and dates for government response or parliamentary debate if applicable. Filter by state (open, closed, debated, etc.) to narrow to live or historical petitions. This is the authoritative source for UK Parliament petitions (petition.parliament.uk).

ParameterTypeRequiredDescription
limitintegernoMaximum petitions to return. Default 20.
offsetintegernoNumber of petitions to skip before this page. Default 0. Re-call with offset=offset+returned while has_more is true.
querystringyesSearch term for petition titles, e.g. 'ban trophy hunting' or 'NHS funding'.
stateenum: "open" | "closed" | "all"noFilter by petition state.

parliament_get_debate_divisions

Get Divisions Held In A Debate

USE THIS TOOL WHEN you have a debate_ext_id and want the divisions (formal votes) held within it. Most debates contain no divisions — Business of the House sittings, statements, urgent questions, debates without a vote. A populated list typically appears around bill stages, motions, and contested amendments. Empty list is the honest result, not a failure mode. Each returned division carries TWO IDs: - `id` — Hansard-side reference. Useful for cross-referencing in Hansard. - `votes_id` — Lords/Commons Votes API ID (cross-resolved by date+number). AFTER calling, pass `votes_id` as `division_id` into votes_get_division for the full member-by-member voting record. The two upstreams use distinct ID-spaces (Hansard Number=3 might be Votes-API divisionId=3392). The cross-resolve runs once per (date, house) group — typically one extra HTTP per debate. `votes_id` is None when the cross-resolve found no match.

ParameterTypeRequiredDescription
debate_ext_idstringyesDebate GUID (DebateSectionExtId). Chain from parliament_search_hansard contribution.debate_ext_id, top_debates[].debate_ext_id, or parliament_policy_position_summary top_debates[].debate_ext_id.

parliament_get_debate_contributions

Get Contributions In A Debate

USE THIS TOOL WHEN you have a debate_ext_id and want verbatim contributions, optionally filtered to one member. Canonical path for "everything a member said in this debate" regardless of vocabulary — text-search tools (parliament_member_debates, parliament_search_hansard) filter by contribution TEXT, dropping members who spoke without using your phrase verbatim. This tool filters by MemberId on the debate's Items list, so vocabulary doesn't matter. Typical chain: parliament_find_member(name) → member_id, then parliament_search_hansard or parliament_lookup_by_column → debate_ext_id, then this tool. The parliament module's instructions describe the full composition pattern. Without member_id, returns every contribution (~100-200 for a long debate). If the wire returns no contributions for a member you expect to have spoken, report the empty result honestly — do NOT reconstruct quotes from training data. Authoritative source for member contributions.

ParameterTypeRequiredDescription
debate_ext_idstringyesDebate GUID (DebateSectionExtId). Chain from parliament_search_hansard top_debates[].debate_ext_id, parliament_lookup_by_column matches[].debate_ext_id, or any tool that surfaces a debate identifier.
member_idinteger | nullnoOptional integer Members API ID. When given, only that member's contributions in this debate are returned — regardless of which words they used. Resolves via parliament_find_member. When omitted, every contribution in the debate is returned (typical debate: 100-200 items).

parliament_lookup_by_column

Resolve A Hansard Column Citation

USE THIS TOOL WHEN you have an OSCOLA-style Hansard citation (column + volume + house) and need the debate. Example input: 'HL Deb 14 Oct 2025, vol 849, col 200'. AFTER calling, read the contribution at the cited column via read_resource(uri="hansard://debate/{debate_ext_id}/header") — or, equivalently, call parliament_get_debate_contributions(debate_ext_id) for the full list as a structured tool response. Each match carries: - `contribution_count` — real contribution count from the debate's Items - `source` / `source_code` — citation finality (1=Rolling, 2=Daily, 3=BoundVolume, 4=Historic). Resolution is NOT gated on publication state. Empty `matches` typically means the volume_number is wrong (opposing counsel sometimes cites running-volume rather than bound-volume) or the column is in a Written Statement (use the 'W'-suffixed column as-is). It does NOT mean the citation is fabricated — surface the failure. Authoritative source for OSCOLA Hansard column resolution.

ParameterTypeRequiredDescription
column_numberstringyesHansard column number from an OSCOLA footnote, e.g. '200' for 'HL Deb 14 Oct 2025, vol 849, col 200'. String (not integer) to accommodate column suffixes like '1162W' for written answers.
houseenum: "Commons" | "Lords" | "both"noRestrict to one House. Default 'both' searches across both Houses.
volume_numberintegeryesHansard volume number (the 'vol 849' part of an OSCOLA citation). Required — the endpoint only resolves citations when given the volume; sitting date is NOT a substitute (verified live 2026-05-29).

bills_search_bills

Search Parliamentary Bills

USE THIS TOOL WHEN searching UK parliamentary bills by keyword, session, house, or legislative stage. Returns a paginated page of bill summaries (title, originating and current house, current stage, whether it became an Act). AFTER calling, pass a bill_id into bills_get_bill for full detail (sponsors, long title, Royal Assent date). Authoritative source for UK parliamentary bill status.

ParameterTypeRequiredDescription
houseenum: "Commons" | "Lords" | "All" | nullnoFilter by originating house: the House the bill was introduced in, wherever it sits now. Omit (or 'All') for all houses.
limitintegernoMaximum bills to return in this call. Default 20 keeps responses focused; raise up to 100 for bulk exports.
offsetintegernoNumber of results to skip before this page. Default 0 for the first page. Re-call with offset=offset+returned while has_more is true to paginate.
querystringyesSearch term for bill titles and descriptions, e.g. 'online safety' or 'financial services'.
sessioninteger | nullnoNumeric parliamentary session ID (e.g. 40 = 2024-25, 39 = 2023-24). NOT a year string like '2025'. If you only know the year, omit this and filter the results instead. Omit to search all sessions.
stageenum: "firstreading" | "secondreading" | "committee" | "report" | "thirdreading" | "royalassent" | nullnoFilter by current legislative stage.

bills_get_bill

Get Bill Detail

USE THIS TOOL WHEN you have a bill_id (from bills_search_bills) and want the full detail. Returns sponsors, current stage, long title, summary, and Royal Assent date if enacted. Summary text is capped per max_summary_chars — check summary_truncated in the response. AFTER calling, use parliament_search_hansard(query=bill_short_title) to find the bill's parliamentary debates, or bills_search_bills with a related keyword for adjacent bills.

ParameterTypeRequiredDescription
bill_idintegeryesBill ID from bills_search_bills results.
max_summary_charsintegernoMaximum characters of the bill summary text to return. Default 5,000 (~1,250 tokens) covers most bills. Raise for substantive government bills (Finance Act, Levelling-up) whose summary runs longer. Check summary_truncated in the response to see if it was cut.

votes_search_divisions

Search Parliamentary Divisions

USE THIS TOOL WHEN searching Commons or Lords formal votes by topic, date, or member. Returns one page of division summaries (title, date, vote counts, pass/fail) plus `total`, the source's count of all matching divisions. While `has_more` is true, re-call with offset=offset+returned. AFTER calling, pass division_id + house into votes_get_division for the full member-by-member voter lists. Authoritative source for UK parliamentary vote records.

ParameterTypeRequiredDescription
from_datestring | nullnoStart date (YYYY-MM-DD).
houseenum: "Commons" | "Lords"noWhich house to search.
limitintegernoMaximum divisions to return. Default 25. The Lords API honours up to 100; the Commons API returns at most 25 per call, so page by `returned`, not `limit`.
member_idinteger | nullnoFilter to divisions where this member voted. Get the member ID from parliament_find_member.
offsetintegernoNumber of divisions to skip before this page. Default 0. Re-call with offset=offset+returned while has_more is true.
querystring | nullnoSearch term for division titles, e.g. 'Rwanda' or 'Online Safety Bill'. Omit to browse recent divisions.
to_datestring | nullnoEnd date (YYYY-MM-DD).

votes_get_division

Get Division Detail

USE THIS TOOL WHEN you have a division_id + house and want the full member-by-member voting record. Voter lists are truncated to 100 per side to fit response limits; total voter counts are always accurate regardless of truncation. Chain from votes_search_divisions or parliament_get_debate_divisions (which cross-resolves Hansard division refs into votes-API division_ids).

ParameterTypeRequiredDescription
division_idintegeryesDivision ID from votes_search_divisions results.
houseenum: "Commons" | "Lords"noWhich house this division belongs to.

committees_search_committees

Search Parliamentary Committees

USE THIS TOOL WHEN searching or listing UK parliamentary select committees by name, house, or active status. Returns committee summaries (name, house, active status, ID). AFTER calling, pass committee_id into committees_get_committee for current membership, or into committees_search_evidence to retrieve oral and written evidence submitted to that committee.

ParameterTypeRequiredDescription
active_onlybooleannoIf true, only return currently active committees.
houseenum: "Commons" | "Lords" | "Joint" | nullnoFilter by house.
limitintegernoMaximum committees to return. Default 100 comfortably covers all currently-active UK select committees. Raise only for historical sweeps.
querystring | nullnoSearch term for committee names, e.g. 'defence' or 'treasury'. Searched by the upstream API before `limit` is applied. Omit to list all committees.

committees_get_committee

Get Committee Detail

USE THIS TOOL WHEN you have a committee_id and want the metadata + current membership. Fetches committee detail and member list in parallel. AFTER calling, pass committee_id into committees_search_evidence to see what evidence has been submitted to this committee on what topics.

ParameterTypeRequiredDescription
committee_idintegeryesCommittee ID from committees_search_committees results.

committees_search_businesses

Search Committee Inquiries and Business

USE THIS TOOL WHEN identifying a committee inquiry or business before evidence retrieval. Returns official business IDs, titles, types, dates, and report/status metadata. AFTER calling, use an exact ID as committee_business_id in committees_search_evidence. Source: UK Parliament Committees API CommitteeBusiness endpoint.

ParameterTypeRequiredDescription
committee_idintegeryesCommittee ID from committees_search_committees results.
limitintegernoMaximum inquiry/business records to return (1–100).
querystring | nullnoOptional official inquiry/business title search term. Returns source-supplied IDs; do not infer an ID from a title.

committees_search_evidence

Search Committee Evidence

USE THIS TOOL WHEN retrieving committee evidence, especially for an identified inquiry. Returns ONE PAGE of evidence (default 20) plus `total`, the source's count of matching items. evidence_type='both' lists all oral evidence first, then all written evidence, each newest-published first as the source orders it. Free-text titles are capped per max_title_chars; witness lists are capped at 10 per item. An organisation witness (no named individual) is rendered as ' ( )'; a null entry means the source gave no name for that witness at all. For committees with many submissions, re-call with offset=offset+returned while has_more is true. For inquiry-specific research, first call committees_search_businesses and pass its exact committee_business_id; this filters at the authoritative source before pagination. Source: UK Parliament Committees API oral and written evidence endpoints.

ParameterTypeRequiredDescription
committee_business_idinteger | nullnoExact official inquiry/business ID from committees_search_businesses. Applies the source filter before pagination; do not infer this from a title.
committee_idintegeryesCommittee ID from committees_search_committees results.
evidence_typeenum: "oral" | "written" | "both"noType of evidence to search.
limitintegernoMaximum evidence items to return. Default 20. For evidence_type='both' a page may hold only oral, only written, or the last oral items followed by the first written items.
max_title_charsintegernoPer-item cap on the free-text title field. Default 300 prevents context blow-up from verbose inquiry titles. Raise to 1000+ only when you need the full title text.
offsetintegernoNumber of evidence items to skip before this page. Default 0. Re-call with offset=offset+returned while has_more is true. For evidence_type='both' this is a position in the combined sequence (all oral evidence, then all written evidence).
published_fromstring | nullnoOptional inclusive source publication-date lower bound (YYYY-MM-DD). Applied upstream before pagination.
published_tostring | nullnoOptional inclusive source publication-date upper bound (YYYY-MM-DD). Applied upstream before pagination.

citations_parse

Parse OSCOLA Citations

USE THIS TOOL WHEN you have free text (a memo, an email, a clause) and want every OSCOLA-style citation it contains extracted and classified. Identifies: neutral citations ([2024] UKSC 12), law reports ([2024] 1 WLR 100), legislation sections (s.47 Companies Act 2006), SIs (SI 2018/1234), retained EU law (Regulation (EU) 2016/679). Parsing is pure regex by default. Ambiguous citations (e.g. bare [2024] EWHC without division) can OPTIONALLY be disambiguated by setting disambiguate=True, which asks the CONNECTED CLIENT's own model (not this server) to resolve the division via MCP sampling — off by default. Canonical TNA / legislation.gov.uk URLs are constructed where possible, but nothing is checked: every result has verified=false. AFTER calling, pass each citation through citations_resolve to verify it points at a real document before quoting or formatting it — the parser recognises the SHAPE of a citation but does not confirm the document exists.

ParameterTypeRequiredDescription
disambiguatebooleannoDefault False — pure-regex parsing, no model in the loop. If True, ambiguous citations (e.g. bare EWHC without a division) are sent to the connected client's own LLM, via MCP sampling, to resolve the division. Opt in only when you want best-effort division resolution and accept that a model shapes…
textstringyesFree text containing OSCOLA citations to extract. Supported: neutral citations ([2024] UKSC 12), law reports ([2024] 1 WLR 100), legislation sections (s.47 Companies Act 2006), SIs (SI 2018/1234), retained EU law (Regulation (EU) 2016/679). Max 50,000 chars.

citations_resolve

Resolve Single OSCOLA Citation

USE THIS TOOL BEFORE constructing an OSCOLA citation string from known fields, OR to confirm a citation points at a real document. Returns parsed fields plus resolved_url. Neutral citations are checked live against TNA, SIs against legislation.gov.uk: verified=true means the document exists; if the source confirms it does not, verified=false and confidence=0.0 — do NOT format or quote that citation. Act sections, law reports and retained EU law cannot be checked and come back verified=false (Acts with a search_url, not a resolved_url): present them as unverified. A transient error means the check could not run (timeout, 429, 5xx) — NOT that the document is absent; retry, or proceed without claiming verification. AFTER calling, if this tool raises or returns no resolved_url, do NOT manufacture a citation — surface the failure and ask the user for the source URL. Authoritative source for UK legal-citation resolution.

ParameterTypeRequiredDescription
citationstringyesA single OSCOLA citation to parse and resolve. E.g. '[2024] UKSC 12', 'SI 2018/1234', 's.47 Companies Act 2006'

citations_network

Get Case Citation Network

USE THIS TOOL WHEN you have a judgment slug and want to map every citation it makes — cases cited, legislation referenced, SIs, retained EU law. Fetches the judgment XML from TNA and parses all OSCOLA citations within. Returns citations grouped by type, deduplicated and sorted. AFTER calling, pass any individual citation through citations_resolve to confirm it resolves and to retrieve its canonical URL. Useful for authority-network analysis (what did this judgment rely on?) and for surfacing the legislative landscape a case sits inside.

ParameterTypeRequiredDescription
case_uristringyesTNA judgment URI slug, e.g. 'uksc/2024/12' or 'ewca/civ/2023/450'. Use the 'uri' field from case_law_search results — not the full URL. Do not include the 'https://caselaw.nationalarchives.gov.uk/' prefix.

citations_format_oscola

Format OSCOLA Citation String

USE THIS TOOL AFTER citations_resolve to produce the correctly formatted OSCOLA citation string. Pass the fields citations_resolve returned. Formats per OSCOLA 4th edition. This tool re-checks existence itself — neutral citations against TNA, SIs against legislation.gov.uk — and does not take the caller's word. Raises not_found if the source confirms the document does not exist, validation for incomplete fields or an ambiguous court (e.g. bare EWHC), transient if the check could not run (NOT evidence of absence). Returns the OSCOLA string with verified=true only when the document was confirmed; Act sections, law reports and retained EU law are formatted with verified=false — present them as unverified. AFTER a refusal, do NOT manufacture a citation; ask the user for the source URL or better identifying details. Never construct the input fields yourself — guessed fields are the main fabrication route. Authoritative OSCOLA formatting for UK legal citations.

ParameterTypeRequiredDescription
citation_typeenum: "neutral" | "law_report" | "legislation" | "si" | "eu_retained"yes'type' field from citations_resolve result.
confidencenumber | nullnoIgnored; accepted for compatibility with older callers. This tool verifies the citation against the source itself and does not trust a caller-reported confidence.
courtstring | nullno'court' from citations_resolve, e.g. 'UKSC', 'EWCA CIV', 'EWHC (KB)'.
legislation_titlestring | nullno'legislation_title' from citations_resolve, e.g. 'Companies Act 2006'.
numberinteger | nullno'number' from citations_resolve (judgment number within the year).
pageinteger | nullno'page' from citations_resolve (starting page in the law report).
rawstring | nullno'raw' from citations_resolve. Used as-is for EU retained law — the original text preserves the Regulation/Directive distinction.
report_seriesstring | nullno'report_series' from citations_resolve, e.g. 'WLR', 'AC', 'QB'.
resolved_urlstring | nullnoIgnored; accepted for compatibility. The URL is rebuilt from the citation fields and returned.
sectionstring | nullno'section' from citations_resolve, e.g. '47', '12', '20A'.
si_numberinteger | nullno'si_number' from citations_resolve.
si_yearinteger | nullno'si_year' from citations_resolve.
volumeinteger | nullno'volume' from citations_resolve (law report volume, if any).
yearinteger | nullno'year' from citations_resolve.

hmrc_get_vat_rate

Get VAT Rate for Commodity

USE THIS TOOL WHEN you know the UK VAT category name for a good or service and want its VAT treatment. Exact named-category lookup, not a free-text VAT classifier or tax advice. The query must equal a category name, ignoring only case, spacing, hyphens and apostrophe style. Extra qualifying words are never discarded: 'pet food' is its own category, and 'baby food' is not 'food'. A match returns `rate` (standard, reduced, zero or exempt), `rate_percentage` (None for exempt), conditions in `notes`, the GOV.UK `source_url`, and that entry's `verified_on` date. An unresolved query returns no rate: `matched_category`, `rate`, `rate_percentage` and `verified_on` are all null, never a default. Its `notes` list the category names. AFTER an unresolved result, retry with a listed name or call hmrc_search_guidance.

ParameterTypeRequiredDescription
commodity_codestringyesCommodity code or plain-English description. E.g. 'food', 'domestic fuel', 'software', 'financial services', 'new build residential'

hmrc_search_guidance

Search HMRC Guidance

USE THIS TOOL WHEN discovering HMRC GOV.UK guidance on a topic. Returns official-search titles, URLs, descriptions, and published dates; descriptions do not establish the contents of a cited page. AFTER calling, use hmrc_get_manual_page when a result is an HMRC internal-manual URL. Source: GOV.UK's HMRC-filtered content search API.

ParameterTypeRequiredDescription
limitintegernoMaximum guidance results to return (1–25). Passed to the GOV.UK search count param.
querystringyesSearch query for HMRC guidance, e.g. 'VAT digital services', 'R&D tax relief SME'

hmrc_get_manual_page

Read HMRC Internal Manual Page

USE THIS TOOL WHEN a cited HMRC internal-manual page must be read. Returns bounded source-order text, canonical URL, manual reference, source metadata, and retrieval provenance. AFTER calling, cite or analyse only returned text; if retrieval fails, do not infer the page's contents. Source: the allowlisted official GOV.UK HMRC internal-manual page.

ParameterTypeRequiredDescription
manual_familystring | nullnoGOV.UK manual-family slug, e.g. 'employment-income-manual'. Required with reference when manual_url is omitted.
manual_urlstring | nullnoCanonical HTTPS GOV.UK HMRC internal-manual page URL. Provide this OR manual_family plus reference.
max_charsintegernoMaximum main-text characters to return (500–20000). Truncation is explicitly reported.
referencestring | nullnoManual page reference, e.g. 'EIM00500'. Required with manual_family when manual_url is omitted.

list_prompts

List Prompts

List all available prompts. Returns JSON with prompt metadata including name, description, and optional arguments.

No parameters.

get_prompt

Get Prompt

Get a prompt by name with optional arguments. Returns the rendered prompt as JSON with a messages array. Arguments should be provided as a dict mapping argument names to values.

ParameterTypeRequiredDescription
argumentsobject | nullnoOptional arguments for the prompt
namestringyesThe name of the prompt to get

list_resources

List Resources

List all available resources and resource templates. Returns JSON with resource metadata. Static resources have a 'uri' field, while templates have a 'uri_template' field with placeholders like {name}.

No parameters.

read_resource

Read Resource

Read a registered server resource URI, not an ordinary web URL. USE WHEN you have a judgment://, legislation://, hansard://, or server:// URI returned by this server. Do not use for https:// URLs; use the source-specific tool instead (for a canonical GOV.UK HMRC internal-manual URL, call hmrc_get_manual_page). Returns the resource content as a string. Binary content is base64-encoded. AFTER calling, use the returned primary-source content and URI in citations; if the URI is rejected, follow the named source-specific tool rather than treating the URL as retrieved evidence. Source: registered UK Legal MCP resource providers.

ParameterTypeRequiredDescription
uristringyesA server resource URI such as judgment://..., legislation://..., hansard://..., or server://about

Client compatibility

Based on the transports each client documents as supported; this is not a live test inside the client.

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

Ready-to-copy configs

Remote address used: https://uk-legal-mcp.fly.dev/mcp. Formats taken from each client’s documentation.

Claude Code
claude mcp add --transport http uk-legal-mcp https://uk-legal-mcp.fly.dev/mcp
Claude (claude.ai, Claude Desktop, Cowork)
Customize > Connectors > + Add > Add custom connector ; Name : uk-legal-mcp ; URL : https://uk-legal-mcp.fly.dev/mcp
ChatGPT (serveurs MCP personnalisés / plugins)
chatgpt.com/plugins > + > Add custom MCP server ; Name : uk-legal-mcp ; Server URL : https://uk-legal-mcp.fly.dev/mcp ; Create as a plugin
Cursor.cursor/mcp.json (projet) ou ~/.cursor/mcp.json (global)
{
  "mcpServers": {
    "uk-legal-mcp": {
      "url": "https://uk-legal-mcp.fly.dev/mcp"
    }
  }
}
VS Code (GitHub Copilot).mcp.json à la racine du workspace, ou ~/.copilot/mcp-config.json ($COPILOT_HOME/mcp-config.json)
{
  "mcpServers": {
    "uk-legal-mcp": {
      "type": "http",
      "url": "https://uk-legal-mcp.fly.dev/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-legal-mcp": {
      "url": "https://uk-legal-mcp.fly.dev/mcp"
    }
  }
}
Gemini CLI~/.gemini/settings.json (utilisateur) ou .gemini/settings.json (projet)
{
  "mcpServers": {
    "uk-legal-mcp": {
      "httpUrl": "https://uk-legal-mcp.fly.dev/mcp"
    }
  }
}
OpenAI Codex (CLI, extension IDE, app)~/.codex/config.toml (ou .codex/config.toml pour un projet de confiance)
[mcp_servers.uk-legal-mcp]
url = "https://uk-legal-mcp.fly.dev/mcp"

Cite this source

Writing an article or comparison? This entry distinguishes registry information from our measurements. Cite the permanent link and the test date; an OK result is not a security audit or an availability guarantee.

UK Legal Research · L’Atlas · Tested on

Markdown
[UK Legal Research — L’Atlas](https://latlas.dev/en/mcp/io.github.paulieb89/uk-legal-mcp)
Test methodology and limitations

Source : Registre officiel MCP · retrieved 3 Dec 2026. L’Atlas adds no data beyond this source and its own tests.