
Openfec Mcp Server
Let your coding agent query U.S. FEC campaign finance filings, candidates, and contribution trails while you research civic or political products.
Overview
OpenFEC MCP Server is a MCP server for the Idea phase that queries U.S. FEC campaign finance data about candidates, contributions, and election filings through your agent.
What is this MCP server?
- Query candidates, committees, and election filings via the OpenFEC API from Claude Code or Cursor
- Optional FEC_API_KEY: free at api.data.gov — DEMO_KEY capped at 30 requests/hour vs 1000/hour with your own key
- Ship locally with stdio (Bun/npm @cyanheads/openfec-mcp-server) or use the hosted streamable-http remote
- Tune MCP_LOG_LEVEL for debug vs production agent sessions
- Version 0.4.9 with stdio and streamable-http transport options
- Server version 0.4.9
- DEMO_KEY: 30 requests/hour; own FEC_API_KEY: 1000 requests/hour
- Transports: stdio and streamable-http remote
Community signal: 1 GitHub stars.
What problem does it solve?
You need authoritative campaign finance facts in the agent loop, but OpenFEC’s REST API and rate limits are tedious to re-implement on every research spike.
Who is it for?
Indie builders prototyping civic dashboards, research assistants, or political content tools who want FEC data inside Claude Code or Cursor.
Skip if: Teams that need guaranteed legal compliance review, bulk historical ETL at warehouse scale, or offline-only datasets without API calls.
What do I get? / Deliverables
Your agent can search filings and money trails in natural language while you stay under DEMO_KEY or full-key rate limits.
- Agent-callable tools for FEC candidates, filings, and finance queries
- Local stdio or remote HTTP MCP endpoint wired into your agent config
Recommended MCP Servers
Journey fit
How it compares
MCP integration to OpenFEC, not a packaged analytics dashboard or a one-off research skill.
Common Questions / FAQ
Who is OpenFEC MCP Server for?
Solo and indie developers who ship with AI agents and need FEC campaign finance lookups during product research or feature work.
When should I use OpenFEC MCP Server?
Use it in the Idea or early Build phase when validating political data sources, tracing donations, or pulling candidate and filing metadata into your app design.
How do I add OpenFEC MCP Server to my agent?
Install @cyanheads/openfec-mcp-server via npm/Bun with stdio transport, set FEC_API_KEY for higher limits, and register the server in Claude Code, Cursor, or another MCP-capable client—or point at the hosted streamable-http URL.