Billy MCP Client

Access live U.S. congressional data from the Congress.gov API.

šŸ›ļø Billy MCP Client

Congressional Intelligence API for Claude Desktop & Cursor

Connect your AI assistant to live congressional data with Billy MCP - the most comprehensive congressional intelligence API available.

Billy MCP License Node

✨ Features

  • šŸ›ļø 40+ Congressional Tools - Comprehensive access to bills, amendments, votes, members, and more
  • šŸ”„ Real-time Data - Live congressional information updated continuously
  • šŸ”’ Your API Keys - Use your own Congress.gov API key (free, 5,000 requests/hour)
  • šŸš€ Zero Configuration - Download, configure, and start using immediately
  • šŸ¤– AI Enhanced - Built for Claude Desktop and Cursor integration
  • šŸ“Š Rich Analysis - Get insights on political trends, voting patterns, and legislative momentum

šŸš€ Quick Start

Prerequisites

1. Download Billy MCP Client

Option A: Download ZIP (Recommended)

  1. Click the green "Code" button above
  2. Select "Download ZIP"
  3. Extract to your preferred location

Option B: Clone Repository

git clone https://github.com/deeployeer/billy-mcp.git
cd billy-mcp-client

2. Install Dependencies

npm install

3. Get Your Congress.gov API Key

  1. Visit api.congress.gov/sign-up
  2. Fill out the simple form (name, email, intended use)
  3. Check your email for the API key (arrives instantly)
  4. Save your key - you'll need it in the next step

4. Configure Claude Desktop

Find your Claude Desktop config file:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json
  • Linux: ~/.config/Claude/claude_desktop_config.json

Add this configuration (replace the paths and API key):

{
  "mcpServers": {
    "billy": {
      "command": "node",
      "args": ["/full/path/to/billy-mcp-client/mcp-client.js"],
      "env": {
        "MCP_SERVER_URL": "https://mcp.billy.wiki",
        "CONGRESS_API_KEY": "your_congress_api_key_here"
      }
    }
  }
}

Important Notes:

  • Replace /full/path/to/billy-mcp-client/mcp-client.js with the actual absolute path to your downloaded file
  • Replace your_congress_api_key_here with your actual Congress.gov API key
  • The MCP_SERVER_URL should point to the Billy MCP server (update if different)

5. Restart Claude Desktop

Close and reopen Claude Desktop to load the new configuration.

6. Test Your Setup

Try asking Claude:

  • "What bills were introduced this week?"
  • "Search for amendments about climate change"
  • "Who are the senators from California?"
  • "Show me recent House votes on energy policy"

šŸ› ļø Configuration Options

Environment Variables

VariableRequiredDescription
MCP_SERVER_URLāœ… Yeshttps://mcp.billy.wiki
CONGRESS_API_KEYāœ… YesYour Congress.gov API key
DEFAULT_CONGRESSāŒ OptionalDefault congress number (e.g., "119")

Advanced Configuration

For power users who want to customize behavior:

{
  "mcpServers": {
    "billy": {
      "command": "node",
      "args": ["/path/to/mcp-client.js"],
      "env": {
        "MCP_SERVER_URL": "https://mcp.billy.wiki",
        "CONGRESS_API_KEY": "your_api_key",
        "DEFAULT_CONGRESS": "118"
      }
    }
  }
}

šŸ”§ Troubleshooting

Common Issues

"Cannot find module" error

# Make sure you're in the right directory and run:
npm install

"MCP_SERVER_URL is required" error

  • Check your Claude Desktop config file syntax
  • Ensure the server URL is correct
  • Verify environment variables are properly set

"CONGRESS_API_KEY is required" error

  • Verify your API key at api.congress.gov
  • Check for typos in the config file
  • Ensure the key is inside quotes

"Failed to connect to Billy MCP Server" error

  • Check your internet connection
  • Verify the server URL is accessible in your browser
  • Try restarting Claude Desktop

Getting Help

  1. Check the server status: Visit the server URL in your browser
  2. Verify your API key: Test it at the Congress.gov API documentation
  3. Check Claude Desktop logs: Look for detailed error messages
  4. Update Node.js: Ensure you're running version 18 or higher

šŸ“Š What You Can Ask

Bills & Legislation

  • "What bills were introduced this week?"
  • "Search for climate change legislation"
  • "Show me the text of HR 1234"
  • "What's the status of the infrastructure bill?"

Members of Congress

  • "Who represents California in the Senate?"
  • "Show me Nancy Pelosi's recent sponsored bills"
  • "What committees is AOC on?"

Voting Records

  • "How did senators vote on the latest budget bill?"
  • "Show me recent House votes on healthcare"
  • "What was the vote breakdown on HR 5678?"

Amendments

  • "Search for amendments about immigration"
  • "Show me recent amendments by Ted Cruz"
  • "What amendments were added to the defense bill?"

And Much More!

  • Congressional schedules
  • Committee hearings
  • CRS reports
  • Treaties
  • Nominations

šŸŽÆ API Limits

  • Congress.gov API: 5,000 requests per hour (free tier)
  • Billy MCP Server: No limits (uses your Congress.gov quota)
  • Rate limiting: Automatically handled by the client

šŸ—ļø Development

Project Structure

billy-mcp-client/
ā”œā”€ā”€ mcp-client.js      # Main client file
ā”œā”€ā”€ package.json       # Dependencies and scripts
ā”œā”€ā”€ README.md          # This file
└── .gitignore         # Git ignore patterns

Contributing

  1. Fork the repository
  2. Create a feature branch
  3. Make your changes
  4. Test thoroughly
  5. Submit a pull request

šŸ“„ License

This project is licensed under the MIT License - see the LICENSE file for details.

šŸ™ Acknowledgments

  • Congress.gov API - For providing free access to congressional data
  • Model Context Protocol - For the standardized AI integration framework
  • Anthropic - For Claude Desktop and the MCP ecosystem

Ready to explore Congress? Download Billy MCP Client and start asking questions! šŸš€

For more information, visit the Billy MCP Server

Related Servers