Federal Election Commission API and MCP server for AI agents

Let Claude, ChatGPT or your own agent read Federal Election Commission. No Federal Election Commission API key needed.

Add to your agent

Paste this into Claude Code, Cursor, Codex or any agent. It adds the server itself.

Read https://bowmark.ai/sites/fec.md and add Bowmark's Federal Election Commission MCP server to my agent.

Functions

Open a function to see its parameters and run it with your own API key.

  • getCandidateOne FEC candidate's mailing address plus each principal campaign committee's website, email, treasurer and address.

    POST /v1/sites/fec/getCandidate

    Parameters

    curl -X POST https://api.bowmark.ai/v1/sites/fec/getCandidate \
      -H "Authorization: Bearer $BOWMARK_API_KEY" \
      -H "Content-Type: application/json" \
      -d '{"args":{"candidateId":"S2MA00170"}}'
    Sign in to run
    Responsereturns GetCandidateResult
    interface FecCommittee {
      committeeId: string;
      name: string;
      treasurer: string | null;
      email: string | null;
      website: string | null;
      address: string | null;
    }
    
    interface GetCandidateResult {
      candidateId: string;
      name: string;
      party: string | null;
      office: string;
      state: string;
      district: string | null;
      incumbentStatus: string | null;
      electionYears: number[];
      address: string | null;
      committees: FecCommittee[];
    }
  • listCandidatesLists US federal election candidates (FEC campaign-finance filings) by election year, party, office, state, name or first-filed date, one row per…

    POST /v1/sites/fec/listCandidates

    Parameters

    FEC party code, e.g. "DEM", "REP", "LIB".

    "H", "S" or "P".

    Two-letter code, e.g. "MA".

    1-100, default 20.

    curl -X POST https://api.bowmark.ai/v1/sites/fec/listCandidates \
      -H "Authorization: Bearer $BOWMARK_API_KEY" \
      -H "Content-Type: application/json" \
      -d '{"args":{"electionYear":2024,"party":"DEM","office":"S","state":"MA","limit":5}}'
    Sign in to run
    Responsereturns ListCandidatesResult
    interface FecCandidate {
      candidateIds: string[]; // every FEC id this person filed under
      name: string;
      party: string | null;
      office: string; // H, S or P
      state: string;
      district: string | null;
      incumbentStatus: string | null;
      electionYears: number[];
      firstFileDate: string | null;
      lastFileDate: string | null;
      principalCommittees: { committeeId: string; name: string; treasurer: string | null }[];
    }
    
    interface ListCandidatesResult {
      candidates: FecCandidate[];
      duplicatesMerged: number;
      page: number;
      totalPages: number;
      totalRows: number;
    }