GovTrack

live GovernmentLegal

US Congress bills, votes, members, ideology scores. No auth.

6 tools
0ms auth
free tier 50 calls/day

Tools

search_bills

Federal bills with status, sponsor, prognosis.

Parameters
Name Type Description
q opt string Title search
congress opt number Congress number
current_status opt string Status filter (comma-sep for OR)
sponsor opt number Sponsor person ID
bill_type opt string Bill type slug
order_by opt string Sort field (prefix - for desc)
limit opt number 1-100
offset opt number Pagination offset
Try it
get_bill required: bill_id

Single bill by GovTrack ID.

Parameters
Name Type Description
bill_id req number GovTrack bill ID
Try it
search_members

Senators / representatives. Filter by chamber, state, party, current.

Parameters
Name Type Description
role_type opt string senator | representative
state opt string 2-letter state code
party opt string Party name
current opt boolean Currently serving only
congress opt number Restrict to a congress
district opt number House district
limit opt number 1-100
offset opt number Offset
Try it
get_member required: person_id

Member detail by GovTrack person ID.

Parameters
Name Type Description
person_id req number GovTrack person ID
Try it
search_votes

Roll-call votes filtered by congress, chamber, category, date.

Parameters
Name Type Description
congress opt number Congress number
chamber opt string house | senate
category opt string Vote category
related_bill opt number Related bill ID
created__gte opt string YYYY-MM-DD
created__lte opt string YYYY-MM-DD
order_by opt string Sort field
limit opt number 1-100
offset opt number Offset
Try it
get_vote_detail required: vote_id

Per-member votes on a roll call.

Parameters
Name Type Description
vote_id req number GovTrack vote ID
Try it

Test with curl

The gateway speaks JSON-RPC 2.0 over HTTP POST. You can test any pack directly from the terminal.

List available tools
bash
curl -X POST https://gateway.pipeworx.io/govtrack/mcp \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'
Call a tool
bash
curl -X POST https://gateway.pipeworx.io/govtrack/mcp \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"search_bills","arguments":{}}}'

Use with the SDK

Install @pipeworx/sdk to call tools from any TypeScript/Node project.

TypeScript
import { Pipeworx } from '@pipeworx/sdk';
const px = new Pipeworx();
const result = await px.call("search_bills", {});
ask_pipeworx
// Or ask in plain English:
const answer = await px.ask("us congress bills, votes, members, ideology scores");