MCP server that gives any AI assistant live access to UK Parliament data: voting history, MP profiles, financial interests, rebellions, bills, and petitions. No API key needed.
Config is the same across clients — only the file and path differ.
{
"mcpServers": {
"uk-parliament": {
"args": [
"-y",
"uk-parliament-mcp"
],
"command": "npx"
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
MCP server that gives any AI assistant live access to UK Parliament data: voting history, MP profiles, financial interests, rebellions, bills, and petitions. No API key needed.
Run this in your terminal to verify the server starts. Then let us know if it worked — your result helps other developers.
npx -y 'uk-parliament-mcp' 2>&1 | head -1 && echo "✓ Server started successfully"
After testing, let us know if it worked:
Five weighted categories — click any category to see the underlying evidence.
No known CVEs.
Checked uk-parliament-mcp against OSV.dev.
This server is missing a description. Tools and install config are also missing.If you've used it, help the community.
Add informationBe the first to review
Have you used this server?
Share your experience — it helps other developers decide.
Sign in to write a review.
Others in legal
87 tools for Korean law — statutes, precedents, ordinances, interpretations | MCP Server · CLI · npm
Proof primitive for AI agents on MultiversX. Anchor file hashes on-chain as verifiable proofs.
956k Swiss court decisions: full-text search, citation graph, statute lookup (DE/FR/IT)
AFIP — Argentine tax authority, electronic invoicing (Factura Electrónica)
MCP Security Weekly
Get CVE alerts and security updates for Uk Parliament Mcp Server and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
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.
# One‑off run
npx uk-parliament-mcp
# Global install
npm install -g uk-parliament-mcp
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-mcp
| Tool | Purpose |
|---|---|
rank_entities | Rank MPs by rebellion count across divisions |
get_events | Recent divisions, rebellions, or bills |
analyze_patterns | Close votes, government defeats, party rebellion rates |
find_entities | Find MPs, bills, petitions, or declared interests |
query_entities | Cross-reference vote records with financial interests |
| Question | Tool |
|---|---|
| Which Labour MPs have rebelled most this parliament? | rank_entities |
| What votes happened in the Commons this week? | get_events |
| Which Conservative MPs rebelled last month? | get_events |
| Bills currently about welfare reform? | find_entities |
| Show me knife-edge votes (10 votes margin or fewer) this year | analyze_patterns |
| Which government bills were defeated in the Lords? | analyze_patterns |
| MPs with declared defence company interests | find_entities |
| Labour MPs who voted No on a Renters Reform Bill with property interests | query_entities |
| What are the most-signed open petitions right now? | find_entities |
| API | What it covers |
|---|---|
bills-api.parliament.uk | Bills, stages, sponsors |
commonsvotes-api.parliament.uk | Commons division records |
lordsvotes-api.parliament.uk | Lords division records |
members-api.parliament.uk | MP and Lord profiles |
interests-api.parliament.uk | Register of Members' Financial Interests |
petition.parliament.uk | Petitions and signature counts |
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 & reload
git push and open a PRMIT – see LICENSE.
Disclaimer This project is unofficial and not endorsed by UK Parliament. Data usage is subject to the Open Parliament Licence.