Bring Campaign Finance
to Vercel AI SDK
Learn how to connect OpenFEC (Federal Election Commission) to Vercel AI SDK 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 Vercel AI SDK?
The Vercel AI SDK gives every OpenFEC (Federal Election Commission) tool full TypeScript type inference, IDE autocomplete, and compile-time error checking. Connect 21 tools through Vinkius and stream results progressively to React, Svelte, or Vue components. works on Edge Functions, Cloudflare Workers, and any Node.js runtime.
- —
TypeScript-first: every MCP tool gets full type inference, IDE autocomplete, and compile-time error checking out of the box
- —
Framework-agnostic core works with Next.js, Nuxt, SvelteKit, or any Node.js runtime. same OpenFEC (Federal Election Commission) integration everywhere
- —
Built-in streaming UI primitives let you display OpenFEC (Federal Election Commission) tool results progressively in React, Svelte, or Vue components
- —
Edge-compatible: the AI SDK runs on Vercel Edge Functions, Cloudflare Workers, and other edge runtimes for minimal latency
OpenFEC (Federal Election Commission) in Vercel AI SDK
OpenFEC (Federal Election Commission) and 4,000+ other MCP servers. One platform. One governance layer.
Teams that connect OpenFEC (Federal Election Commission) to Vercel AI SDK 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 Vercel AI SDK
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 Vercel AI SDK 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 Vercel AI SDK
Every tool call from Vercel AI SDK 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 the Vercel AI SDK connect to MCP servers?
Import createMCPClient from @ai-sdk/mcp and pass the server URL. The SDK discovers all tools and provides typed TypeScript interfaces for each one.
Can I use MCP tools in Edge Functions?
Yes. The AI SDK is fully edge-compatible. MCP connections work on Vercel Edge Functions, Cloudflare Workers, and similar runtimes.
Does it support streaming tool results?
Yes. The SDK provides streaming primitives like useChat and streamText that handle tool calls and display results progressively in the UI.
createMCPClient is not a function
Install: npm install @ai-sdk/mcp
Explore More MCP Servers
View all →
Recruit CRM
12 toolsManage candidates, jobs, and client companies with Recruit CRM and AI agents.

Bland AI
12 toolsDeploy AI phone agents that handle inbound and outbound calls with natural conversation for sales and customer support.

Apify
7 toolsRun web scraping actors, collect structured data, and manage storage datasets for large-scale data extraction projects.
Honeybadger (Error Tracking)
10 toolsMonitor app exceptions and uptime via Honeybadger — list projects, resolve faults, and track deployments.
