L'Atlas / MCP servers / uk-parliament-mcp-server
MCP server

uk-parliament-mcp-server

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

MCP server OK 10 tools

Get a review See pricing

Search UK Parliament bills, members, votes, Hansard, written questions, statements, and committees.

Technical sheet

Author
cyanheads (registry namespace)
Repository
github.com/cyanheads/uk-parliament-mcp-server
Site
—
Version
0.3.0
Transport
Streamable HTTP stdio
Authentication
None (observed by our test)
Server address
https://uk-parliament.caseyjhand.com/mcp Streamable HTTP
Packages
@cyanheads/uk-parliament-mcp-server 0.3.0 npm stdio
@cyanheads/uk-parliament-mcp-server 0.3.0 npm Streamable HTTP
Tools
10
Categories
—
Last updated
28 Nov 2026
Published
28 Nov 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: 0 (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.cyanheads/uk-parliament-mcp-server.svg?lang=en)](https://latlas.dev/en/mcp/io.github.cyanheads/uk-parliament-mcp-server)
HTML
<a href="https://latlas.dev/en/mcp/io.github.cyanheads/uk-parliament-mcp-server"><img src="https://latlas.dev/badge/statut/mcp/io.github.cyanheads/uk-parliament-mcp-server.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.cyanheads/uk-parliament-mcp-server.svg?lang=en)](https://latlas.dev/en/mcp/io.github.cyanheads/uk-parliament-mcp-server)
HTML
<a href="https://latlas.dev/en/mcp/io.github.cyanheads/uk-parliament-mcp-server"><img src="https://latlas.dev/badge/fiche/io.github.cyanheads/uk-parliament-mcp-server.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-parliament.caseyjhand.com/mcp
Last result
OK 28 Nov 2026, 09:23
Response time
1,600 ms (initialize + tools/list)
Protocol version
2025-11-25
Announced name
uk-parliament-mcp-server 0.2.0
Tools
10

History

DateResultResponseTools
28 Nov 2026, 09:23OK1,600 ms10

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

ukparl_lookup_reference

Ukparl Lookup Reference

Resolve Parliament filter IDs and inspect source coverage before searching. Use identifiers for ID namespaces and required selectors, coverage for Hansard date limitations, or a named reference topic for filter IDs. Follow opaque collection cursors with the same filters; use contentCursor to reconstruct an oversized selected payload.

ParameterTypeRequiredDescription
topicenum: "identifiers" | "coverage" | "bill_stages" | "bill_types" | "parties" | "departments" | "answering_bodies"yesReference topic or static identifier/coverage guide.
houseenum: "commons" | "lords"noCommons or Lords; required for active parties.
nameContainsstringnoCase-insensitive AND tokens over the complete named reference set.
cursorstringnoOpaque collection cursor; repeat the same normalized filters.
limitintegernoRequested whole reference rows; positive safe integer, default 10, effective cap 20.
contentCursorstringnoOpaque same-selection recursive content continuation.

ukparl_search_bills

Ukparl Search Bills

Search Westminster bill summaries by title, current or originating House, session, sponsoring member, department, reference stage, bill type or status, with optional official ordering. Use ukparl_lookup_reference for stage/type/department IDs and ukparl_get_bill for complete selected records. Department IDs are distinct from answering-body IDs. inAmendableStage=true restricts to amendable stages; false equals omission. No session or date scope is inferred. Follow collection cursors with the same filters; use contentCursor to reconstruct an oversized item.

ParameterTypeRequiredDescription
departmentIdstringnoMembers department ID from ukparl_lookup_reference topic=departments; distinct from answering-body IDs.
sortOrderenum: "TitleAscending" | "TitleDescending" | "DateUpdatedAscending" | "DateUpdatedDescending"noOfficial ordering; omission preserves the source default.
originatingHouseenum: "commons" | "lords"noOriginating Commons or Lords House; omission includes all.
isDefeatedbooleannoFilter by defeated state, including false.
isWithdrawnbooleannoFilter by withdrawn state, including false.
inAmendableStagebooleannoTrue restricts to amendable stages; false equals omission and is not echoed in applied.
querystringnoBill title search text.
houseenum: "commons" | "lords"noCurrent Commons or Lords House.
sessionIdstringnoSession identifier discovered in bill records.
memberIdstringnoSponsoring member identifier.
stageIdsarray<string>noReference stages, distinct from bill-specific stage IDs.
billTypeIdsarray<string>noReference bill types.
cursorstringnoOpaque collection continuation; preserve filters.
limitintegernoRequested bills; positive safe integer, default 10, cap 100; larger values are capped with a notice.
contentCursorstringnoOpaque same-selection lossless content continuation.

ukparl_get_bill

Ukparl Get Bill

Retrieve a Westminster bill overview or select stages, stage, publications, amendments, amendment, motions or motion. Stage/amendment/motion selections require the bill-specific billStageId from section=stages; singular amendment/motion also require itemId from their parent collection. Use amendmentId for amendment retrieval and motion.id for motions. Filter only the amendments collection by amendmentNumber, decision or sponsoring memberId. Collection selectors paginate whole records. Overview leaves publications unchecked; select publications to discover actual supplied legislation.gov.uk statute links. Follow contentCursor with the original selection to reconstruct oversized records.

ParameterTypeRequiredDescription
billIdstringyesParent bill identifier from ukparl_search_bills.
sectionenum: "overview" | "stages" | "stage" | "publications" | "amendments" | "amendment" | "motions" | "motion"noSelected bill section; overview by default.
billStageIdstringnoBill-specific stage occurrence ID, required for stage/amendment/motion selections.
itemIdstringnoAmendment amendmentId or ping-pong motion.id; singular selections only.
amendmentNumberstringnoPublished amendment number, retaining letter suffixes; amendments collection only.
decisionenum: "All" | "NoDecision" | "Withdrawn" | "Disagreed" | "NotMoved" | "Agreed" | "QuestionProposed" | "NotSelected" …noOfficial amendment decision filter; amendments collection only.
memberIdstringnoSponsoring member ID; amendments collection only.
cursorstringnoCollection continuation; collections only.
limitintegernoCollection records; positive safe integer, default 20, cap 100; larger values are capped with a notice; collections only.
contentCursorstringnoLossless same-selection content continuation.

ukparl_search_members

Ukparl Search Members

Find MPs and peers by name, location or constituency, party, House, and current or historical membership. currentOnly=false includes current and former members. asOf selects historical membership and accepts name only, without House, party or location filters. Search results preserve latest profile fields; retrieve sections with ukparl_get_member. Follow opaque cursors with unchanged filters and use contentCursor for oversized records.

ParameterTypeRequiredDescription
namestringnoName substring; omission searches all names.
constituencystringnoSource location or constituency text, not exact equality.
partyIdstringnoParty ID; active reference parties do not exhaust historical IDs.
houseenum: "commons" | "lords"noFilter most recent House; unavailable with asOf.
currentOnlybooleannoTrue restricts to current members; false includes former and current.
asOfstringnoHistorical membership on YYYY-MM-DD; only name and pagination may accompany it.
cursorstringnoOpaque collection cursor for the same filters.
limitintegernoRequested whole members; default 10, cap 20; safe over-cap integers are clamped.
contentCursorstringnoSame-selection lossless content continuation.

ukparl_get_member

Ukparl Get Member

Retrieve a member profile, roles, committee seats, official contact information, registered interests or recorded voting history. Roles without category lists available biography categories; select category to page whole periods. Interests and voting require an explicit House. Committee person IDs differ from member IDs. Voting uses native 20-row pages and reports recorded lobby and teller facts, without lifetime participation metrics. Follow collection cursors with unchanged selectors; use contentCursor to reconstruct oversized records.

ParameterTypeRequiredDescription
memberIdstringyesMembers API decimal identifier from ukparl_search_members.
sectionenum: "profile" | "roles" | "committee_seats" | "contact" | "interests" | "voting"noSelected member subsection; default profile.
categoryenum: "representations" | "electionsContested" | "houseMemberships" | "governmentPosts" | "oppositionPosts" | "otherPosts" | "partyAffiliations" | "committeeMemberships"noRoles only: select one complete biography collection.
houseenum: "commons" | "lords"noRequired for interests and voting; forbidden for other sections.
cursorstringnoOpaque whole-item collection continuation with unchanged selectors.
limitintegernoRequested whole rows; default 20, cap 50 for local histories. Voting uses native 20-row pages independently of limit.
contentCursorstringnoOpaque same-selection lossless content continuation.

ukparl_search_divisions

Ukparl Search Divisions

Search official Commons or Lords division summaries, or use detail, voters or party_totals with a divisionId from the same House. Search supports title/number text, member and inclusive division dates; member searches include memberVote with the recorded House-native lobby and teller flag. Detail preserves complete metadata and teller identities, with roster selectors for voters mode. Voters can filter exact source party labels and House-compatible lobbies. not_recorded means only the source list, never abstention. Party totals count listed non-tellers and tellers separately from official headline counts. Follow collection cursors with unchanged filters; reconstruct oversized content using contentCursor.

ParameterTypeRequiredDescription
houseenum: "commons" | "lords"yesSelected House and division ID namespace.
modeenum: "search" | "detail" | "voters" | "party_totals"noOperation; defaults to search; accepts case-insensitive canonical mode names.
querystringnoDivision title or number search text; search mode only.
memberIdstringnoMembers API ID; search returns this member's recorded lobby and teller flag, including divisions where they were a teller.
divisionIdstringnoDivision ID in the selected House; required outside search.
startDatestringnoInclusive source division-date lower bound; search only.
endDatestringnoInclusive source division-date upper bound; search only.
partystringnoExact case-insensitive source party label; voters only, not a party ID.
lobbyenum: "aye" | "no" | "content" | "not_content" | "not_recorded"noVoters only: Commons aye/no/not_recorded or Lords content/not_content.
limitintegernoPositive safe integer; search default 5, cap 24 Commons/10 Lords; voters default 20/cap 50; detail and party_totals do not paginate.
cursorstringnoOpaque search/voters collection continuation; repeat the same filters.
contentCursorstringnoOpaque same-selection lossless content continuation, separate from collection cursor.

ukparl_search_hansard

Search spoken Hansard

Search spoken Westminster Hansard contributions by topic, member, House, date or numeric debateSectionId. Results run newest sitting first; sortOrder=SittingDateAsc starts from the oldest sitting. Returns full source contribution text where supplied, including HTML; previews are labelled summaries. Repeat with a returned debateSectionId to search that section, which does not establish an entire debate transcript. Historical completeness is not guaranteed, including the 2004–2006 website warning despite some API records. Use ukparl_lookup_reference topic=coverage for archive guidance. Follow collection cursors unchanged and contentCursor for lossless oversized contributions; retry timeouts with shorter date windows.

ParameterTypeRequiredDescription
querystringnoSpoken contribution search text; no date range is inferred.
memberIdstringnoMembers API identifier discovered with ukparl_search_members.
houseenum: "commons" | "lords"noCommons or Lords; exact official House aliases are accepted.
startDatestringnoInclusive earliest sitting date, real YYYY-MM-DD; no inferred archive cutoff.
endDatestringnoInclusive latest sitting date, real YYYY-MM-DD; must not precede startDate.
debateSectionIdstringnoReturned numeric debateSectionId, distinct from external debate IDs. A section is one sitting, so either sortOrder keeps its source order, highest orderInDebateSection first; sort by orderInDebateSection to read it in sequence.
sortOrderenum: "SittingDateAsc" | "SittingDateDesc"noSitting-date order: SittingDateDesc (newest first, the source default) or SittingDateAsc (oldest first). Contributions within one sitting keep source order.
limitintegernoRequested whole contributions; default 5, cap 100; larger safe integers are capped with a notice.
cursorstringnoOpaque collection continuation; repeat the same filters and sortOrder. It resumes at its offset under any limit.
contentCursorstringnoOpaque lossless content continuation; preserve original selection and collection cursor.

ukparl_search_questions

Search written questions

Search Westminster written questions and answer previews by text, exact UIN, asking or answering member, House, answering body, answer state and dates. An undated UIN returns candidates across sessions; narrow with tabling dates and retrieve mode=detail with a returned questionId for complete question and answer HTML, corrections and attachment links. A UIN is not a questionId and never determines House. Search includes all sessions and withdrawn questions. Follow collection cursors unchanged; use contentCursor for lossless oversized answers.

ParameterTypeRequiredDescription
modeenum: "search" | "detail"noSearch previews or retrieve one complete question.
querystringnoQuestion or answer content terms; search only.
uinstringnoExact UIN lookup string, such as 36068 or HL1234; preserves leading zeros. Search only; combine with tabling dates to narrow reused UINs.
questionIdstringnoPositive decimal Questions API ID required in detail; UIN is not this ID.
memberIdstringnoAsking Members API ID; search only.
answeringMemberIdstringnoAnswering Members API ID; search only, independent of asking memberId.
answeringBodyIdsarray<string>noUp to 20 answering-body IDs resolved through ukparl_lookup_reference; search only.
houseenum: "commons" | "lords"noCommons or Lords; search only.
answeredbooleannoTrue answered, false unanswered, omission either; search only.
tabledFromstringnoInclusive tabling start YYYY-MM-DD; search only.
tabledTostringnoInclusive tabling end YYYY-MM-DD; search only.
answeredFromstringnoInclusive answer start YYYY-MM-DD; search only.
answeredTostringnoInclusive answer end YYYY-MM-DD; search only.
cursorstringnoOpaque search continuation; repeat unchanged filters.
limitintegernoSearch page size, default 10, cap 100; larger safe integers are capped. Omit in detail.
contentCursorstringnoOpaque lossless content continuation for this same selection.

ukparl_search_statements

Search written statements

Search Westminster written ministerial statements by text, exact UIN, minister, House, answering body and date made. Search returns plain-text previews; retrieve mode=detail with a returned statementId for the complete HTML. A UIN such as HLWS419 is reused across sessions: narrow it with madeFrom/madeTo. A UIN is not a statementId. Search covers all sessions. A CorrectedAnswer link carries a written-question questionId for ukparl_search_questions mode=detail. Follow collection cursors unchanged; use contentCursor for lossless oversized statements.

ParameterTypeRequiredDescription
modeenum: "search" | "detail"noSearch previews or retrieve one complete statement.
querystringnoStatement title or text terms; search only.
uinstringnoExact statement UIN, such as HLWS419 or HCWS416, case-insensitive. Search only; combine with madeFrom/madeTo to narrow reused UINs.
statementIdstringnoPositive decimal statement ID required in detail; UIN is not this ID.
memberIdstringnoMembers API ID of the minister making the statement; search only.
answeringBodyIdsarray<string>noUp to 20 answering-body IDs resolved through ukparl_lookup_reference, matching any; search only.
houseenum: "commons" | "lords"noCommons or Lords; search only.
madeFromstringnoInclusive start YYYY-MM-DD of the date made; search only.
madeTostringnoInclusive end YYYY-MM-DD of the date made; search only.
cursorstringnoOpaque search continuation; repeat unchanged filters.
limitintegernoSearch page size, default 10, cap 100; larger safe integers are capped. Omit in detail.
contentCursorstringnoOpaque lossless content continuation for this same selection.

ukparl_get_committee

Get committees and evidence

Find Westminster committees with mode=search, then use committeeId for detail, members, inquiries or publications. Inquiries returns every committee business type, labelled by isInquiry; use businessId with mode=inquiry for complete business detail or to filter publications. Use publicationId with mode=publication for complete report/publication metadata and source links. Use mode=evidence with businessId and evidenceType=written|oral to list evidence; mode=evidence_detail requires evidenceId and evidenceType in the same namespace, and mode=evidence_document takes the same pair and adds the published Html rendition as documentHtml. Memberships retain all role periods; personId is distinct from Members API memberId. Publication files and other renditions are not downloaded, and no text is extracted. Follow cursors with unchanged filters; contentCursor retrieves oversized records losslessly. Typed entities retain sourcePath relationships to reconstruct nested source metadata.

ParameterTypeRequiredDescription
statusenum: "Current" | "Former" | "All" | enum: "Open" | "Closed"noSearch: Current|Former|All. Inquiries: Open|Closed. Omitted uses source default.
acceptingEvidencebooleannoInquiries only: true selects businesses currently accepting evidence; false is the same as omitting it and is not echoed.
openedFromstringnoInquiries opened on/after this ISO date.
openedTostringnoInquiries opened on/before this ISO date.
sortOrderenum: "DateOpenedNewest" | "DateOpenedOldest" | "PublicationDateAscending" | "PublicationDateDescending" | enum: "PublicationDateAscending" | "PublicationDateDescending" | "ResponseDateAscending" | "ResponseDateDescending"noInquiries: DateOpenedNewest|DateOpenedOldest|PublicationDateAscending|PublicationDateDescending. Publications: PublicationDateAscending|PublicationDateDescending|ResponseDateAscending|ResponseDateDescending. Omitted preserves source order.
publicationTypeIdsarray<string>noPublications only: positive publication type IDs, serialized as repeated parameters.
publishedFromstringnoPublications starting on/after this ISO date.
publishedTostringnoPublications starting on/before this ISO date.
modeenum: "search" | "detail" | "members" | "inquiries" | "inquiry" | "publications" | "publication" | "evidence" …noSearch, committee detail, members, business list/detail, publication list/detail, written/oral evidence list/detail, or evidence_document for evidence detail plus its Html rendition.
querystringnoSearch terms for search, inquiries or publications; latter two require at least two characters.
houseenum: "commons" | "lords" | "joint"noCommons, Lords or Joint, case-insensitive; exact House of Commons/Lords aliases also accepted. Search only.
committeeIdstringnoCommittee ID required for detail, members and publications; optional for inquiries to discover businesses across committees.
businessIdstringnoBusiness ID required for inquiry and evidence; optional additional publication filter.
publicationIdstringnoPublication ID required for publication detail.
evidenceIdstringnoEvidence ID for evidence_detail or evidence_document, scoped by evidenceType.
evidenceTypeenum: "written" | "oral"noRequired for evidence, evidence_detail and evidence_document; written and oral IDs are distinct.
membershipenum: "all" | "current" | "former"noMembers mode only, default all; filters role-period membership status.
cursorstringnoOpaque collection continuation; repeat unchanged filters. It resumes at its offset under any limit.
limitintegernoWhole records per collection page, default 10, cap 100; larger safe integers clamp to 100 with a notice. Omit for singular modes.
contentCursorstringnoOpaque same-selection content continuation; reconstruct records before advancing collection cursor.

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-parliament.caseyjhand.com/mcp. Formats taken from each client’s documentation.

Claude Code
claude mcp add --transport http uk-parliament-mcp-server https://uk-parliament.caseyjhand.com/mcp
Claude (claude.ai, Claude Desktop, Cowork)
Customize > Connectors > + Add > Add custom connector ; Name : uk-parliament-mcp-server ; URL : https://uk-parliament.caseyjhand.com/mcp
ChatGPT (serveurs MCP personnalisés / plugins)
chatgpt.com/plugins > + > Add custom MCP server ; Name : uk-parliament-mcp-server ; Server URL : https://uk-parliament.caseyjhand.com/mcp ; Create as a plugin
Cursor.cursor/mcp.json (projet) ou ~/.cursor/mcp.json (global)
{
  "mcpServers": {
    "uk-parliament-mcp-server": {
      "url": "https://uk-parliament.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-parliament-mcp-server": {
      "type": "http",
      "url": "https://uk-parliament.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-parliament-mcp-server": {
      "url": "https://uk-parliament.caseyjhand.com/mcp"
    }
  }
}
Gemini CLI~/.gemini/settings.json (utilisateur) ou .gemini/settings.json (projet)
{
  "mcpServers": {
    "uk-parliament-mcp-server": {
      "httpUrl": "https://uk-parliament.caseyjhand.com/mcp"
    }
  }
}
OpenAI Codex (CLI, extension IDE, app)~/.codex/config.toml (ou .codex/config.toml pour un projet de confiance)
[mcp_servers.uk-parliament-mcp-server]
url = "https://uk-parliament.caseyjhand.com/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-parliament-mcp-server · L’Atlas · Tested on

Markdown
[uk-parliament-mcp-server — L’Atlas](https://latlas.dev/en/mcp/io.github.cyanheads/uk-parliament-mcp-server)
Test methodology and limitations

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