# agentfec

agentfec connects your AI agent to US Federal Election Commission data on candidate fundraising, individual donors, and Super PAC expenditures for 2026 races.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · 1027 installs
- Author: heavysword1
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://smithery.ai/server/heavysword1/agentfec
- Updated: 2026-05-27
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/mcp/agentfec

## What it 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.

## Requirements
- Remote server: `https://agentfec--heavysword1.run.tools`

## Install

### Claude Code (native platform)

**Platform CLI: remote server**
```bash
claude mcp add --transport http agentfec https://agentfec--heavysword1.run.tools
```

### Codex

**Platform CLI: remote server**
```bash
codex mcp add agentfec --url https://agentfec--heavysword1.run.tools
```

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "agentfec": {
            "url": "https://agentfec--heavysword1.run.tools"
        }
    }
}
```

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "agentfec": {
            "type": "http",
            "url": "https://agentfec--heavysword1.run.tools"
        }
    }
}
```

### Gemini CLI

**Platform CLI: remote server**
```bash
gemini mcp add -t http agentfec https://agentfec--heavysword1.run.tools
```

## When to use it
- 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
- 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

## Similar
- [openfec-mcp-server](https://affpapa.org/en/nevibecode/mcp/openfec-mcp-server.md) — MCP server · 2092 installs
- [fecfile](https://affpapa.org/en/nevibecode/skills/fecfile.md) — skill · 1 install
- [Govbase](https://affpapa.org/en/nevibecode/mcp/govbase.md) — MCP server · 5784 installs
- [CIV.IQ](https://affpapa.org/en/nevibecode/mcp/civiq.md) — MCP server · 186 installs
- [Notion](https://affpapa.org/en/nevibecode/mcp/notion.md) — MCP server · 3841 installs
- [opencrater](https://affpapa.org/en/nevibecode/mcp/opencrater.md) — MCP server · 253 installs

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
