mcp-congress_gov_server
by bsmi021·★ 8·Score 38
MCP server providing access to U.S. Congress.gov legislative data through hybrid resources and tools.
Overview
The Congress.gov API MCP Server is a TypeScript-based implementation that bridges MCP clients with the official Congress.gov API. It uses a hybrid approach with MCP Resources for direct lookups of legislative entities and MCP Tools for complex operations. The server includes rate limiting, comprehensive error handling, and clear documentation on the two-step workflow required for many operations. The implementation follows standard MCP patterns and provides both resource access and tool functionality for bills, members, committees, and other legislative data.
Try asking AI
After installing, here are 5 things you can ask your AI assistant:
When to choose this
Choose this server when you need to integrate U.S. legislative data into AI applications that can benefit from structured access to Congress.gov information with proper rate limiting and hybrid resource/tool approach.
When NOT to choose this
Don't choose this if you need non-U.S. legislative data, as it only provides access to U.S. Congress information through the Congress.gov API.
Tools this server exposes
2 tools extracted from the READMEcongress_searchSearch across collections to find legislative entities like bills, members, or committees.
congress_getSubResourceRetrieve related data using a parent URI to get detailed information about legislative entities.
Comparable tools
Installation
Installation
- Install dependencies:
npm install- Set up your API key:
Create a .env file with:
CONGRESS_GOV_API_KEY=YOUR_API_KEY_HERE- Build the server:
npm run build- Run the server:
npm startClaude Desktop Configuration
Add to your Claude Desktop config.json:
{
"mcpServers": {
"congress-gov": {
"command": "node",
"args": ["dist/server.js"]
}
}
}FAQ
- How do I get my Congress.gov API key?
- Sign up at https://api.data.gov/signup/ to obtain your free API key for accessing the Congress.gov API.
- Why do I need to use both search and subresource tools?
- Many operations require a two-step process: first find the entity ID using congress_search, then use that ID with congress_getSubResource to get related details. This is necessary due to API limitations and data structure.
Compare mcp-congress_gov_server with
Last updated · Auto-generated from public README + GitHub signals.