uk-parliament-bills-mcp
# uk-parliament-bills-mcp
Live UK Parliament bills and legislative tracking over Model Context Protocol (MCP). Public affairs teams, legal counsel, policy researchers, and regulatory analysts can search Commons and Lords bills, inspect sponsors and legislative stages, and pull official bill publications with zero API keys and zero sign-up. It connects right away.
## Hosted endpoint
Point any Streamable HTTP MCP client at the free hosted Cloudflare Worker endpoint.
```text
https://uk-parliament-bills-mcp.lipmichal.workers.dev/mcp
```
## Available tools
| Tool | Purpose |
| --- | --- |
| `search_uk_bills` | Search UK Parliament bills by title keyword, current house, originating house, Act status, or update order |
| `get_uk_bill_details` | Fetch full details for a UK Parliament bill by ID, including long title, sponsors, current stage, and Act status |
| `get_uk_bill_stages` | Retrieve the full Commons and Lords legislative stage timeline and sitting dates for a bill |
| `get_uk_bill_publications` | List official bill texts, explanatory notes, amendment papers, and enacted Act links for a bill |
| `list_uk_bill_types` | List official UK Parliament bill types and Public, Private, or Hybrid categories |
## Client configuration
Add the remote URL to Claude Desktop, Cursor, or VS Code MCP settings.
```json
{
"mcpServers": {
"uk-parliament-bills": {
"url": "https://uk-parliament-bills-mcp.lipmichal.workers.dev/mcp"
}
}
}
```
## Run locally over stdio
You can also run the server locally on Node 20 or newer over stdio.
```bash
npm install
npm run build
npm start
```
## Compliance and reliability
Every upstream request queries `bills-api.parliament.uk/api/v1/` with a polite `User-Agent` header (`mcpstamp-uk-parliament-bills/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 down to the SDK version 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-bills-mcp) with hosted commercial servers and priority endpoints.
TDQS
Scored across 5 tools
Each tool targets a distinct facet: publications (document URLs), types (reference taxonomy), search (keyword/status filtering), details (metadata), and stages (legislative progression). The only mild overlap is that get_uk_bill_details reports the current stage while get_uk_bill_stages returns the full progression, but the descriptions make the boundary clear enough.
All five tools follow a clean verb_noun pattern with a consistent uk_bill prefix (get_/list_/search_). The only trivial deviation is the plural 'bills' in search_uk_bills, which reads naturally for a search endpoint.
Five tools is well-scoped for a read-only bills lookup server: one reference list (types), one discovery tool (search), and three detail-fetching tools keyed on bill_id. No tool feels redundant or padded.
The read-only surface covers discovery, metadata, document links, stage history, and type taxonomy, which is solid lifecycle coverage for this domain. Minor gaps exist: no way to filter or retrieve bills by sponsor/member, and amendments or divisions/votes on bills are not exposed.