MCP OpenFEC Server

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
OPENFEC_API_KEYYesYour OpenFEC API key obtained from api.data.gov

Schema

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Tools

Functions exposed to the LLM to take actions

NameDescription
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 with filters

get_independent_expenditures

Get independent expenditures supporting or opposing candidates

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