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

uk-parliament-commons-votes-mcp

uk-parliament-commons-votes-mcp

UK Parliament House of Commons divisions and roll-call voting records over Model Context Protocol (MCP). Policy analysts, legal teams, and civic researchers can query commonsvotes-api.parliament.uk for bill votes, party breakdowns, and MP voting histories with no API keys. Setup takes seconds.

Hosted endpoint

Point any Streamable HTTP MCP client at the free Cloudflare Worker endpoint.

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

Related MCP server: UK Parliament MCP Server

Available tools

Tool

Purpose

search_uk_commons_divisions

Search UK House of Commons legislative divisions by keyword, date window, and pagination.

get_uk_commons_division_count

Get the total number of matching UK House of Commons divisions for optional filters.

get_uk_commons_division_details

Fetch Aye and No counts, party vote breakdowns, and tellers for a specific Commons division ID.

get_mp_voting_record

Retrieve recent House of Commons division votes cast by a specific MP member ID.

filter_commons_divisions_by_date

List House of Commons divisions held within a required start and end date range.

Client configuration

Add the remote URL to Claude Desktop, Cursor, or VS Code MCP settings.

{
  "mcpServers": {
    "uk-parliament-commons-votes": {
      "url": "https://uk-parliament-commons-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 commonsvotes-api.parliament.uk with a polite User-Agent header (mcpstamp-uk-parliament-commons-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.

Available Tools

5 tools
filter_commons_divisions_by_dateFilter Commons divisions by dateC
Read-onlyIdempotent

List UK House of Commons legislative divisions recorded between a start date and an end date.

Inputs: end_date (required), start_date (required), take.

get_mp_voting_recordGet MP voting recordA
Read-onlyIdempotent

Retrieve recent House of Commons division votes cast by a specific Member of Parliament using their member ID.

Inputs: member_id (required), skip, take.

get_uk_commons_division_countGet UK House of Commons division countA
Read-onlyIdempotent

Return the total count of UK House of Commons divisions matching optional keyword or date filters.

Inputs: end_date, start_date, search_term.

get_uk_commons_division_detailsGet UK House of Commons division detailsB
Read-onlyIdempotent

Fetch Aye and No counts, party vote breakdowns, tellers, and sample voters for a House of Commons division ID.

Inputs: division_id (required), include_sample_voters.

search_uk_commons_divisionsSearch UK House of Commons divisionsB
Read-onlyIdempotent

Search UK House of Commons legislative divisions by keyword, date window, and pagination.

Inputs: skip, take, end_date, start_date, +1 more.

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    A3.5/5.0

    Scored across 5 tools

    Disambiguation4/5

    Most tools have clearly distinct purposes: search, count, details, and MP voting record are well separated. However, filter_commons_divisions_by_date overlaps heavily with search_uk_commons_divisions since search already supports a date window, so an agent may be unsure which to use for date-only retrieval.

    Naming Consistency4/5

    All tools use a readable verb_noun pattern (search_, get_, filter_), and the get_* tools are internally consistent. Minor inconsistency exists in prefixing: search_uk_commons_divisions and the get_uk_commons_* tools use 'uk_commons', while filter_commons_divisions_by_date drops the 'uk_' prefix.

    Tool Count5/5

    Five tools is well-scoped for a read-only parliamentary divisions API, covering search, count, details, MP records, and date filtering. Each tool has a plausible role, and the set avoids the bloat of an oversized surface.

    Completeness4/5

    The surface covers the core read workflows: finding divisions, counting them, inspecting details, and retrieving an MP's voting record. Minor gaps remain, such as date-filter pagination and broader member/party lookups, but core use cases are covered.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      D
      maintenance
      Provides access to live UK Parliament data including bills, votes, MP profiles, and financial interests without requiring an API key. It enables users to track parliamentary rebellions, search petitions, and cross-reference voting records with declared financial interests.
      5
      9
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables search and retrieval of UK Parliament Members and Peers, constituency representation, division voting records, and government or opposition ministerial posts through a keyless hosted endpoint or local stdio deployment.
      MIT