agentfec — Claude Code MCP server: what it does, how to install
agentfec connects your AI agent to US Federal Election Commission data on candidate fundraising, individual donors, and Super PAC expenditures for 2026 races.
no license 1,027 installs updated 2026-05-27
claude mcp add --transport http agentfec https://agentfec--heavysword1.run.toolsWhat agentfec does
This server pulls campaign finance records for US federal races, including the 2026 midterm cycle. It lets an assistant look up candidate fundraising totals, current cash reserves, and campaign spending by political party, state, or office level.
The setup exposes three tools: get_fec_candidates, get_fec_donors, and get_fec_spending. Through these, the model queries Schedule A individual filings by committee ID or donor employer, displaying contributor names, occupations, and locations. It also tracks expenditures, separating direct campaign spending from outside Super PAC disbursements.
Connecting takes a single HTTP command pointing to https://agentfec--heavysword1.run.tools. No local code repository or dependencies need to be maintained.
What it helps with
- Compare fundraising totals and cash on hand for federal election candidates
- Filter individual donors in Schedule A filings by employer or committee
- Track Super PAC spending directed for or against political candidates
- Inspect direct disbursements made by official campaign committees
Example prompts for the agent
- Check cash on hand for 2026 Senate candidates in Ohio using get_fec_candidates
- Find individual contributions from Microsoft employees using get_fec_donors
- Run get_fec_spending with type set to independent to inspect Super PAC spending
How to install agentfec
Platform CLI: remote server
claude mcp add --transport http agentfec https://agentfec--heavysword1.run.toolsPlatform CLI: remote server
codex mcp add agentfec --url https://agentfec--heavysword1.run.toolsConfig file
{
"mcpServers": {
"agentfec": {
"url": "https://agentfec--heavysword1.run.tools"
}
}
}Config file
{
"servers": {
"agentfec": {
"type": "http",
"url": "https://agentfec--heavysword1.run.tools"
}
}
}Platform CLI: remote server
gemini mcp add -t http agentfec https://agentfec--heavysword1.run.toolsStep by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more
Questions about agentfec
How do I install agentfec in Claude Code?
Run claude mcp add --transport http agentfec https://agentfec--heavysword1.run.tools in your terminal.
What donor details can agentfec retrieve?
The get_fec_donors tool returns the donor full name, contribution amount, stated occupation, and home state.
How does get_fec_spending separate campaign expenditures?
Pass independent to view outside group or Super PAC spending, or choose expenditures to retrieve direct campaign payouts.