search_bills
Pack: uk-parliament · Endpoint: https://gateway.pipeworx.io/uk-parliament/mcp
Search bills by title / session / stage / sponsoring member.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
query | string | no | Search bill title and short title |
session | number | no | Session id (numeric) |
stage | number | no | Stage id (1=intro, 2=first reading, etc.) |
member_id | number | no | Sponsoring member id |
current_house | number | no | |
sort | string | no | TitleAscending | TitleDescending | DateUpdatedAscending | DateUpdatedDescending |
take | number | no | 1-50 (default 20) |
skip | number | no | 0-based offset |
Example call
curl -X POST https://gateway.pipeworx.io/uk-parliament/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"search_bills","arguments":{}}}'
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"uk-parliament": {
"url": "https://gateway.pipeworx.io/uk-parliament/mcp"
}
}
}
See Getting Started for client-specific install steps.