Openfec MCP Server

@cyanheads/openfec-mcp-server Access FEC campaign finance data through MCP. Query data about candidates, money trails, and election filings. STDIO & Streamable HTTP. Its 12 documented tools cover openfec, expenditures, legal.

People who work with openfec, expenditures and legal and want it reachable from Claude, Cursor, VS Code, or another MCP client. The project is written in TypeScript.

VERIFIED ACTIVE

LAST COMMIT 2026-09-25 · ★ 2 · #56 OF 344 MAINTAINED FINANCE · VERIFIED 2026-09-30

Apache-2.0 · TypeScript servers · how we verify → /methodology

01 · Install Openfec MCP Server

before you install - you'll need

Set MCP_TRANSPORT_TYPE before connecting. FEC_API_KEY is optional or environment-specific per the README.

Claude Code

claude mcp add cyanheads-openfec-mcp-server --transport http https://openfec.caseyjhand.com/mcp

Claude Desktop / Cursor / VS Code - add to config

{
  "mcpServers": {
    "cyanheads-openfec-mcp-server": {
      "url": "https://openfec.caseyjhand.com/mcp"
    }
  }
}

Same JSON for Cursor. For VS Code, rename the top-level key from `mcpServers` to `servers`.

Using another client? Same JSON, different key

Claude Desktop · mcpServers

Cursor · mcpServers

VS Code · servers

Windsurf · mcpServers

Zed · context_servers

Cline · mcpServers

Roo Code · mcpServers

Continue · mcpServers

LibreChat · mcpServers

Gemini CLI · mcpServers

Codex CLI · mcp_servers

Full setup guides: every client.

02 · Evidence

https://openfec.caseyjhand.com/mcp

transport: streamable-http

endpoint alive - responded to MCP initialize · probed 2026-09-30

Security posture

What to check before giving this server access to your agent - from the registry, GitHub, and our own probes. We don't score safety; we show what's verifiable.

runs as local process (stdio) - runs on your machine with your user's permissions · remote - your agent's requests go to openfec.caseyjhand.com

endpoint auth accepted our unauthenticated MCP initialize - no credentials needed to connect

license Apache-2.0 - declared in the repository

npm package @cyanheads/openfec-mcp-server - published under the repo owner's npm scope (@cyanheads)

registry namespace io.github.cyanheads is GitHub-verified and matches the repo owner

03 · What Openfec MCP Server can do

Prose above is summarized from the project's README and registry record - no invented capabilities.

What you can build

With this server connected, an agent can find federal candidates by name, state, office, party, or cycle, and find political committees by name, type, candidate affiliation, or state.

The 12 tools it gives your agent

Extracted from the project's README - what openfec-mcp-server lets an agent do.

openfec_search_candidates
- Find federal candidates by name, state, office, party, or cycle; fetch one by FEC ID with financial totals
openfec_search_committees
- Find political committees by name, type, candidate affiliation, or state; fetch one by FEC ID
openfec_get_committee_totals
- Pre-aggregated financial totals for one committee by cycle, or ranked across committees of one entity type
openfec_search_contributions
- Itemized contributions (Schedule A), or aggregates by size, state, employer, or occupation
openfec_search_disbursements
- Itemized committee spending (Schedule B), or aggregates by purpose or recipient
openfec_search_expenditures
- Independent expenditures (Schedule E) supporting or opposing candidates, itemized or totaled per candidate
openfec_search_coordinated_expenditures
- Coordinated party expenditures (Schedule F) made on behalf of a candidate
openfec_search_filings
- FEC filings and reports by committee, candidate, form type, or date range
openfec_lookup_elections
- Candidates in a federal race with their fundraising totals, or an aggregate race summary
openfec_search_legal
- Advisory opinions, enforcement cases, alternative dispute resolutions, administrative fines, and statutes
openfec_get_legal_document
- One legal document in full, including the arrays search trims away, paged by entry when too large for one response
openfec_lookup_calendar
- FEC calendar events, filing deadlines, and election dates

Latest releases

v0.9.0 · 2026-09-25

Bounded legal responses, strict filters, readable records · openfec_search_legal holds each response to 100,000 bytes, admitting whole results round-robin across document types and reporting truncated, shown, and…

v0.8.4 · 2026-09-24

Response budget, compact committee rows, election_full · #29: the 100,000-byte per-surface budget, the empty-field drop, per-tool per_page caps with truncated disclosure, and the keyset cursor now ending exactly at the…

v0.8.3 · 2026-09-24

Principal committee resolution and honest resource failures · openfec_campaign_analysis and openfec_money_trail now resolve a cycle's principal committee from openfec_lookup_elections's candidate_pcc_id instead of…

04 · Who maintains Openfec MCP Server

openfec-mcp-server is maintained by cyanheads. We track 137 MCP servers from cyanheads - 131 actively maintained, 1,856 combined GitHub stars, oldest repo from Dec 2024. Full record: all servers from cyanheads.

  1. obsidian-mcp-server Read, write, search, and surgically edit Obsidian notes, tags, and frontmatter via MCP. ★ 690
  2. mcp-ts-core Agent-native TypeScript framework for MCP servers. ★ 152
  3. git-mcp-server Comprehensive Git MCP server enabling native git tools including clone, commit, worktree, & more. ★ 240
  4. clinicaltrialsgov-mcp-server Search ClinicalTrials.gov - find studies, retrieve results, match patients to eligible trials. ★ 96
  5. openalex-mcp-server Access the OpenAlex academic research catalog - 270M+ publications. ★ 14
  6. mcp-ts-template TypeScript template for building MCP servers with declarative tooling, observability, and auth. ★ 152

05 · Facts

category
finance - ranked #56 of 344 actively-maintained finance servers as of 2026-09-30.
release cadence
10+ releases in the last 90 days (latest 2026-09-25)
registry
io.github.cyanheads/openfec-mcp-server (active, first published 2026-04-05 · 32 versions)
packages
npm:@cyanheads/openfec-mcp-server · npm:@cyanheads/openfec-mcp-server

06 · Openfec MCP Server FAQ

Is Openfec MCP Server still maintained?

Yes - as of 2026-09-30, its last commit was 2026-09-25 and it shipped 10+ releases in the last 90 days. We re-verify nightly.

What can Openfec MCP Server do?

With this server connected, an agent can find federal candidates by name, state, office, party, or cycle, and find political committees by name, type, candidate affiliation, or state.

How do I install Openfec MCP Server?

Run `npx -y @cyanheads/openfec-mcp-server`. The README documents 2 environment variables (MCP_TRANSPORT_TYPE, FEC_API_KEY) to set first. Set MCP_TRANSPORT_TYPE before connecting. FEC_API_KEY is optional or environment-specific per the README. You can also paste the ready-made client config above.

Does Openfec MCP Server require authentication?

No - the endpoint accepted our unauthenticated MCP initialize when probed on 2026-09-30; you can connect without credentials.

07 · Alternatives to Openfec MCP Server