uk-parliament-petitions-civic-mcp
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@uk-parliament-petitions-civic-mcp show me the top open UK Parliament petitions by signature count"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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/mcpRelated MCP server: uk-parliament-bills-mcp
Available tools
Tool | Purpose |
| List currently open UK Parliament petitions ordered by signature count |
| List closed UK Parliament petitions with final signature totals |
| Search UK petitions by keyword across open, closed, or all states |
| Fetch full background text, government response, and debate details by petition ID |
| 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 startCompliance 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.
Free live-data MCP directory with hosted keyless endpoints and client setup guides.
Free MCP readiness checker to score any MCP server for Claude, ChatGPT, and registry submission.
MCP Readiness Audit ($490) for teams shipping a production server who want a hands-on security, schema, and store review.
Zovo Pro MCP Bundle ($39 one-time) with hosted commercial servers and priority endpoints.
Available Tools
5 toolsget_uk_petition_detailsGet UK petition detailsARead-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 petitionsARead-onlyIdempotent
List closed UK Parliament petitions with their final signature counts and closing dates.
Inputs: page, limit.
list_uk_debated_petitionsList UK debated petitionsARead-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 petitionsARead-onlyIdempotent
List currently open UK Government and Parliament petitions on petition.parliament.uk ordered by signature count.
Inputs: page, limit.
search_uk_petitionsSearch UK petitionsBRead-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
Scored across 5 tools
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.
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.
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.
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
Related MCP Connectors
UK Parliament MCP — Members, Bills, Hansard APIs
Unofficial UK Police MCP — wraps the UK Police Data API (free, no auth) https://data.police.uk/api
Search MPs and Lords, fetch profiles, synopses, and Westminster constituencies
data.gov.uk MCP — UK national open-data portal (CKAN API).
Related MCP Servers
- AlicenseAqualityDmaintenanceProvides 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.59MIT
- AlicenseAqualityBmaintenanceEnables searching and inspecting live UK Parliament Commons and Lords bills, sponsors, legislative stages, official publications, and Act status through MCP without API keys or sign-up.5MIT
- AlicenseNot gradedqualityCmaintenanceEnables 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
- AlicenseNot gradedqualityCmaintenanceEnables 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