MCP Catalogs
Home

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.

developer-toolsai-llmgovernment
3
Forks
0
Open issues
12 mo ago
Last commit
2d ago
Indexed

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:

you:AI assistants needing to retrieve U.S. legislative information for policy analysis
you:Research applications tracking voting records and bill sponsorship patterns
you:Development tools requiring real-time access to congressional data for documentation or applications
you:How do I get my Congress.gov API key?
you:Why do I need to use both search and subresource tools?

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 README
  • congress_search

    Search across collections to find legislative entities like bills, members, or committees.

  • congress_getSubResource

    Retrieve related data using a parent URI to get detailed information about legislative entities.

Comparable tools

legislative-tracking-apicongressional-data-servicehouse-mcp-serversenate-mcp-server

Installation

Installation

  1. Install dependencies:
npm install
  1. Set up your API key:

Create a .env file with:

CONGRESS_GOV_API_KEY=YOUR_API_KEY_HERE
  1. Build the server:
npm run build
  1. Run the server:
npm start

Claude 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

GitHub →

Last updated · Auto-generated from public README + GitHub signals.