UK Parliament MCP Server
Hosts the MCP server repository and provides version control for the UK Parliament data integration project, enabling collaborative development and distribution of the server.
Serves as the package registry for distributing and installing the UK Parliament MCP server, allowing users to easily install and run the server via npm commands.
Used as the implementation language for developing the MCP server, providing type safety and modern JavaScript features for building the UK Parliament data integration.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@UK Parliament MCP ServerWhich Labour MPs have rebelled most during this parliament?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
UK Parliament MCP Server
https://github.com/user-attachments/assets/eec2a7bc-1ddf-4b25-8553-8d5b33a57ff6
A Model Context Protocol (MCP) server for live UK Parliament data. Query bills, votes, MP profiles, financial interests, and petitions straight from your MCP‑compatible assistant, no API key required.
Features
No authentication – open data under the Open Parliament Licence
Rebellion tracking – detect MPs voting against their party whip
Cross-dataset queries – match vote records against financial interests
Pattern detection – close votes, government defeats, party rebellion rates
Bill & petition search – by keyword, stage, or status
Installation
# One‑off run
npx uk-parliament-mcp
# Global install
npm install -g uk-parliament-mcpUsage
Claude Desktop — add to claude_desktop_config.json:
{
"mcpServers": {
"uk-parliament": {
"command": "npx",
"args": ["-y", "uk-parliament-mcp"]
}
}
}Claude Code:
claude mcp add uk-parliament -- npx -y uk-parliament-mcpAvailable Tools
Tool | Purpose |
| Rank MPs by rebellion count across divisions |
| Recent divisions, rebellions, or bills |
| Close votes, government defeats, party rebellion rates |
| Find MPs, bills, petitions, or declared interests |
| Cross-reference vote records with financial interests |
What You Can Ask
Question | Tool |
Which Labour MPs have rebelled most this parliament? |
|
What votes happened in the Commons this week? |
|
Which Conservative MPs rebelled last month? |
|
Bills currently about welfare reform? |
|
Show me knife-edge votes (10 votes margin or fewer) this year |
|
Which government bills were defeated in the Lords? |
|
MPs with declared defence company interests |
|
Labour MPs who voted No on a Renters Reform Bill with property interests |
|
What are the most-signed open petitions right now? |
|
Data Sources
API | What it covers |
| Bills, stages, sponsors |
| Commons division records |
| Lords division records |
| MP and Lord profiles |
| Register of Members' Financial Interests |
| Petitions and signature counts |
Development
git clone https://github.com/YOUR_USERNAME/uk-parliament-mcp-server.git
cd uk-parliament-mcp-server
npm install
npm run build # compile TypeScript
npm start # production
npm run dev # watch & reloadContributing
Fork → branch → commit
git pushand open a PRFollow the coding style in src/
License
MIT – see LICENSE.
Disclaimer This project is unofficial and not endorsed by UK Parliament. Data usage is subject to the Open Parliament Licence.
This server cannot be installed
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/kupad95/uk-parliament-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server