Bring Campaign Finance
to LangChain
Learn how to connect OpenFEC (Federal Election Commission) to LangChain 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 LangChain?
LangChain's ecosystem of 500+ components combines seamlessly with OpenFEC (Federal Election Commission) through native MCP adapters. Connect 21 tools via Vinkius and use ReAct agents, Plan-and-Execute strategies, or custom agent architectures. with LangSmith tracing giving full visibility into every tool call, latency, and token cost.
- —
The largest ecosystem of integrations, chains, and agents. combine OpenFEC (Federal Election Commission) MCP tools with 500+ LangChain components
- —
Agent architecture supports ReAct, Plan-and-Execute, and custom strategies with full MCP tool access at every step
- —
LangSmith tracing gives you complete visibility into tool calls, latencies, and token usage for production debugging
- —
Memory and conversation persistence let agents maintain context across OpenFEC (Federal Election Commission) queries for multi-turn workflows
OpenFEC (Federal Election Commission) in LangChain
OpenFEC (Federal Election Commission) and 4,000+ other MCP servers. One platform. One governance layer.
Teams that connect OpenFEC (Federal Election Commission) to LangChain 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 LangChain
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 LangChain 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 LangChain
Every tool call from LangChain 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 LangChain connect to MCP servers?
Use langchain-mcp-adapters to create an MCP client. LangChain discovers all tools and wraps them as native LangChain tools compatible with any agent type.
Which LangChain agent types work with MCP?
All agent types including ReAct, OpenAI Functions, and custom agents work with MCP tools. The tools appear as standard LangChain tools after the adapter wraps them.
Can I trace MCP tool calls in LangSmith?
Yes. All MCP tool invocations appear as traced steps in LangSmith, showing input parameters, response payloads, latency, and token usage.
MultiServerMCPClient not found
Install: pip install langchain-mcp-adapters
Explore More MCP Servers
View all →
Watchmode Streaming Availability
8 toolsFind where to watch any movie or TV show — search streaming availability across Netflix, Disney+, HBO Max, and 200+ platforms directly from your AI agent.

Messaggio
12 toolsSend bulk SMS, Viber, and WhatsApp messages through a unified API with delivery tracking and campaign analytics.

Transloadit
10 toolsManage your media processing pipelines, encode videos, resize images, and oversee your file cloud instantly via an AI agent.

Baidu Qianfan
6 toolsOrchestrate Baidu Qianfan AI models — manage chat completions, embeddings, and prompt templates directly from any AI agent.
