Skip to main content
Glama
uk-parliament-lords-votes-mcp

uk-parliament-lords-votes-mcp

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.

https://uk-parliament-lords-votes-mcp.lipmichal.workers.dev/mcp

Related MCP server: uk-parliament-bills-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.

{
  "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.

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.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers