Skip to main content
Glama
pipeworx-io

mcp-congress

by pipeworx-io

Congress.gov — Bills, Votes, Members

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.

Part of Pipeworx — an MCP gateway connecting AI agents to 1394+ live data sources.

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.

Related MCP server: OpenDiscourse MCP

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

Prefix

What it is

Chamber

HR

House Bill

House

HRES

House Resolution (procedural)

House

HJRES

House Joint Resolution

House

HCONRES

House Concurrent Resolution

House

S

Senate Bill

Senate

SRES

Senate Resolution

Senate

SJRES

Senate Joint Resolution

Senate

SCONRES

Senate Concurrent Resolution

Senate

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.

Quick Start

Add to your MCP client (Claude Desktop, Cursor, Windsurf, etc.):

{
  "mcpServers": {
    "congress": {
      "url": "https://gateway.pipeworx.io/congress/mcp"
    }
  }
}

Or connect to the full Pipeworx gateway for access to all 1394+ data sources:

{
  "mcpServers": {
    "pipeworx": {
      "url": "https://gateway.pipeworx.io/mcp"
    }
  }
}

Using with ask_pipeworx

Instead of calling tools directly, you can ask questions in plain English:

ask_pipeworx({ question: "your question about Congress data" })

The gateway picks the right tool and fills the arguments automatically.

More

License

MIT

A
license - permissive license
-
quality - not tested
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    B
    quality
    B
    maintenance
    The open Congress.gov MCP server. Provides comprehensive access to the Congress.gov API through 6 organized toolsets, enabling AI systems to retrieve and interact with legislative data from the United States Congress with a clean, unified interface.
    20
    32
    Sustainable Use v1.0
  • F
    license
    -
    quality
    D
    maintenance
    Enables access to comprehensive U.S. legislative and governmental data from GovInfo.gov and Congress.gov APIs, including bills, Congressional records, Federal Register documents, member information, and committee activities.
    1
  • A
    license
    A
    quality
    B
    maintenance
    Enables AI to search and retrieve detailed information from U.S. government datasets, including GAO reports, oversight recommendations, congressional bills, and more, with OData filtering and faceted search.
    2
    4
    MIT

View all related MCP servers

Related MCP Connectors

  • GovTrack MCP — federal US Congress data (free, no auth)

  • Nonpartisan U.S. Congress data: bill decodes, rep lookup, bilingual EN/ES, read-only, no accounts.

  • Search US grants + federal contracts (Grants.gov + SAM.gov) from any LLM.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/pipeworx-io/mcp-congress'

If you have feedback or need assistance with the MCP directory API, please join our Discord server