Congress.gov API

Congress.gov API

Unofficial MCP server to access real-time data from the Congress.gov API.

17
Stars
4
Forks
0
Releases

Overview

The Congress.gov MCP server is an unofficial MCP (Model Context Protocol) implementation that enables clients like Claude Desktop and Claude Code to query real-time data from the United States Congress via the official Congress.gov API. It provides a runnable server (server.py) that you can launch with uv and connect through your MCP client. The repository includes Smithery-based installation and a manual setup workflow, requiring an API key from Congress.gov and a compatible MCP client. Key setup steps include cloning the repository, syncing dependencies with uv, and creating a .env file containing CONGRESS_GOV_API_KEY. The README also includes configuration templates for Claude Desktop and Claude Code so you can point clients at the server and run it with uv using a specified script. The roadmap lists implemented Congress.gov resources (bills, amendments, summaries, congress, members, committees, and related materials) as well as planned endpoints, providing transparency into current capabilities and upcoming work.

Details

Owner
AshwinSundar
Language
Python
License
MIT License
Updated
2025-12-07

Features

MCP-compatible API surface

Exposes Congress.gov resources via MCP, enabling clients to query bills, amendments, summaries, committees, and related data.

Smithery deployment

Automated installation for Claude Desktop via Smithery CLI.

Manual installation flow

Comprehensive local setup with prerequisites (uv, API key) and environment configuration.

Environment-based API key management

Stores Congress.gov API key in a .env file (CONGRESS_GOV_API_KEY) for secure access.

Client configuration templates

Provides sample MCP config blocks for Claude Desktop and Claude Code to connect to the server.

Claude integration ready

Designed to be used with MCP-enabled Claude clients for real-time data access.

Roadmap visibility

Roadmap documents implemented and planned Congress.gov endpoints to guide development.

Audience

DevelopersBuild MCP integrations and fetch real-time Congress.gov data for clients.
ResearchersAccess legislative data for research and policy analysis within MCP-enabled tools.
MCP clientsConfigure and run MCP servers to query Congress.gov data with compatible clients.

Tags

Congress.gov APIMCPunofficialreal-time dataClaude integrationuv runtimeAPI keygovernment data