
CongressMCP
โ 32from amurshak
Access comprehensive U.S. Congressional data, including bills, votes, and member information, via the Congress.gov API.
CongressMCP
91+ congressional data tools for Claude, Cursor, VS Code, and any MCP client.
Access live U.S. Congressional data โ bills, votes, members, committees, hearings, and more โ through natural language via the Model Context Protocol.
Tools
7 toolsets, 90+ operations covering the Congress.gov API:
| Toolset | Operations | What it does |
|---|---|---|
| Bills | 16 | Search, details, text, actions, amendments, cosponsors, subjects |
| Laws | 2 | Enacted public/private laws by congress (get_laws, get_law_details) |
| Amendments | 7 | Search, details, actions, sponsors, text |
| Treaties & Summaries | 5 | Treaty search, actions, committees, text; bill summaries |
| Members & Committees | 13 | Member search by name/state/district, sponsored legislation, committee bills/reports/communications |
| Voting & Nominations | 13 | House/Senate votes, nominations, roll calls |
| Records & Hearings | 10+ | Congressional Record, hearings, CRS reports, committee prints |
search_committees and search_summaries take an optional keywords argument โ
omit it to browse/list (committees can also be filtered by chamber/committee_type).
git clone https://github.com/amurshak/congressMCP
cd congressMCP
pip install -e .
# stdio (default โ for MCP clients)
CONGRESS_API_KEY=your-key congressmcp
# HTTP (for self-hosting / remote access)
congressmcp --transport streamable-http --port 8000Before it works, you'll need: CONGRESS_API_KEY
Quick Start
1. Get a free Congress.gov API key
Sign up at api.congress.gov/sign-up (takes 30 seconds, completely free).
2. Configure your MCP client
Claude Desktop โ add to ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"congressmcp": {
"command": "uvx",
"args": ["congressmcp"],
"env": {
"CONGRESS_API_KEY": "your-api-key-here"
}
}
}
}VS Code โ add to .vscode/mcp.json:
{
"servers": {
"congressmcp": {
"command": "uvx",
"args": ["congressmcp"],
"env": {
"CONGRESS_API_KEY": "your-api-key-here"
}
}
}
}Cursor โ add to ~/.cursor/mcp.json using the same format as VS Code.
3. Start asking questions
"Find recent climate change bills in the 119th Congress" "How did senators from California vote on the latest defense bill?" "Who are the members of the Senate Judiciary Committee?" "What's the latest action on H.R. 1234?"
Running from source
git clone https://github.com/amurshak/congressMCP
cd congressMCP
pip install -e .
# stdio (default โ for MCP clients)
CONGRESS_API_KEY=your-key congressmcp
# HTTP (for self-hosting / remote access)
congressmcp --transport streamable-http --port 8000Configuration
| Variable | Required | Default | Description |
|---|---|---|---|
CONGRESS_API_KEY | Yes | โ | Your free Congress.gov API key |
MCP_TRANSPORT | No | stdio | Transport mode (stdio or streamable-http) |
ENABLE_CACHING | No | false | Cache API responses in memory |
CACHE_TIMEOUT | No | 300 | Cache TTL in seconds |
No common issues documented yet. If you hit a problem, the repository's GitHub Issues page is the best place to look.
License
Sustainable Use License
Built for government transparency and accessible civic data.