Open Fec

v0.2.1
io.github.pipeworx-io/open-fec Checked 2 days ago Published 1 month ago

OpenFEC MCP — Federal Election Commission campaign finance data

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

search_candidates

Search federal election candidates by name, state, or party. Returns candidate ID, name, party, office, state, district, and election years. Example: search_candidates("Biden", state="DE", party="DEM")

ParameterTypeDescription
_apiKey *stringOpenFEC API key
query *stringCandidate name to search (e.g., "Sanders")
partystringParty code: "DEM", "REP", "LIB", "GRE", etc.
statestringTwo-letter state code (e.g., "CA", "NY")

candidate_financials

Get campaign finance summary for a candidate by their FEC candidate ID (e.g., "P80001571"). Returns total receipts, disbursements, cash on hand, individual contributions, PAC contributions, and loans. Use search_candidates first to find the candidate ID.

ParameterTypeDescription
_apiKey *stringOpenFEC API key
candidate_id *stringFEC candidate ID (e.g., "P80001571")
cyclenumberElection cycle year (e.g., 2024). Defaults to most recent.

search_committees

Search political committees (PACs, Super PACs, party committees) by name. Returns committee ID, name, type, designation, party, treasurer, and associated candidates. Example: search_committees("ActBlue")

ParameterTypeDescription
_apiKey *stringOpenFEC API key
query *stringCommittee name to search (e.g., "Americans for Prosperity")

committee_financials

Get campaign-finance totals for a committee / PAC by its FEC committee ID (e.g., "C00401224"). Returns receipts, disbursements, cash on hand, and independent expenditures by cycle. Use search_committees first to find the committee ID.

ParameterTypeDescription
_apiKey *stringOpenFEC API key
committee_id *stringFEC committee ID (e.g., "C00401224")
cyclenumberElection cycle year (e.g., 2024). Defaults to most recent.

search_contributions

Search itemized individual contributions ("follow the money") — who donated, how much, employer/occupation, city/state, and date. Filter by recipient committee, donor name, employer, state, minimum amount, and cycle. PREFER for "who donated to <committee>", "<person>'s political donations", "donations from <employer> employees". Requires at least one of committee_id or contributor_name.

ParameterTypeDescription
_apiKey *stringOpenFEC API key
committee_idstringRecipient committee ID (from search_committees).
contributor_employerstringDonor employer filter (e.g. "Google").
contributor_namestringDonor name to search (e.g. "Musk").
cyclenumberTwo-year transaction period / cycle (even year, e.g. 2024).
min_amountnumberMinimum contribution amount in USD.
statestringTwo-letter donor state (e.g. "CA").