# openfec-mcp-server MCP server

Access FEC campaign finance data. Query data about candidates, money trails, and election filings.

## Links
- Registry page: https://www.getdrio.com/mcp/io-github-cyanheads-openfec-mcp-server
- Repository: https://github.com/cyanheads/openfec-mcp-server

## Install
- Command: `npx -y @cyanheads/openfec-mcp-server`
- Endpoint: https://openfec.caseyjhand.com/mcp
- Auth: Auth required by registry metadata

## Setup notes
- Package: Npm @cyanheads/openfec-mcp-server v0.4.4
- Environment variable: FEC_API_KEY (required)
- Environment variable: MCP_LOG_LEVEL (default info)
- Package: Npm @cyanheads/openfec-mcp-server v0.4.4
- Environment variable: FEC_API_KEY (required)
- Environment variable: MCP_HTTP_HOST (default 127.0.0.1)
- Environment variable: MCP_HTTP_PORT (default 3010)
- Environment variable: MCP_HTTP_ENDPOINT_PATH (default /mcp)
- Environment variable: MCP_AUTH_MODE (default none)
- Environment variable: MCP_LOG_LEVEL (default info)
- The upstream registry signals required auth or secrets.
- Remote endpoint: https://openfec.caseyjhand.com/mcp

## Tools
- openfec_search_candidates (Openfec Search Candidates) - Find federal candidates by name, state, office, party, or cycle. Retrieve a specific candidate by FEC ID with financial totals. Candidate IDs start with H (House), S (Senate), or P (President) followed by digits. Endpoint: https://openfec.caseyjhand.com/mcp
- openfec_search_committees (Openfec Search Committees) - Find political committees (campaign, PAC, Super PAC, party) by name, type, candidate affiliation, or state. Retrieve a specific committee by FEC ID. Committee IDs start with C followed by digits (e.g., C00358796). Endpoint: https://openfec.caseyjhand.com/mcp
- openfec_search_contributions (Openfec Search Contributions) - Search itemized individual contributions (Schedule A) or get aggregate breakdowns by size, state, employer, or occupation. Use to answer "who is funding this committee?" Itemized mode requires a committee_id. Aggregate by_size/by_state can use candidate_id instead. Endpoint: https://openfec.caseyjhand.com/mcp
- openfec_search_disbursements (Openfec Search Disbursements) - Search itemized committee spending (Schedule B) or get aggregate breakdowns by purpose or recipient. All modes require a committee_id. Use to answer "what is this committee spending money on?" or "who is receiving payments from this committee?" Endpoint: https://openfec.caseyjhand.com/mcp
- openfec_search_expenditures (Openfec Search Expenditures) - Search independent expenditures (Schedule E) — outside spending supporting or opposing federal candidates. Covers Super PACs, party committees, and other groups. Use itemized mode for individual expenditure records, or by_candidate for aggregated totals per candidate. Endpoint: https://openfec.caseyjhand.com/mcp
- openfec_search_filings (Openfec Search Filings) - Search FEC filings and reports by committee, candidate, form type, or date range. Covers financial reports (F3/F3P/F3X), statements of candidacy (F2), organizational filings (F1), 24-hour IE notices (F24), and amendments. Endpoint: https://openfec.caseyjhand.com/mcp
- openfec_lookup_elections (Openfec Lookup Elections) - Look up federal election races and candidate financial summaries. Find who's running in a race with fundraising totals, or get an aggregate race summary. Endpoint: https://openfec.caseyjhand.com/mcp
- openfec_search_legal (Openfec Search Legal) - Search FEC legal documents: advisory opinions, enforcement cases (MURs), alternative dispute resolutions, and administrative fines. Endpoint: https://openfec.caseyjhand.com/mcp
- openfec_lookup_calendar (Openfec Lookup Calendar) - Look up FEC calendar events, filing deadlines, and election dates. Use to find upcoming filing windows for a committee, locate when a federal election occurred, or scope FEC events by date range and category. Endpoint: https://openfec.caseyjhand.com/mcp

## Resources
Not captured

## Prompts
- openfec_money_trail - Multi-step framework for tracing the flow of money around a candidate or race — direct fundraising, PAC support, independent expenditures, and party spending. Arguments: candidate_name, candidate_id, cycle
- openfec_campaign_analysis - Structured analysis of a candidate's financial position — fundraising trajectory, burn rate, cash reserves, donor composition, and opponent comparison. Arguments: candidate_name, candidate_id, cycle

## Metadata
- Owner: io.github.cyanheads
- Version: 0.4.4
- Runtime: Npm
- Transports: STDIO, HTTP
- License: Not captured
- Language: Not captured
- Stars: Not captured
- Updated: May 16, 2026
- Source: https://registry.modelcontextprotocol.io
