Skip to main content
Glama

Congress[.]gov MCP Server

by AshwinSundar

Congress.gov MCP server

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

Installation

Prerequisites

  1. Install uv. The easiest way on macOS and Linux is:
    curl -LsSf https://astral.sh/uv/install.sh | sh
  2. Get a Congress.gov API key.

Setup

  1. Complete Prerequisites
  2. Clone this repository, and cd in:
    git clone http://github.com/AshwinSundar/congress_gov_mcp
    cd congress_gov_mcp`
  3. Install dependencies:
    uv sync
  4. Create a .env file from the template:
    cp .env.template .env
  5. Add your Congress.gov API key to the .env file:

congress_gov_mcp/.env

CONGRESS_GOV_API_KEY="your-api-key-here"

Configuration

Claude Desktop
  1. Complete Prerequisites
  2. Copy the absolute path to your uv installation:
which uv
  1. Add the following to your Claude Desktop configuration file: 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", "--env-file", "/absolute_path/to/congress_gov_mcp/.env", "/absolute_path_to/congress_gov_mcp/server.py" ] } } }
Claude Code
  1. Complete Prerequisites
  2. Add the following to .mcp.json in the directory you are running Claude Code in:
{ "mcpServers": { ..., "congress_gov_mcp": { "command": "uv", "args": [ "run", "--env-file", "/absolute_path/to/congress_gov_mcp/.env", "/absolute_path_to/congress_gov_mcp/server.py" ] } } }

Roadmap

  • api.congress.gov
    • /bill
      • /{congress}
      • /{congress}/{billType}
      • /{congress}/{billType}/{billNumber}
        • /actions
        • /amendments
        • /committees
        • /cosponsors
        • /relatedbills
        • /subjects
        • /summaries
        • /text
        • /titles
    • /amendment
      • /{congress}
      • /{congress}/{amendmentType}
      • /{congress}/{amendmentType}/{amendmentNumber}
        • /actions
        • /cosponsors
        • /amendments
        • /text
    • /summaries
      • /{congress}
      • /{congress}/{billType}
    • /congress
      • /{congress}
      • /current
    • /member
      • /{bioguideId}
        • /sponsored-legislation
        • /cosponsored-legislation
    • /committee
      • /{systemCode}
        • /bills
        • /reports
        • /nominations
        • /meetings
        • /hearings
        • /house-communication
        • /senate-communication
    • /committee-report
      • /{congress}
      • /{congress}/{reportType}
      • /{congress}/{reportType}/{reportNumber}
        • /text
    • /committee-print
      • /{congress}
      • /{congress}/{printType}
      • /{congress}/{printType}/{printNumber}
        • /text
    • /committee-meeting
      • /{congress}
      • /{congress}/{chamber}
        • /meetings
    • /hearing
      • /{congress}
      • /{congress}/{chamber}
      • /{congress}/{chamber}/{hearingNumber}
    • /house-vote
      • /{congress}
      • /{congress}/{session}
      • /{congress}/{session}/{rollCallNumber}
    • /congressional-record
      • /{volume}
      • /{volume}/{pagePrefix}
      • /{volume}/{pagePrefix}/{pageNumber}
    • /daily-congressional-record
      • /{volume}
      • /{volume}/{issue}
    • /bound-congressional-record
      • /{year}
      • /{year}/{month}
      • /{year}/{month}/{day}
    • /house-communication
      • /{congress}
      • /{congress}/{communicationType}
      • /{congress}/{communicationType}/{communicationNumber}
    • /house-requirement
      • /{congress}
      • /{congress}/{requirementNumber}
    • /senate-communication
      • /{congress}
      • /{congress}/{communicationType}
      • /{congress}/{communicationType}/{communicationNumber}
    • /nomination
      • /{congress}
      • /{congress}/{nominationNumber}
        • /actions
        • /hearings
    • /crsreport
      • /{productCode}
    • /treaty
      • /{congress}
      • /{congress}/{treatyNumber}
        • /actions
        • /committees
-
security - not tested
A
license - permissive license
-
quality - not tested

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

Ever wonder what our (US) Congress is up to? Fed up with the news? Ask Congress.gov yourself what's going on.

  1. Installation
    1. Prerequisites
    2. Setup
    3. Configuration
  2. Roadmap

    Related MCP Servers

    View all related MCP servers

    MCP directory API

    We provide all the information about MCP servers via our MCP API.

    curl -X GET 'https://glama.ai/api/mcp/v1/servers/AshwinSundar/congress_gov_mcp'

    If you have feedback or need assistance with the MCP directory API, please join our Discord server