@pipeworx/congress

Connect: https://gateway.pipeworx.io/congress/mcp · Install: one-click buttons

Tools: 4

The Library of Congress’s Congress.gov API. Bills (House and Senate), members of Congress, committees, votes, congressional records, treaties. The authoritative source for “what’s happening on Capitol Hill” — bill status, who voted what, who sponsors what. Free, requires a free API key.

Why this matters for AI agents

For policy research, agents need to know what bills exist, who’s sponsoring them, where they are in the legislative process, and how votes broke. Congress.gov is the canonical record. Pair with Federal Register (rules implementing legislation) and USAspending (where the money goes after authorization).

Common flows:

  • Bill search. “What bills are pending on AI regulation?” → search by keyword, filter by Congress and chamber.
  • Bill detail. “Status of HR 9876?” → get full bill record with sponsor, cosponsors, committee referrals, recent action.
  • Member lookup. “Who represents Colorado’s 1st district?” → member by state/district or by name.
  • Vote tracking. Recorded votes by bill, member, or session.

Auth

Congress.gov requires a free API key from https://api.congress.gov/sign-up/. Pass via _apiKey. Generous rate limits.

Congress numbering

Congresses are numbered sequentially: 119th Congress = 2025-2027 (started Jan 2025), 118th = 2023-2025, etc. Bills carry their Congress number — HR1 of the 119th is a different bill than HR1 of the 118th.

Bill type prefixes

PrefixWhat it isChamber
HRHouse BillHouse
HRESHouse Resolution (procedural)House
HJRESHouse Joint ResolutionHouse
HCONRESHouse Concurrent ResolutionHouse
SSenate BillSenate
SRESSenate ResolutionSenate
SJRESSenate Joint ResolutionSenate
SCONRESSenate Concurrent ResolutionSenate

For “regular legislation” purposes, HR and S are the meaningful types. Resolutions don’t have force of law (HRES, SRES) or are limited (HJRES, SJRES — the latter can amend the Constitution if ratified).

Common pitfalls

  • Bill status nuance. “Introduced” is the start. “Reported” by committee is meaningful progress. “Engrossed” / “passed chamber” matters. “Enrolled” / “presented to president” is near-final. Most bills die quietly in committee; “introduced” alone is weak signal.
  • Companion bills. Identical legislation often introduced in both chambers as paired bills (HR 1234 + S 567). Both must pass. The Congress.gov API has cross-references; use them.
  • Roll-call votes only. Many congressional decisions happen by voice vote or unanimous consent. Those don’t appear in roll-call records. “No vote against” doesn’t mean unanimous support.
  • Committee referrals. A bill can be referred to multiple committees (sequential, joint, or split). It must clear all to advance. The committee structure matters more than the introduction.
  • Member-vote alignment. Don’t equate “voted yes” with “supports.” Procedural votes (motion to recommit, cloture) often have substantive meaning that surface text doesn’t capture.
  • Cosponsorship is cheap. Members cosponsor freely. A 100-cosponsor bill is meaningful; a 5-cosponsor bill in a 435-member House isn’t necessarily.

Tools

  • search_bills — Search US congressional bills by keyword. Returns bill type, number, title, status, sponsor, and introduction date. Use get_bill with the ID for full details.
  • get_bill — Get full details for a congressional bill by its ID. Returns text, sponsors, cosponsors, committee assignments, actions, and vote history.
  • get_members — Get current members of Congress with their name, party, state, district (for representatives), and contact information.
  • get_votes — Get recent congressional votes on bills. Returns question, result, chamber, vote counts (yes/no/abstain), date, and related bill.

Tools

  • get_bill — Get full details for a congressional bill by its ID. Returns text, sponsors, cosponsors, committee assignments, actions, and vote history.
  • get_members — Get current members of Congress with their name, party, state, district (for representatives), and contact information.
  • get_votes — Get recent congressional votes on bills. Returns question, result, chamber, vote counts (yes/no/abstain), date, and related bill.
  • search_bills — Search US congressional bills by keyword. Returns bill type, number, title, status, sponsor, and introduction date. Use get_bill with the ID for full details.

Regenerated from source · build May 9, 2026