Skip to main content
Glama
uk-parliament-petitions-civic-mcp

uk-parliament-petitions-civic-mcp

uk-parliament-petitions-civic-mcp

Official UK Government and Parliament public petitions API over Model Context Protocol (MCP). Public affairs teams, policy analysts, and civic journalists can track open petitions, signature counts, government responses, and scheduled parliamentary debates from petition.parliament.uk with no API keys. Setup takes seconds.

Hosted endpoint

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

https://uk-parliament-petitions-civic-mcp.lipmichal.workers.dev/mcp

Related MCP server: uk-parliament-bills-mcp

Available tools

Tool

Purpose

list_uk_open_petitions

List currently open UK Parliament petitions ordered by signature count

list_uk_closed_petitions

List closed UK Parliament petitions with final signature totals

search_uk_petitions

Search UK petitions by keyword across open, closed, or all states

get_uk_petition_details

Fetch full background text, government response, and debate details by petition ID

list_uk_debated_petitions

List petitions that have been debated in Parliament with debate transcripts

Client configuration

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

{
  "mcpServers": {
    "uk-parliament-petitions-civic": {
      "url": "https://uk-parliament-petitions-civic-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 petition.parliament.uk with a polite User-Agent header (mcpstamp-uk-parliament-petitions-civic/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
get_uk_petition_detailsGet UK petition detailsA
Read-onlyIdempotent

Retrieve full background text, signature count, official government response, and parliamentary debate record for a petition ID.

Inputs: petition_id (required).

list_uk_closed_petitionsList UK closed petitionsA
Read-onlyIdempotent

List closed UK Parliament petitions with their final signature counts and closing dates.

Inputs: page, limit.

list_uk_debated_petitionsList UK debated petitionsA
Read-onlyIdempotent

List UK Parliament petitions that have been debated in Parliament, including debate outcome dates and signature counts.

Inputs: page, limit.

list_uk_open_petitionsList UK open petitionsA
Read-onlyIdempotent

List currently open UK Government and Parliament petitions on petition.parliament.uk ordered by signature count.

Inputs: page, limit.

search_uk_petitionsSearch UK petitionsB
Read-onlyIdempotent

Search UK Government and Parliament petitions by keyword across all states or a specific state filter.

Inputs: query (required), page, limit, state.

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    A3.8/5.0

    Scored across 5 tools

    Disambiguation4/5

    The list tools are split by petition state (open/closed/debated), which is clear enough, and get_uk_petition_details is the only detail-level tool. However, search_uk_petitions supports a state filter, so it overlaps with list_uk_open_petitions and list_uk_closed_petitions; an agent could reasonably pick either for a state-based listing.

    Naming Consistency5/5

    All five names follow a strict verb_noun pattern with a domain prefix: list_uk_*, search_uk_*, get_uk_*. Snake_case is used uniformly and the resource suffix is always the petition object.

    Tool Count5/5

    Five tools is a tight, well-scoped surface for a read-only petitions API, and each tool maps to a distinct listing or retrieval need without filler.

    Completeness4/5

    The surface covers the main lifecycle views (open, closed, debated, keyword search, full detail with response and debate record), which is solid for a read-only server. Minor gaps remain: no signature breakdowns by constituency or a 'recently updated/trending' view, but these are workable around.

    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 querying UK Parliament select and joint committee data—including committee details, scheduled and recent evidence hearings, regulatory inquiries, and published reports—over MCP with no API key required. Supports hosted Streamable HTTP or local stdio use for tracking Westminster scrutiny.
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables keyless discovery of UK Data.gov.uk CKAN open data through MCP, letting clients search datasets by keyword, organization, or tag, fetch full metadata with downloadable resources and licenses, and list publishing agencies and popular tags.
      MIT