MCP server exposing 7 tools for uk-parliament.
This URL is a JSON-RPC 2.0 endpoint over HTTP. Issue POST requests with a JSON-RPC body. Browsers and search crawlers land here on GET.
POST https://gateway.pipeworx.io/uk-parliament/mcp
Content-Type: application/json
{"jsonrpc":"2.0","id":1,"method":"tools/list"}
search_members — Search MPs and Lords by name / party / location / house.get_member — Member detail by member id.search_bills — Search legislation before the UK Parliament through the official Bills API (bills-api.parliament.uk), matching bill titles and short titles and filtering by parliamentary session id, current stage id, sponsoring member id, and current house (1 = Commons, 2 = Lords). Returns bill id, title, short title, current stage, house, and last-updated date, sortable by title or update date. Answers which Westminster bills concern a subject and how far each has progressed.get_bill — Fetch full detail for a UK Parliament bill by numeric bill_id — returns title, short title, sponsors, current stage, originating house, sessions, and summary description.bill_stages — All stages of a bill (introduction, readings, committee, royal assent).search_hansard — Search debate contributions in Hansard.recent_divisions — Recent divisions (recorded votes) in the UK Parliament, read from the official Hansard API at hansard-api.parliament.uk, filterable by house (Commons or Lords) and a start date, up to 25 per call. Returns each division title, date, house, and division id. Answers what the House of Commons or House of Lords has voted on lately at Westminster.Code samples (curl / TypeScript / one-click client install), schemas, and the live playground are on the pack page:
https://pipeworx.io/packs/uk-parliament/
Pipeworx is an open MCP gateway connecting AI agents to live data. pipeworx.io