MCP OpenFEC Server logo

MCP OpenFEC Server

by psalzman

The MCP OpenFEC Server provides access to Federal Election Commission (FEC) campaign finance data through the OpenFEC API. It allows users to search for candidates, access financial data, and view filings.

View on GitHub

Last updated: N/A

What is MCP OpenFEC Server?

This is a Model Context Protocol (MCP) server that acts as a bridge between applications and the OpenFEC API, allowing access to campaign finance data.

How to use MCP OpenFEC Server?

To use this server, you need to clone the repository, install dependencies, configure your OpenFEC API key in a .env file, build the server, and then configure your application (e.g., Claude Desktop) to connect to the server using the provided configuration instructions.

Key features of MCP OpenFEC Server

  • Search for candidates by name, state, or office

  • Get detailed candidate information and financial data

  • Access committee information

  • View individual contributions

  • Track independent expenditures

  • Access FEC filings and audit cases

  • Download bulk data

Use cases of MCP OpenFEC Server

  • Analyzing campaign finance data for research

  • Building applications that visualize campaign contributions

  • Tracking independent expenditures in political campaigns

  • Monitoring FEC filings and audit cases

FAQ from MCP OpenFEC Server

What is the rate limit?

The server implements rate limiting to comply with OpenFEC API guidelines: 1000 requests per hour.

What API key do I need?

You need an OpenFEC API key. You can get one from https://api.data.gov/signup/

How do I configure the server for Claude Desktop?

Follow the instructions in the Configuration section of the README, adding the server configuration to your Claude Desktop configuration file.

What tools are available?

A list of available tools is in the Available Tools section of the README. Examples include get_candidate, get_candidate_financials, and search_candidates.

How do I contribute to the project?

Fork the repository, create a feature branch, commit your changes, push to the branch, and create a new Pull Request.