Open Fec

live GovernmentFinance

FEC OpenFEC API — search federal election candidates, PACs/Super PACs, and campaign finance summaries (receipts, disbursements, cash on hand).

5 tools
0ms auth
free tier 50 calls/day

Tools

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"

No parameters required.

Try it
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.

No parameters required.

Try it
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("ActBlu

No parameters required.

Try it
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_committe

No parameters required.

Try it
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 am

No parameters required.

Try it

Test with curl

The gateway speaks JSON-RPC 2.0 over HTTP POST. You can test any pack directly from the terminal.

List available tools
bash
curl -X POST https://gateway.pipeworx.io/open-fec/mcp \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'
Call a tool
bash
curl -X POST https://gateway.pipeworx.io/open-fec/mcp \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"search_candidates","arguments":{}}}'

Use with the SDK

Install @pipeworx/sdk to call tools from any TypeScript/Node project.

TypeScript
import { Pipeworx } from '@pipeworx/sdk';
const px = new Pipeworx();
const result = await px.call("search_candidates", {});
ask_pipeworx
// Or ask in plain English:
const answer = await px.ask("fec openfec api — search federal election candidates, pacs/super pacs, and campaign finance summaries (receipts, disbursements, cash on hand)");