Analyze Federal Election Commission (FEC) campaign finance filings with Claude Code or Codex. Operations teams use this to extract, parse, and filter data from FEC filings, reducing manual effort and improving accuracy. Integrates with Claude agents for direct analysis within sessions.
git clone https://github.com/hodgesmr/agent-fecfile.gitagent-fecfile is a Claude Code plugin that enables AI agents to fetch, parse, and analyze Federal Election Commission (FEC) campaign finance filings directly within agent sessions. The skill supports major form types (F1, F2, F3, F99) and includes detailed field mappings for contributions, disbursements, and schedules, helping agents accurately interpret campaign finance data. Parsing and filtering happen outside the model context, allowing agents to programmatically reduce large filings before analysis, which saves tokens and enables efficient queries against filings of any size. Operations teams and compliance analysts use this to extract structured data from FEC filings without manual effort. The plugin works in Claude Desktop's Code tab or via Claude Code CLI, with optional FEC API integration for searching committees and filings by name.
Install via Claude plugin marketplace with `claude plugin install fecfile@agent-fecfile`. For CLI-based runtimes like Codex, clone the repository and configure the Agent Skill and MCP server. Optionally set up FEC API key in your system keyring for committee and filing search. Then ask your agent to analyze any FEC filing by ID or search for filings by committee name.
Extract and analyze contribution and disbursement data from FEC filings by filing ID
Search for committees and their filings using the FEC API
Generate summary tables of contributions and expenditures filtered by state, date, or amount
Identify largest itemized expenses and donors within campaign finance filings
No install command available. Check the GitHub repository for manual installation instructions.
git clone https://github.com/hodgesmr/agent-fecfileCopy the install command above and run it in your terminal.
Launch Claude Code, Cursor, or your preferred AI coding agent.
Use the prompt template or examples below to test the skill.
Adapt the skill to your specific use case and workflow.
Analyze the following FEC filing data for [POLITICAL_CANDIDATE] in the [ELECTION_YEAR] election cycle. Extract the top 5 contributors, total contributions, and any notable transactions over $100,000. Provide the results in a structured format.
# FEC Filing Analysis for [Senator Jane Doe] - 2024 Election Cycle ## Top 5 Contributors 1. **TechCorp PAC** - $250,000 2. **Healthcare Alliance** - $180,000 3. **Green Energy Fund** - $150,000 4. **Labor United** - $120,000 5. **Education First** - $100,000 ## Total Contributions - **Total Contributions**: $5,200,000 - **Average Contribution**: $12,500 ## Notable Transactions - **TechCorp PAC** - $250,000 (Single largest contribution) - **Healthcare Alliance** - $180,000 (Largest sector-specific contribution) - **Green Energy Fund** - $150,000 (Emerging sector contribution)
AI assistant built for thoughtful, nuanced conversation
Get more done every day with Microsoft Teams – powered by AI
Automate security compliance and monitor real-time security posture seamlessly.
Automate your spreadsheet tasks with AI power
Agentic AI Workflow platform
Connected workspace for docs, wikis, and projects
Take a free 3-minute scan and get personalized AI skill recommendations.
Take free scan