Bring Campaign Finance
to LlamaIndex
Learn how to connect OpenFEC (Federal Election Commission) to LlamaIndex and start using 21 AI agent tools in minutes. Fully managed, enterprise secure, and ready to use without writing a single line of code.
Compatible with every major AI agent and IDE
What is the OpenFEC (Federal Election Commission) MCP Server?
Connect to the official OpenFEC API and bring transparency to federal election data through your AI agent. This server provides direct access to the Federal Election Commission's comprehensive database of campaign finance information.
What you can do
- Candidate Research — List and search for individuals running for President, Senate, or House with filters for state, party, and cycle.
- Financial Analytics — Retrieve aggregated financial totals and summaries for specific candidates to understand fundraising and spending.
- Committee Tracking — Explore political committees (PACs, party committees) and their detailed metadata and filings.
- Historical Context — Access the history of candidate filings and designations over multiple election cycles.
- Deep Metadata — Fetch detailed profiles for any candidate or committee using their unique FEC identifiers.
How it works
- Subscribe to this server
- Enter your OpenFEC API Key
- Start querying election data from Claude, Cursor, or any MCP client
Who is this for?
- Journalists & Researchers — quickly verify campaign finance figures and candidate statuses without manual database exports.
- Data Analysts — pull structured election data directly into your workflow for political trend analysis.
- Civic Tech Developers — integrate official government data into applications with ease.
Built-in capabilities (21)
Get detailed information for a specific candidate by ID
Get the history of a candidate filings and designations
Get aggregated financial totals for a specific candidate
Get detailed information for a specific committee by ID
Get the history of a committee characteristics over time
Get financial totals for a specific committee type
Get financial totals aggregated by candidate or committee entity
Summarize financial data by committee officer
Fetch a list of candidates with various filters
Fetch a list of committees with filters
List all filings (electronic and paper) with filters
Fetch financial reports filed by specific types of committees
Itemized Receipts: Contributions from individuals and committees
Itemized Disbursements: Operating expenditures, transfers, refunds
Loans: Information on loans received or made by committees
Debts: Debts and obligations owed by or to committees
Independent Expenditures: Spending to support/oppose candidates
Coordinated Party Expenditures: Spending in coordination with candidates
Get contact information for state election offices
Search for candidates by name or other attributes
Search for committees by name or ID
Why LlamaIndex?
LlamaIndex agents combine OpenFEC (Federal Election Commission) tool responses with indexed documents for comprehensive, grounded answers. Connect 21 tools through Vinkius and query live data alongside vector stores and SQL databases in a single turn. ideal for hybrid search, data enrichment, and analytical workflows.
- —
Data-first architecture: LlamaIndex agents combine OpenFEC (Federal Election Commission) tool responses with indexed documents for comprehensive, grounded answers
- —
Query pipeline framework lets you chain OpenFEC (Federal Election Commission) tool calls with transformations, filters, and re-rankers in a typed pipeline
- —
Multi-source reasoning: agents can query OpenFEC (Federal Election Commission), a vector store, and a SQL database in a single turn and synthesize results
- —
Observability integrations show exactly what OpenFEC (Federal Election Commission) tools were called, what data was returned, and how it influenced the final answer
OpenFEC (Federal Election Commission) in LlamaIndex
OpenFEC (Federal Election Commission) and 4,000+ other MCP servers. One platform. One governance layer.
Teams that connect OpenFEC (Federal Election Commission) to LlamaIndex through Vinkius don't need to source, host, or maintain individual MCP servers. Every tool call runs inside a hardened runtime with credential isolation, DLP, and a signed audit chain.
Raw MCP | Vinkius | |
|---|---|---|
| Server catalog | Find and host yourself | 4,000+ managed |
| Infrastructure | Self-hosted | Sandboxed V8 isolates |
| Credential handling | Plaintext in config | Vault + runtime injection |
| Data loss prevention | None | Configurable DLP policies |
| Kill switch | None | Global instant shutdown |
| Financial circuit breakers | None | Per-server limits + alerts |
| Audit trail | None | Ed25519 signed logs |
| SIEM log streaming | None | Splunk, Datadog, Webhook |
| Honeytokens | None | Canary alerts on leak |
| Custom domains | Not applicable | DNS challenge verified |
| GDPR compliance | Manual effort | Automated purge + export |
Why teams choose Vinkius for OpenFEC (Federal Election Commission) in LlamaIndex
The OpenFEC (Federal Election Commission) MCP Server runs on Vinkius-managed infrastructure inside AWS — a purpose-built runtime with per-request V8 isolates, Ed25519 signed audit chains, and sub-40ms cold starts. All 21 tools execute in hardened sandboxes optimized for native MCP execution.
Your AI agents in LlamaIndex only access the data you authorize, with DLP that blocks sensitive information from ever reaching the model, kill switch for instant shutdown, and up to 60% token savings. Enterprise-grade infrastructure, zero maintenance.

* Every MCP server runs on Vinkius-managed infrastructure inside AWS - a purpose-built runtime with per-request V8 isolates, Ed25519 signed audit chains, and sub-40ms cold starts optimized for native MCP execution. See our infrastructure
How Vinkius secures
OpenFEC (Federal Election Commission) for LlamaIndex
Every tool call from LlamaIndex to the OpenFEC (Federal Election Commission) MCP Server is protected by DLP redaction, cryptographic audit chains, V8 sandbox isolation, kill switch, and financial circuit breakers.
Frequently asked questions
Can I find out how much a specific candidate has raised in total for an election cycle?
Yes! Use the get_candidate_totals tool with the candidate's ID and the desired cycle. It will return aggregated financial summaries including total receipts and disbursements.
How do I search for all candidates running for the Senate in a specific state?
You can use the list_candidates tool and provide 'S' for the office and the two-letter state abbreviation (e.g., 'CA' for California) to filter the results.
Is it possible to see the history of a candidate's previous filings?
Absolutely. The get_candidate_history tool allows you to retrieve historical data for a candidate, showing their filings and designations over time.
How does LlamaIndex connect to MCP servers?
Use the MCP client adapter to create a connection. LlamaIndex discovers all tools and wraps them as query engine tools compatible with any LlamaIndex agent.
Can I combine MCP tools with vector stores?
Yes. LlamaIndex agents can query OpenFEC (Federal Election Commission) tools and vector store indexes in the same turn, combining real-time and embedded data for grounded responses.
Does LlamaIndex support async MCP calls?
Yes. LlamaIndex's async agent framework supports concurrent MCP tool calls for high-throughput data processing pipelines.
BasicMCPClient not found
Install: pip install llama-index-tools-mcp
Explore More MCP Servers
View all →
HTML DOM Query Engine
1 toolsExtract specific text and attributes from massive HTML payloads instantly using CSS selectors. Fast, memory-efficient DOM parsing.

Customerly
8 toolsCombine live chat, email marketing, and customer surveys in one platform that helps SaaS companies grow and retain users.

Amplemarket
8 toolsSales automation and lead generation — manage sequences, leads, and custom signals via AI.

Gong
14 toolsAnalyze sales conversations with AI that reveals winning patterns, coach reps with data, and forecast revenue with precision.
