@pipeworx/law-commission
Connect: https://gateway.pipeworx.io/law-commission/mcp · Install: one-click buttons
No MCP client? Skip the connection: POST https://gateway.pipeworx.io/v1/tools/search_packs {"query":"..."} to find a tool below, GET /v1/tools/<name> for its schema, POST the same URL with arguments for the data — see For AI agents.
Tools: 3
Consultation papers, reports, summaries and law-reform projects published by the Law Commission of England & Wales (lawcom.gov.uk) — the independent statutory body that reviews the law and recommends reform to Parliament.
Tools
search_law_commission_publications(query?, limit?)— search publication titles and body text; returns title, link, date and excerpt.get_law_commission_publication(id?, link?)— fetch one publication’s full text, the law-reform project it belongs to, and any attached PDF reports.list_law_commission_projects(status?, limit?)— list law-reform workstreams, optionally filtered tocurrent,completed,upcomingorother.
Auth
Keyless. No signup, no key.
Data sources
- https://lawcom.gov.uk/wp-json/wp/v2/publication — publications (275 live, probed 2026-09-18), custom WordPress post type.
- https://lawcom.gov.uk/wp-json/wp/v2/project — law-reform projects (118 live).
- <https://lawcom.gov.uk/wp-json/wp/v2/media?parent=
> — attached PDFs. - https://lawcom.gov.uk/wp-json/wp/v2/project_status — the four status terms
(
current,completed,upcoming-projects-current,other) used to resolve thestatusfilter onlist_law_commission_projects.
Welsh-language duplicates
Every publication and project the Commission issues in Welsh is a separate
WordPress post — same report, same date, its own numeric id — carrying a
language taxonomy term (Cymraeg, the only term the language taxonomy
has; English posts carry no term at all, since English is the unmarked
default). A plain title search for “leasehold” returns both “Commercial
leasehold: overcoming barriers to transactions” (English) and “Lesddaliad
masnachol: goresgyn rhwystrau rhag trafodion” (the same report, in Welsh) as
two hits.
search_law_commission_publications and list_law_commission_projects both
filter out any row carrying a language term before applying limit, so a
caller gets one English row per report rather than two. The filter fetches
limit * 3 rows upstream (capped at 100) to leave headroom for the ones it
drops — in practice Welsh duplicates run well under half of any result set.
The Welsh original is still directly reachable via get_law_commission_publication
by id or link; the filter only applies to search/listing, and the returned
language field on that tool tells you which you got (en / cy).
X-WP-Total from the upstream API counts both languages, so it is surfaced
as total_matching_all_languages rather than total — using it as the count
of English rows would overstate coverage by roughly the Welsh-duplicate share.
Caveats worth passing to a user
- This is not case law or legislation. The Commission’s own reports
recommend reform; they are not binding law.
legislation-ukcovers legislation.gov.uk,uk-caselawcovers judgments — this pack is the third leg (Law Commission reports) named in Bruce’s “Parliamentary materials, explanatory notes and Law Commission reports” ask (docs/uk-primary-law-scope.md). - Full report text is PDF, not HTML. The
publicationpost body typically carries only a link to its project — no summary text and noexcerptfield content — sosearch_law_commission_publications’excerptis usually empty andget_law_commission_publication’stextis one line. The actual report is the PDF inattachments. This pack does not extract PDF text. - Search is title/body text, not the PDFs. Given the above, that means search is effectively title-only for most publications; a phrase that only appears inside the attached PDF will not match.
Tools
- search_law_commission_publications — Search consultation papers, reports, summaries and terms-of-reference published by the Law Commission of England & Wales (lawcom.gov.uk) — the independent statutory body that reviews the law and recom
- get_law_commission_publication — Fetch one Law Commission of England & Wales publication (a consultation paper, report, summary or terms-of-reference) by its id (from search_law_commission_publications) or its lawcom.gov.uk link. Ret
- list_law_commission_projects — List law-reform projects run by the Law Commission of England & Wales (lawcom.gov.uk/project) — the workstreams under which its consultation papers and reports are published, e.g. “Commercial leasehol
Tools
get_law_commission_publication— Fetch one Law Commission of England & Wales publication (a consultation paper, report, summary or terms-of-reference) by its id (from search_law_commission_publications) or its lawcom.gov.uk link. Retlist_law_commission_projects— List law-reform projects run by the Law Commission of England & Wales (lawcom.gov.uk/project) — the workstreams under which its consultation papers and reports are published, e.g. Commercial leaseholdsearch_law_commission_publications— Search consultation papers, reports, summaries and terms-of-reference published by the Law Commission of England & Wales (lawcom.gov.uk) — the independent statutory body that reviews the law and recom