Openfec MCP Server
Search FEC campaign finance data on candidates, committees, filings and spending
- Pricing
- Open source
- Platforms
- CLI, API, self-hosted
- Runs
- Locally or Remotely
- Version
- 0.11.0
- Listing updated
- 4 days ago
Similar MCP servers
About Openfec MCP Server
Openfec MCP Server is an open-source MCP server for legal and government. It can run locally on your machine or as a hosted remote server.
Where most finance data servers return one table, this one is organised around the FEC filing schedules. Separate tools cover itemized contributions (Schedule A), disbursements (Schedule B), independent expenditures (Schedule E) and coordinated party expenditures (Schedule F), each with itemized and aggregate modes such as by size, state, employer, occupation or purpose.
Other tools find candidates and committees, return committee totals by two-year cycle or ranked by entity type, search filings by form type and date, look up race fundraising summaries, and search FEC legal documents, enforcement cases and the filing calendar. The server also exposes five resource templates for candidate, committee and race profiles and two prompts, a money-trail trace and a campaign financial analysis.
It runs over stdio or streamable HTTP, with a public hosted endpoint listed. An OpenFEC API key is optional: without one it falls back to the shared DEMO_KEY with a small daily allowance, while a free key from api.data.gov gets 1,000 requests an hour.
Install
Run in a terminal
claude mcp add --transport http openfec-mcp-server https://openfec.caseyjhand.com/mcpAdd to Settings → Connectors → Add custom connector
https://openfec.caseyjhand.com/mcpAdd to ~/.cursor/mcp.json
{
"mcpServers": {
"openfec-mcp-server": {
"url": "https://openfec.caseyjhand.com/mcp"
}
}
}Add to .vscode/mcp.json
{
"servers": {
"openfec-mcp-server": {
"type": "http",
"url": "https://openfec.caseyjhand.com/mcp"
}
}
}Add to ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"openfec-mcp-server": {
"serverUrl": "https://openfec.caseyjhand.com/mcp"
}
}
}Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"openfec-mcp-server": {
"type": "http",
"url": "https://openfec.caseyjhand.com/mcp"
}
}
}Using several servers? Build one config file with the MCP config generator.
Configuration
FEC_API_KEYOpenFEC API key — optional (DEMO_KEY: a small daily allowance shared per IP). Own key: OpenFEC publishes 1,000 req/hr. Free at api.data.gov.MCP_LOG_LEVELSets the minimum log level for output (e.g., 'debug', 'info', 'warn').MCP_TRANSPORT_TYPESelects the HTTP transport.FEC_API_KEYOpenFEC API key — optional (DEMO_KEY: a small daily allowance shared per IP). Own key: OpenFEC publishes 1,000 req/hr. Free at api.data.gov.MCP_HTTP_HOSTThe hostname for the HTTP server.MCP_HTTP_PORTThe port to run the HTTP server on.MCP_HTTP_ENDPOINT_PATHThe endpoint path for the MCP server.MCP_AUTH_MODEAuthentication mode to use: 'none', 'jwt', or 'oauth'.MCP_LOG_LEVELSets the minimum log level for output (e.g., 'debug', 'info', 'warn').
Tools this server provides (12)
Taken from the project documentation; the running server may differ.
- openfec_search_candidates
- Finds federal candidates or fetches one by FEC ID.
- openfec_search_committees
- Finds political committees.
- openfec_get_committee_totals
- Financial totals for a committee or ranked committees.
- openfec_search_contributions
- Itemized or aggregated contributions.
- openfec_search_disbursements
- Itemized or aggregated committee spending.
- openfec_search_expenditures
- Independent expenditures.
- openfec_search_coordinated_expenditures
- Coordinated party expenditures.
- openfec_search_filings
- FEC filings and reports.
- openfec_lookup_elections
- Race candidates and fundraising totals.
- openfec_search_legal
- Advisory opinions, cases and statutes.
- openfec_get_legal_document
- One legal document in full.
- openfec_lookup_calendar
- Filing deadlines and election dates.
What it does
- Filing schedules
- Separate tools for Schedules A, B, E and F.
- Committee totals
- Receipts, disbursements, cash on hand and debts by cycle.
- Race lookup
- Candidates in a race with fundraising totals.
- Legal search
- Advisory opinions, enforcement cases and statutes.
- Resources and prompts
- Profile templates plus money-trail and analysis prompts.
- Filing calendar
- Deadlines, events and election dates.
Good for
- Trace the money around a candidate
- Find top contributors by employer or occupation
- Look up independent spending for or against a candidate
- Check an upcoming filing deadline
- Review FEC enforcement cases
Pricing
Open source
Openfec MCP Server FAQ
Do I need an API key?
No, but the optional FEC_API_KEY raises limits. DEMO_KEY has a small shared daily allowance; own keys get 1,000 requests an hour.
Is there a hosted version?
Yes, the registry lists a public endpoint at openfec.caseyjhand.com/mcp.
How many tools are there?
Twelve tools, five resource templates and two prompts.
Does it cover legal documents?
Yes, it searches advisory opinions, enforcement cases, alternative dispute resolutions, administrative fines and statutes.
Is Openfec MCP Server free?
Yes. Openfec MCP Server is open source, so you can use and self-host it for free.
How do I add Openfec MCP Server to Claude Code?
Run this command in your terminal: claude mcp add --transport http openfec-mcp-server https://openfec.caseyjhand.com/mcp
What are the best alternatives to Openfec MCP Server?
The closest alternatives to Openfec MCP Server are Agent-Native Analytics, Google Ads + Meta Ads + SEO/GEO MCP, dashboard-icons, Tapetide - Indian Stock Market MCP and World Monitor.
Where this comes from
- Description: written from the project's README.
- Install steps: from the official MCP Registry entry.

