get_bill
Pack: openstates · Endpoint: https://gateway.pipeworx.io/openstates/mcp
Fetch a single bill with full detail: versions, sponsorships, related/companion bills, actions, and votes. Pass the OpenStates ID (e.g., “ocd-bill/abc…”) or a state/session/identifier triple.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
openstates_id | string | no | OpenStates bill ID (preferred, e.g., “ocd-bill/…”) |
jurisdiction | string | no | State code (use with session + identifier) |
session | string | no | Session ID (use with jurisdiction + identifier) |
identifier | string | no | Bill identifier within the session (e.g., “AB-123”) |
Example call
curl -X POST https://gateway.pipeworx.io/openstates/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"get_bill","arguments":{}}}'
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"openstates": {
"url": "https://gateway.pipeworx.io/openstates/mcp"
}
}
}
See Getting Started for client-specific install steps.