mcp-openfec

mcp-openfec

1

The MCP OpenFEC Server is a tool that enables users to access detailed Federal Election Commission campaign finance data using the OpenFEC API. It offers features like candidate searches, financial data retrieval, and bulk data downloads, under a BSD 3-Clause License.

MCP OpenFEC Server

A Model Context Protocol (MCP) server that provides access to Federal Election Commission (FEC) campaign finance data through the OpenFEC API.

Features

  • 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

Requirements

  • Node.js (v16 or higher)
  • An OpenFEC API Key

Available Tools

  • get_candidate: Get detailed information about a candidate
  • get_candidate_financials: Get financial data for a candidate
  • search_candidates: Search for candidates by name or other criteria
  • get_committee: Get detailed information about a committee
  • get_candidate_contributions: Get individual contributions for a candidate
  • get_filings: Retrieve official FEC filings
  • get_independent_expenditures: Get independent expenditures
  • get_electioneering: Get electioneering communications
  • get_party_coordinated_expenditures: Get party coordinated expenditures
  • get_communication_costs: Get corporate/union communication costs
  • get_audit_cases: Get FEC audit cases and findings
  • get_bulk_downloads: Get links to bulk data downloads

Rate Limiting

The server implements rate limiting to comply with OpenFEC API guidelines: 1000 requests per hour. Requests exceeding this limit will receive an error response.

License

This project is licensed under the BSD 3-Clause License.