Congress.gov MCP Server: Empowering AI Agents with Legislative Data
The Congress.gov MCP (Model Context Protocol) server serves as an invaluable tool for anyone seeking direct access to legislative data from the United States Congress. By interfacing with the Congress.gov API, this MCP server unlocks a wealth of information, making it readily available for AI agents and other applications. This document provides a comprehensive overview of the Congress.gov MCP server, its installation process, configuration, roadmap, and potential applications, with a special emphasis on how it integrates with the UBOS platform.
What is an MCP Server?
Before diving into the specifics of the Congress.gov MCP server, itβs essential to understand what an MCP server is and its role in the broader AI ecosystem. MCP, or Model Context Protocol, is an open standard that streamlines how applications provide context to Large Language Models (LLMs). Think of it as a universal translator that allows AI models to understand and interact with external data sources and tools seamlessly.
An MCP server acts as a bridge, translating requests from AI models into specific actions on external systems and then relaying the results back to the AI model in a format it understands. This significantly expands the capabilities of AI models, allowing them to:
- Access real-time data
- Interact with APIs and databases
- Automate complex tasks
- Provide more informed and context-aware responses
In essence, MCP servers transform AI models from isolated entities into powerful tools capable of interacting with the real world.
Congress.gov MCP Server: A Deep Dive
The Congress.gov MCP server is specifically designed to interface with the Congress.gov API. This API provides access to a wide range of legislative information, including:
- Bills: Track the progress of legislation through Congress.
- Amendments: Examine proposed changes to bills.
- Summaries: Get concise overviews of legislative actions.
- Members: Access information about individual members of Congress.
- Committees: Explore the work of congressional committees.
- Votes: Review how members of Congress voted on specific issues.
- Congressional Record: Delve into the official record of congressional proceedings.
By wrapping this API in an MCP server, developers can easily integrate this wealth of legislative data into their AI applications. Imagine AI agents capable of:
- Providing real-time updates on pending legislation
- Analyzing voting patterns and identifying key influencers
- Summarizing complex legislative documents
- Answering questions about congressional procedures
The possibilities are virtually endless.
Installation and Configuration
Setting up the Congress.gov MCP server involves a few straightforward steps. The installation process can be done either through Smithery or manually.
Installing via Smithery
Smithery simplifies the installation process, automating much of the setup. To install the congress_gov_mcp for Claude Desktop using Smithery, run the following command:
bash npx -y @smithery/cli install @AshwinSundar/congress_gov_mcp --client claude
Manual Installation
For those who prefer a more hands-on approach, the manual installation process involves the following steps:
Prerequisites:
- Install uv. This can be done using the following command on macOS and Linux:
bash curl -LsSf https://astral.sh/uv/install.sh | sh
- Obtain a Congress.gov API key. This is required to access the API.
- Install Claude Desktop, Claude Code, or another client that supports MCP Integrations.
Initial Setup:
- Clone the repository and navigate into the directory:
bash git clone http://github.com/AshwinSundar/congress_gov_mcp cd congress_gov_mcp
- Install the necessary dependencies:
bash uv sync
- Create a
.envfile from the template:
bash cp .env.template .env
- Add your Congress.gov API key to the
.envfile:
CONGRESS_GOV_API_KEY=βyour-api-key-hereβ
Client Configuration:
Claude Desktop:
- Copy the absolute path to your
uvinstallation usingwhich uv. - Add the following configuration to your Claude Desktop configuration file (located at
~/Library/Application Support/Claude/claude_desktop_config.jsonon macOS or%APPDATA%Claudeclaude_desktop_config.jsonon Windows) within themcpServersblock:
{ βmcpServersβ: { βcongress_gov_mcpβ: { βcommandβ: β/absolute_path/to/uvβ, βargsβ: [ βrunβ, β/absolute_path_to/congress_gov_mcp/server.pyβ ] } } }
- Copy the absolute path to your
Claude Code:
- Add the following to
.mcp.jsonin the directory you are running Claude Code, inside themcpServersblock:
{ βmcpServersβ: { βcongress_gov_mcpβ: { βcommandβ: βuvβ, βargsβ: [ βrunβ, β/absolute_path_to/congress_gov_mcp/server.pyβ ] } } }
- Add the following to
Roadmap and Future Development
The Congress.gov MCP server is continuously evolving, with plans to expand its functionality and coverage. The roadmap includes support for additional endpoints of the Congress.gov API, such as:
/bill/actions/amendments/committees/cosponsors/relatedbills/subjects/summaries/text/titles
/amendment/actions/cosponsors/amendments/text
/summaries/congress/current
/member/sponsored-legislation/cosponsored-legislation
/committee/bills/reports/nominations/meetings/hearings/house-communication/senate-communication
/committee-report/text
/committee-print/text
/committee-meeting/meetings
/hearing/house-vote/congressional-record/daily-congressional-record/bound-congressional-record/house-communication/house-requirement/senate-communication/nomination/actions/hearings
/crsreport/treaty/actions/committees
This ongoing development ensures that the Congress.gov MCP server remains a valuable resource for accessing and utilizing legislative data.
Use Cases and Applications
The Congress.gov MCP server opens up a wide range of use cases and applications. Here are a few examples:
- AI-Powered Legislative Analysis: Develop AI agents that can analyze bills, amendments, and voting records to identify trends, patterns, and potential impacts of legislation.
- Real-Time Legislative Updates: Create applications that provide real-time updates on the status of bills and other legislative actions.
- Congressional Research Tools: Build tools that help researchers and journalists quickly find and analyze information about members of Congress, committees, and legislative issues.
- Civic Engagement Platforms: Develop platforms that allow citizens to easily track legislation, contact their representatives, and participate in the legislative process.
- Automated Legislative Reporting: Automate the process of generating reports on legislative activity for specific industries or interest groups.
Integrating with UBOS: Unleashing the Power of AI Agents
The Congress.gov MCP server can be seamlessly integrated with the UBOS (Unified Business Orchestration System) platform to create powerful AI agent applications. UBOS is a full-stack AI agent development platform that empowers businesses to orchestrate AI agents, connect them with enterprise data, build custom AI agents with their own LLM models, and create sophisticated multi-agent systems.
By integrating the Congress.gov MCP server with UBOS, you can unlock a new level of intelligence and automation in your legislative research and analysis workflows. Here are a few ways to leverage this integration:
- Build Custom AI Agents: Use UBOS to build custom AI agents that can access and analyze legislative data through the Congress.gov MCP server. These agents can be tailored to specific needs, such as tracking legislation related to a particular industry or analyzing the voting records of specific members of Congress.
- Connect to Enterprise Data: Connect the Congress.gov MCP server to your existing enterprise data sources within UBOS. This allows you to combine legislative data with your own internal data to gain deeper insights and make more informed decisions.
- Orchestrate Multi-Agent Systems: Use UBOS to orchestrate multi-agent systems that can automate complex legislative research and analysis tasks. For example, you could create a system that automatically tracks all bills related to a specific topic, analyzes their potential impact on your business, and generates reports for your stakeholders.
Key Features of UBOS for AI Agent Development
UBOS offers a comprehensive set of features that make it the ideal platform for developing AI agent applications powered by the Congress.gov MCP server:
- Visual Agent Designer: Design and build AI agents using a visual, drag-and-drop interface, without writing any code.
- Data Connectors: Connect to a wide range of data sources, including databases, APIs, and cloud storage services.
- LLM Integration: Integrate with your own LLM models or use pre-built models from leading providers.
- Multi-Agent Orchestration: Orchestrate complex workflows involving multiple AI agents.
- Monitoring and Analytics: Monitor the performance of your AI agents and track key metrics.
- Security and Compliance: Ensure the security and compliance of your AI agent applications.
Conclusion
The Congress.gov MCP server provides a valuable resource for accessing and utilizing legislative data. By integrating it with the UBOS platform, you can unlock the full potential of AI agents and automate complex legislative research and analysis workflows. Whether youβre a researcher, journalist, lobbyist, or simply an engaged citizen, the Congress.gov MCP server and UBOS can empower you with the information you need to make informed decisions and participate effectively in the legislative process.
By leveraging the power of AI and the wealth of data available through the Congress.gov API, you can gain a deeper understanding of the legislative landscape and drive meaningful change.
Congress.gov API Server
Project Details
- AshwinSundar/congress_gov_mcp
- MIT License
- Last Updated: 6/15/2025
Recomended MCP Servers
This is a repository to experiment with MCP for security
create agent with mcp server
β© Create, share, and use custom AI code assistants with our open-source IDE extensions and hub of models,...
PubMed MCP Server for accessing research papers
αα«ααα±αα ααΈααα²αα - Gikendaasowin Aabajichiganan - Cognitive Tools MCP server implemented from various prompting strategies.
An MCP server for people who surf waves and the web.
Supabase MCP Server enabling Cursor & Windsurf to use any method from Management API and query your database
MCP server for Grafana





