Congress
v0.2.1Congress MCP — US Congress bill/law/member data via the official congress.gov API (Library of…
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
search_bills
ANSWERS "what bills about X has Congress introduced" / "recent congressional bills on X" / "federal legislation about X" / "find the <Named> Act" — searches US FEDERAL congressional bills (US House & Senate, national laws) BY BILL NAME, SUBJECT OR KEYWORD, including recently introduced ones. Full-text search is via GovInfo (the GPO's index of the same bill documents congress.gov itself searches — congress.gov's own /bill endpoint has no keyword query at all), then RE-RANKED locally by how well each bill's title matches the query — exact title first, then a title containing the phrase, th…
| Parameter | Type | Description |
|---|---|---|
query * | string | Bill name, keywords or subject to match against bill titles, e.g. "Lower Energy Costs Act" or "crypto" |
congress | number | Optional Congress number (e.g. 111) to restrict results to, filtered locally against the search results. |
limit | number | Number of results to return (default: 10, max: 100) |
get_bill
Look up one congressional bill from congress.gov (the Library of Congress's official API) by its real-world identifier — congress number, bill type and bill number, e.g. the 118th Congress H.R. 1. Returns title, sponsor, current status (congress.gov's free-text `latestAction`) with its date, introduced date, whether/which law it became, and the congress.gov link. Does NOT return bill text, cosponsors, committee assignments or vote history. Requires an API key: a free api.data.gov key works — supplied automatically when called through the Pipeworx gateway.
| Parameter | Type | Description |
|---|---|---|
bill_type * | string | Bill type: hr, s, hres, sres, hjres, sjres, hconres or sconres (congress.gov's own short codes). The long GovTrack-era forms (house_bill, senate_bill, ...) and 'h.r.' are also accepted. |
congress * | number | Congress number, e.g. 118 |
number * | number | Bill number within that congress, e.g. 1 for H.R. 1 |
get_public_laws
ANSWERS "how many public laws has the 119th Congress passed" / "most recent public law" / "list of laws enacted this Congress" — returns public (or private) laws enacted in one Congress, from congress.gov's official /law endpoint. GovTrack never had an equivalent endpoint at all. Returns the total count, the most recent law (number, originating bill, title, enactment date), and the list of laws (newest first). Requires an API key (see get_bill).
| Parameter | Type | Description |
|---|---|---|
congress * | number | Congress number, e.g. 119 for the 119th Congress (2025–2026). |
law_type | string | "pub" (default, public laws) or "priv" (private laws). |
limit | number | Number of laws to return (default: 20, max: 100). |
get_members
Get current members of Congress with their name, party, state, district (for representatives), chamber and first term-start year, from congress.gov. Requires an API key (see get_bill).
| Parameter | Type | Description |
|---|---|---|
limit | number | Number of results to return (default: 50, max: 600) |
get_votes
ANSWERS "how did the Senate vote on X" / "recent House roll calls" / "cloture vote tally" — recent roll-call votes for ONE chamber, newest first within that chamber + session. House votes come from the Clerk of the House's own records (via congress.gov's official API), addressed directly by roll-call number (House roll numbers are sequential 1..N within a session) — so this is capped at 25 per call for House, since each House vote costs its own upstream request; a higher `limit` is silently clamped with a note, not an error. Senate votes come from the Congressional Record (U.S. Government…
| Parameter | Type | Description |
|---|---|---|
chamber * | string | Required: "house" or "senate". |
congress | number | Congress number, e.g. 119. Omit for the current Congress. |
limit | number | Number of votes to return (default 20, max 100). |
session | number | 1 or 2 — each Congress has exactly two sessions, one per calendar year. Can be omitted only when congress is also omitted, or is the current Congress (it is then inferred from today's date). |
get_recent_bills
List the most recent congressional bills — newest first by introduction date or by latest update — from congress.gov. This tool takes NO subject or keyword: it returns whatever Congress touched most recently, so it can only answer OPEN-ENDED recency questions — "what bills were introduced this week", "latest bills in Congress", "what is Congress working on now", "recent activity on bills". PREFER OVER congress_search_bills for exactly those (it ranks by keyword relevance and surfaces older bills). If the question NAMES a bill, act, or subject — "status of the NDAA", "the defense author…
| Parameter | Type | Description |
|---|---|---|
by | string | Recency basis: "introduced" (default, newest introductions) or "activity" (most recent update / latest action). |
congress | number | Congress number to filter by (e.g., 119 for 2025–2026). Omit for all. |
limit | number | Number of bills to return (default: 20, max: 100) |
committee_leadership
ANSWERS "who chairs X committee" / "who are the ranking members of every House committee" / "list of committee chairs in Congress" — returns EVERY standing committee in one chamber (or all three chambers) of the 119th Congress with its chair and ranking member (name, party, bioguide id). Pass chamber to scope to "house", "senate" or "joint"; omit it for all three. For one committee's FULL roster (every member, not just the chair/ranking pair) use committee_members instead. SOURCE: github.com/unitedstates/congress-legislators (public domain), baked periodically — NOT GovTrack, which has no…
| Parameter | Type | Description |
|---|---|---|
chamber | string | "house", "senate" or "joint". Omit to return every chamber. |
committee_members
ANSWERS "who is on the House Appropriations committee" / "roster of the Senate Judiciary committee" / "Democratic members of Ways and Means" / "chair of the Armed Services Subcommittee on Cybersecurity" — returns one committee OR SUBCOMMITTEE's full membership with each member's party, rank and title (Chair / Ranking Member / plain member), plus its own chair and ranking member. Identify it by committee_id (the exact id from committee_leadership, e.g. "HSWM" for House Ways and Means, or a subcommittee id like "SSAS21") OR by name — name matching searches SUBCOMMITTEE names too (bare, e.g.…
| Parameter | Type | Description |
|---|---|---|
chamber | string | Optional: "house", "senate" or "joint" — disambiguates a name that matches more than one chamber. |
committee_id | string | Exact committee or subcommittee id, e.g. "HSWM" (House Ways and Means) or "SSJU" (Senate Judiciary). Takes priority over name. |
name | string | Committee name or partial name to search for, e.g. "Appropriations", "Judiciary", "Foreign Affairs". |
member_committees
ANSWERS "what committees is X on" / "committee assignments for Senator X" — returns every committee and subcommittee assignment (committee name, chamber, rank, title) for one member of the 119th Congress, identified by their bioguide id (the standard Congress.gov/GovInfo member identifier, e.g. "N000015" for Richard Neal — committee_leadership and committee_members both return bioguide ids for the members they list, so look a member up there first if you only have a name). SOURCE: github.com/unitedstates/congress-legislators (public domain), baked periodically, current Congress only.
| Parameter | Type | Description |
|---|---|---|
bioguide_id * | string | The member's bioguide id, e.g. "N000015". |
member_legislative_stats
ANSWERS "how many bills has Rep. X sponsored", "how bipartisan is Senator Y", "what share of X's bills have other-party cosponsors" — legislative activity statistics for ONE member of Congress in one Congress, computed from congress.gov records: bills sponsored, bills cosponsored, sponsored bills that became law, and how many of the member's sponsored bills drew at least one cosponsor from the other major party (checked on the newest bills_analysed of them). These are our own computed counts, not an official score, and not GovTrack's ranked report-card metrics (no percentile/rank is computed…
| Parameter | Type | Description |
|---|---|---|
bioguide_id * | string | The member's bioguide id, e.g. "R000603" (get_members returns them). |
congress | number | Congress number, e.g. 118 for 2023-2024 (default: the current Congress). |