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

NameTypeRequiredDescription
openstates_idstringnoOpenStates bill ID (preferred, e.g., “ocd-bill/…”)
jurisdictionstringnoState code (use with session + identifier)
sessionstringnoSession ID (use with jurisdiction + identifier)
identifierstringnoBill 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.

Regenerated from source · build May 21, 2026