uk-parliament-lords-votes-mcp
README.md
# uk-parliament-lords-votes-mcp
UK Parliament House of Lords divisions and peer voting records over Model Context Protocol (MCP). Legislative analysts, legal teams, and policy researchers can query `lordsvotes-api.parliament.uk` for amendment votes, party breakdowns, and government win margins with no API keys. Setup takes seconds.
## Hosted endpoint
Point any Streamable HTTP MCP client at the free Cloudflare Worker endpoint.
```text
https://uk-parliament-lords-votes-mcp.lipmichal.workers.dev/mcp
```
## Available tools
| Tool | Purpose |
| --- | --- |
| `search_uk_lords_divisions` | Search UK House of Lords legislative divisions by keyword, date window, and pagination. |
| `get_uk_lords_division_count` | Get the total number of matching UK House of Lords divisions for optional filters. |
| `get_uk_lords_division_details` | Fetch Content and Not Content counts, party breakdowns, and tellers for a specific Lords division ID. |
| `get_peer_voting_record` | Retrieve recent House of Lords division votes cast by a specific peer member ID. |
| `compare_lords_division_margins` | Compare vote margins, government wins, and closest divisions across recent House of Lords votes. |
## Client configuration
Add the remote URL to Claude Desktop, Cursor, or VS Code MCP settings.
```json
{
"mcpServers": {
"uk-parliament-lords-votes": {
"url": "https://uk-parliament-lords-votes-mcp.lipmichal.workers.dev/mcp"
}
}
}
```
## Run locally over stdio
You can also run this server locally on Node 20 or newer over stdio.
```bash
npm install
npm run build
npm start
```
## Compliance and reliability
Every upstream request queries `lordsvotes-api.parliament.uk` with a polite `User-Agent` header (`mcpstamp-uk-parliament-lords-votes/1.0.1 (hello@mcpstamp.com)`) and automatic retry on transient network or 5xx errors. Cloudflare edge caching applies only to HTTP 2xx responses, so upstream faults don't linger in cache. All five tools declare read-only, non-destructive, idempotent, open-world annotations, and the Worker negotiates future protocol versions cleanly.
## More MCP servers and readiness check
This server belongs to the public MCP directory maintained by MCPStamp and Zovo.
- [Free live-data MCP directory](https://www.mcpstamp.com/free-servers/) with hosted keyless endpoints and client setup guides.
- [Free MCP readiness checker](https://www.mcpstamp.com/check/) to score any MCP server for Claude, ChatGPT, and registry submission.
- [MCP Readiness Audit ($490)](https://www.mcpstamp.com/services/#audit) for teams shipping a production server who want a hands-on security, schema, and store review.
- [Zovo Pro MCP Bundle ($39 one-time)](https://mcp.zovo.one/buy/bundle?src=gh.uk-parliament-lords-votes-mcp) with hosted commercial servers and priority endpoints.
This server cannot be deployed
Maintenance
ActivityMaintained
ResponsivenessNo recent community issues