by AshwinSundar
Provides programmatic access to the official United States Congress API, enabling queries for bills, amendments, members, committees, hearings, votes, and related legislative data.
Congress Gov MCP is an unofficial Model Context Protocol (MCP) server that wraps the public Congress.gov API. It exposes a comprehensive set of endpoints covering legislation, amendments, summaries, members, committees, hearings, votes, congressional records, and more, allowing AI assistants and other clients to retrieve up‑to‑date congressional information.
uv
, and syncing dependencies..env
file from the template and add CONGRESS_GOV_API_KEY="your‑api‑key"
.uv run server.py
(or configure your MCP‑compatible client as described).{"method": "GET", "path": "/bill/117/hr/1"}
The server forwards the request to the underlying Congress.gov API and returns JSON data.uv
setup.Q: Do I need a paid subscription to the Congress.gov API? A: No, the API provides a free tier; however you must register for an API key.
Q: Can I run the server on Windows?
A: Yes. Install uv
for Windows, set up the .env
file, and run uv run server.py
.
Q: Which clients are supported? A: Any client that implements the Model Context Protocol, including Claude Desktop, Claude Code, and other MCP‑compatible tools.
Q: How do I add my API key to the server configuration?
A: Copy .env.template
to .env
and replace the placeholder with your key (CONGRESS_GOV_API_KEY="..."
).
Q: Is there a Docker image available?
A: Not currently; the recommended approach is the lightweight uv
installation.
Ever wonder what our (US) Congress is up to? Tired of reading the news to find out? Ask the US Congress API yourself.
Unofficial MCP server for the Congress.gov API
To install congress_gov_mcp for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install @AshwinSundar/congress_gov_mcp --client claude
Install uv. The easiest way on macOS and Linux is:
curl -LsSf https://astral.sh/uv/install.sh | sh
Get a Congress.gov API key.
Install Claude Desktop, Claude Code, or another client that supports MCP Integrations
Complete Prerequisites
Clone this repository, and cd
in:
git clone http://github.com/AshwinSundar/congress_gov_mcp
cd congress_gov_mcp
Install dependencies:
uv sync
Create a .env
file from the template:
cp .env.template .env
Add your Congress.gov API key to the .env
file:
congress_gov_mcp/.env
CONGRESS_GOV_API_KEY="your-api-key-here"
Complete Prerequisites
Copy the absolute path to your uv
installation:
which uv
Add the following to your Claude Desktop configuration file, inside the mcpServers
block:
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"congress_gov_mcp": {
"command": "/absolute_path/to/uv",
"args": [
"run",
"/absolute_path_to/congress_gov_mcp/server.py"
]
}
}
}
Complete Prerequisites
Add the following to .mcp.json
in the directory you are running Claude Code in, inside the mcpServers
block:
{
"mcpServers": {
"congress_gov_mcp": {
"command": "uv",
"args": [
"run",
"/absolute_path_to/congress_gov_mcp/server.py"
]
}
}
}
Please log in to share your review and rating for this MCP.
Explore related MCPs that share similar capabilities and solve comparable challenges
by exa-labs
Provides real-time web search capabilities to AI assistants via a Model Context Protocol server, enabling safe and controlled access to the Exa AI Search API.
by elastic
Enables natural‑language interaction with Elasticsearch indices via the Model Context Protocol, exposing tools for listing indices, fetching mappings, performing searches, running ES|QL queries, and retrieving shard information.
by graphlit
Enables integration between MCP clients and the Graphlit platform, providing ingestion, extraction, retrieval, and RAG capabilities across a wide range of data sources and connectors.
by mamertofabian
Fast cross‑platform file searching leveraging the Everything SDK on Windows, Spotlight on macOS, and locate/plocate on Linux.
by cr7258
Provides Elasticsearch and OpenSearch interaction via Model Context Protocol, enabling document search, index management, cluster monitoring, and alias operations.
by liuyoshio
Provides natural‑language search and recommendation for Model Context Protocol servers, delivering rich metadata and real‑time updates.
by ihor-sokoliuk
Provides web search capabilities via the SearXNG API, exposing them through an MCP server for seamless integration with AI agents and tools.
by fatwang2
Provides web and news search, URL crawling, sitemap extraction, deep‑reasoning, and trending topic retrieval via Search1API, exposed as an MCP server for integration with AI clients.
by cnych
Provides SEO data retrieval via Ahrefs, exposing MCP tools for backlink analysis, keyword generation, traffic estimation, and keyword difficulty, with automated CAPTCHA solving and response caching.