Parliament
MPs, votes, bills and questions
Finds current MPs and peers by name or postcode, lists how a member voted in recent Commons divisions, and searches divisions, bills and written questions. It reads four Parliament APIs: Members, Commons Votes, Bills and Written Questions. A word search of written questions can take 30 seconds or more; filtering by member is fast.
- Publisher
- UK Parliament
- Coverage
- UK
- Licence
- Open Parliament Licence v3.0
- Endpoint
pubmcp.uk/ mcp/ parliament
Railways Bill: Carry-over extension (Motion), 4 November 2026.
Add UK Parliament to your assistant
Use the endpoint
https:// in any MCP client
that speaks streamable HTTP.
Claude Code In a terminal
claude mcp add --transport http \
pubmcp-parliament https://pubmcp.uk/mcp/parliament
Claude.ai Settings, Connectors, add a custom connector
https://pubmcp.uk/mcp/parliament
Cursor ~/.cursor/mcp.json
{
"mcpServers": {
"pubmcp-parliament": {
"url": "https://pubmcp.uk/mcp/parliament"
}
}
}
VS Code .vscode/mcp.json
{
"servers": {
"pubmcp-parliament": {
"type": "http",
"url": "https://pubmcp.uk/mcp/parliament"
}
}
}
5 tools, each with a real call
Examples captured from the live server on 22/11/2026. Lists are cut to three items and long text is shortened. Ask again for today's figures.
find_member
Find a current MP or peer
Find current members of the Commons or Lords by name, or the MP for a location. Give a name, a postcode, or lat and lon together. Returns the member id used by member_votes.
| Parameter | Type | Required | Description |
|---|---|---|---|
house |
string | No | commons (default) or lords |
lat |
number | No | latitude, with lon |
limit |
integer | No | default 20, max 100 |
lon |
number | No | longitude, with lat |
name |
string | No | part of the member's name |
postcode |
string | No | UK postcode |
Give a postcode, or lat and lon together.
Example call
{
"name": "find_member",
"arguments": {
"postcode": "SW1A 1AA"
}
}Answer
SW1A 1AA is in Cities of London and Westminster; the MP is Rachel Blake (Labour (Co-op)).
{
"members": [
{
"constituency": "Cities of London and Westminster",
"house": "Commons",
"id": 5257,
"name": "Rachel Blake",
"party": "Labour (Co-op)",
"profile_url": "https://members.parliament.uk/member/5257",
"since": "2024-07-04"
}
],
"total": 1
}
member_votes
Recent Commons votes by a member
List the most recent Commons divisions for a member and how they voted (aye, no, or did not vote). Get the member_id from find_member.
| Parameter | Type | Required | Description |
|---|---|---|---|
member_id |
integer | Yes | member id from find_member |
limit |
integer | No | default 20, max 100 |
Example call
{
"name": "member_votes",
"arguments": {
"limit": 3,
"member_id": 5257
}
}Answer
Member 5257: 3 recent divisions, 2 aye, 1 no.
{
"member_id": 5257,
"votes": [
{
"ayes": 103,
"date": "2026-11-18",
"deferred": false,
"division_id": 2488,
"noes": 274,
"teller": false,
"title": "Opposition day: UK-EU relations",
"url": "https://votes.parliament.uk/Votes/Commons/Division/2488",
"vote": "no"
},
{
"ayes": 299,
"date": "2026-11-18",
"deferred": true,
"division_id": 2487,
"noes": 159,
"teller": false,
"title": "Draft Employment Rights Act 2025 (Unfair Dismissal) (Removal of Limit on Compensation) (Consequential Amendments) Regulations 2026",
"url": "https://votes.parliament.uk/Votes/Commons/Division/2487",
"vote": "aye"
},
{
"ayes": 290,
"date": "2026-11-17",
"deferred": false,
"division_id": 2486,
"noes": 94,
"teller": false,
"title": "Immigration and Asylum Bill: Third Reading",
"url": "https://votes.parliament.uk/Votes/Commons/Division/2486",
"vote": "aye"
}
]
}
search_bills
Search parliamentary bills
Search bills before Parliament by words in the title. Returns the current house and stage, and whether the bill became an Act, was withdrawn or was defeated.
| Parameter | Type | Required | Description |
|---|---|---|---|
limit |
integer | No | default 20, max 100 |
query |
string | No | words in the bill title |
Example call
{
"name": "search_bills",
"arguments": {
"limit": 3,
"query": "railways"
}
}Answer
12 bills match; showing 3.
{
"bills": [
{
"current_house": "Lords",
"defeated": false,
"id": 2044,
"is_act": false,
"last_update": "2019-09-10",
"originating_house": "Lords",
"stage": "2nd reading",
"title": "Heritage Railways and Tramways (Voluntary Work) Bill [HL]",
"url": "https://bills.parliament.uk/bills/2044",
"withdrawn": false
},
{
"current_house": "Lords",
"defeated": false,
"id": 2476,
"is_act": false,
"last_update": "2019-11-08",
"originating_house": "Lords",
"stage": "2nd reading",
"title": "Heritage Railways and Tramways (Voluntary Work) Bill [HL]",
"url": "https://bills.parliament.uk/bills/2476",
"withdrawn": false
},
{
"current_house": "Lords",
"defeated": false,
"id": 2548,
"is_act": false,
"last_update": "2021-05-05",
"originating_house": "Lords",
"stage": "2nd reading",
"title": "Heritage Railways and Tramways (Voluntary Work) Bill [HL]",
"url": "https://bills.parliament.uk/bills/2548",
"withdrawn": false
}
],
"total": 12
}
search_divisions
Search Commons divisions
Search Commons divisions (votes) by words in the title, with an optional earliest date. Returns the aye and no counts.
| Parameter | Type | Required | Description |
|---|---|---|---|
limit |
integer | No | default 20, max 100 |
query |
string | No | words in the division title |
since |
string | No | earliest date, YYYY-MM-DD |
Example call
{
"name": "search_divisions",
"arguments": {
"limit": 3,
"query": "housing"
}
}Answer
Found 3 Commons divisions.
{
"divisions": [
{
"ayes": 310,
"date": "2026-11-04",
"deferred": true,
"id": 2471,
"noes": 104,
"title": "Draft Housing (Tenancy Deposit Schemes) Order 2026",
"url": "https://votes.parliament.uk/Votes/Commons/Division/2471"
},
{
"ayes": 77,
"date": "2026-09-10",
"deferred": false,
"id": 2425,
"noes": 292,
"title": "Social Housing Bill [Lords]: Reasoned Amendment to Second Reading",
"url": "https://votes.parliament.uk/Votes/Commons/Division/2425"
},
{
"ayes": 180,
"date": "2023-03-01",
"deferred": false,
"id": 1488,
"noes": 276,
"title": "Social Housing (Regulation) Bill [Lords] Report Stage: Amendment 40",
"url": "https://votes.parliament.uk/Votes/Commons/Division/1488"
}
]
}
search_written_questions
Search written parliamentary questions
Search written questions and answers by words, asking member and tabled date. Searching by words can take 30 seconds or more; filtering by member_id or since is fast.
| Parameter | Type | Required | Description |
|---|---|---|---|
limit |
integer | No | default 20, max 100 |
member_id |
integer | No | asking member id |
query |
string | No | words in the question |
since |
string | No | tabled since YYYY-MM-DD |
Example call
{
"name": "search_written_questions",
"arguments": {
"limit": 2,
"member_id": 5257
}
}Answer
139 written questions match; showing 2.
{
"questions": [
{
"answer": "The Church Commissioners have indicated that it will not be possible to answer this question within the usual time period. An answer is being prepared and will…",
"answered_date": "2026-11-18",
"answering_body": "Church Commissioners",
"asked_by": "Rachel Blake (Labour)",
"date_tabled": "2026-10-09",
"heading": "Church of England: Tenants",
"house": "Commons",
"id": "31088",
"question": "To ask the hon. Member for Battersea, representing the Church Commissioners, what assessment she has made of the potential impact of service charge increases on…",
"url": "https://questions-statements.parliament.uk/written-questions/detail/2026-10-09/31088"
},
{
"answer": "The Leasehold and Freehold Reform Act 2024 permits the Secretary of State to set valuation rates which establish the present value of a landlord’s future income…",
"answered_date": "2026-11-17",
"answering_body": "Ministry of Housing, Communities and Local Government",
"asked_by": "Rachel Blake (Labour)",
"date_tabled": "2026-11-11",
"heading": "Leasehold: Fees and Charges",
"house": "Commons",
"id": "42427",
"question": "To ask the Secretary of State for Housing, Communities and Local Government, with reference to the leasehold enfranchisement valuation rates consultation, for w…",
"url": "https://questions-statements.parliament.uk/written-questions/detail/2026-11-11/42427"
}
],
"total": 139
}
Attribution
Every answer from this server carries this line:
Contains Parliamentary information licensed under the Open Parliament Licence v3.0.