search_bills
Pack: govtrack · Endpoint: https://gateway.pipeworx.io/govtrack/mcp
Search federal congressional bills. Filter by congress (e.g., 118 = 2023-2024), current_status, sponsor person ID, free-text query. Returns title, status, sponsor, dates, prognosis if available.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
q | string | no | Free-text search across title |
congress | number | no | Congress number (e.g., 118) |
current_status | string | no | introduced | referred | reported | passed_simple_resolution | enacted_signed | etc. Comma-separated for OR. |
sponsor | number | no | Sponsor person ID |
bill_type | string | no | house_bill | house_resolution | house_concurrent_resolution | house_joint_resolution | senate_bill | senate_resolution | senate_concurrent_resolution | senate_joint_resolution |
order_by | string | no | Sort field (prefix - for desc), e.g. “-current_status_date” |
limit | number | no | 1-100 (default 20) |
offset | number | no | Pagination offset |
Example call
curl -X POST https://gateway.pipeworx.io/govtrack/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": {
"govtrack": {
"url": "https://gateway.pipeworx.io/govtrack/mcp"
}
}
}
See Getting Started for client-specific install steps.