
Connect AP Elections API to ChatGPT, Claude and Gemini
Set it up once and it works in ChatGPT, Claude, Cursor, and any other client you love. It all runs safely in the background, so you can relax and focus on what really matters. Audit races and track candidate performance instantly.
Developed, maintained, and hosted by Vinkius.
MCP VERIFIED · PRODUCTION READY · VINKIUS GUARANTEED
Waiting for input…
Works with modern AI clients that support MCP, including ChatGPT, Claude, Cursor, and more.
Your AI does the work. We keep it safe and sound.
No other AI tool gives you this. Your workflow runs in the client you already love, your account stays protected, and you decide what the agent can and cannot do. It is the whole reason to make the switch.
Each Connector lives inside our infrastructure, the same place where your workflow runs. The three things below are already part of it, working quietly in the background so you never have to think about them. Nothing to add, nothing to set up, nothing to worry about.

Each Connector runs inside its own sealed environment.
Each Connector runs inside its own sealed V8 runtime — no access to your files, your system, or other servers. A Connector never sees past its own request.
One switch stops every agent. Instantly.
One action deactivates every Connector, revokes every token, and ends every session at once. AI Governance keeps the record.
Spending limits that pause instead of surprise.
Every user keeps their own connections and credentials, isolated from everyone else. Anything that would cross your spending limit is held for your approval, not billed.
Three controls, built into the layer your AI connects through.
Curated set · 4 capabilities
We ship only the actions that matter.
01-04
4 capabilities in this set.
Part of 4 available through AP Elections API.
- 01
Check API status
Use check_api_status to confirm the AP Elections API is online and ready for your research.
- 02
Get race details
Pull up the full, detailed results for any specific race ID you need to audit.
- 03
Get election results
Retrieve comprehensive election results for a specific date by providing the date in YYYY-MM-DD format.
- 04
List election candidates
List every candidate participating in a given election date to understand the field.
Real work
What teams actually run
Post-Primary Analysis
A political analyst needs to compare vote shares across three different races from a single primary election date. They query the MCP for all results from that day.
Fact-Checking News Stories
A journalist needs to verify the exact vote count for a specific candidate in a specific race ID mentioned in a breaking story. They run a targeted query.
Tracking Legislative Shifts
A policy researcher wants to understand regional political trends by querying election results across multiple states for a given election year.
Candidate Comparison
A team needs to know who was running in a particular election cycle. They use the MCP to list all candidates participating on the target date.
Automate a task
Put AP Elections API to work on one thing.
Step-by-step automations your AI runs through this Connector: the workflow, the prompts to start with, and the exact capabilities behind each move.
One connector, every AI
AP Elections API works with the most popular AI clients.
These are the most popular clients, each with a step-by-step guide: one link, set up once, with governance and visibility built in. And because everything runs on the MCP standard, the same connection also works in any other compatible client — nothing to rebuild.
Claude
ChatGPT
Gemini
Perplexity
Grok
Microsoft Copilot
Cursor
VS Code
Windsurf
JetBrains
Cline
LangChain
Vercel AI SDK
Lovable
Z.ai
Raycast
Qwen Code
Kimi Code
Le ChatBuilding your own app? The connector is yours to use.
You don't need a client to put AP Elections API to work: the same hosted connection plugs into your own applications and agent code, with the same governance on every request. Build with it, chat with it — one connection for both.
Observed, not estimated
925ms average. Fast in production.
AP Elections API is checked daily against the live service.
- Fastest day
- 667ms
- Slowest day
- 1180ms
- 14-day trend
- Slowing+8%
Connect your client
One URL. Every client.
Activate the Connector, copy your link, and paste it into the client you already use. 4 capabilities arrive ready to run.
Preview access · not provider authentication
The vk_preview_* token belongs to Vinkius preview infrastructure. It lets Claude discover and display the capabilities of AP Elections API, so you can see the experience inside your AI.
It does not authenticate your account with AP Elections API. Actions requiring credentials or live account data may not run until you activate the Connector and authorize the service.
AP Elections API Connector
You're all set. Choose your MCP client and follow the setup instructions.
https://edge.vinkius.com/vk_preview_ErnvmclTpJOBVwbKuP5EHbMHyfPWLqw3gKLX2VWQ/mcpClaude Desktop
Follow the steps below to connect in seconds.
- 1In Claude Desktop, open Settings → Connectors.
- 2Click “Add custom connector” and paste the connector link above as the remote MCP server URL.
- 3Click Add and start a new chat — AP Elections API capabilities are ready to use.
{
"mcpServers": {
"ap-elections-api-mcp": {
"url": "https://edge.vinkius.com/vk_preview_ErnvmclTpJOBVwbKuP5EHbMHyfPWLqw3gKLX2VWQ/mcp"
}
}
}
Claude
ChatGPT
Cursor
VS Code
Windsurf
Claude Code
JetBrains
Cline
Step-by-step instructions for each client are in the guide. How to connect
Guided setup for Claude? Set up AP Elections API in Claude and other AIs
Who it's for
Built for the work AP Elections API owners hand off.
This MCP is essential for professionals who need verifiable, up-to-the-minute election data. It lets you automate the process of gathering official results, making it perfect for research teams and newsrooms that rely on accuracy. You connect it once from your AI client and get instant access to authoritative data.
- 01
Political Analysts
Use this MCP to monitor election results and retrieve official metadata directly into your analysis workflow.
- 02
Journalists & Newsrooms
Verify candidate performance and audit vote totals without having to manually search multiple sources.
- 03
Policy Researchers
Perform rapid audits of legislative races and identify relevant electoral markers using natural language queries.
- 04
Operations Leads
Automate election data querying to keep cross-functional research teams running smoothly.
FAQ
Questions AP Elections API owners ask.
- 01
Is this data truly real-time?
Yes. This MCP provides access to real-time election results, allowing you to audit races and track changes as they happen. It is designed for authoritative, up-to-the-minute data.
- 02
What kind of data can I pull?
You can pull detailed race outcomes, overall election results by date, candidate metadata, and specific vote counts. The data supports deep-dive electoral classification.
- 03
Do I need to know the race ID beforehand?
No. While you can query by a specific race ID using get_race_details, you can also start by querying by a general election date to see available races first.
- 04
Does this work with my existing AI capabilities?
Since this is an MCP on Vinkius, you connect it once from any compatible client, like Claude, Cursor, or Windsurf. Your agent then uses the capabilities directly.
- 05
What if the API is down?
You can use the check_api_status capability to confirm if the AP Elections API is operational before running any major research queries.
- 06
How do I find my AP Elections API Key?
Log in to your AP Developer portal, register for the Elections API, and you will find your API Key in your dashboard. Copy and paste it below.
- 07
Does it support real-time vote counts?
Yes. The Associated Press provides official, real-time vote counts and delegate allocations as they are reported on election night.
- 08
Can the agent show candidate party affiliation?
Yes. Every candidate record retrieved by your agent includes their party code (e.g., 'Dem', 'GOP') and other relevant affiliation metadata.
Explore
More in Data Analytics
QuestDB (Time-Series) AI Connector
High-performance time-series database for fast SQL queries, data ingestion, and real-time analytics directly f
ViewReal-Time Currency Exchange AI Connector
Give your AI access to the global forex market. Convert real-time and historical currencies instantly using of
ViewTinybird Data Platform AI Connector
Analyze real-time data via Tinybird — manage Data Sources, inspect Pipes, and query endpoints directly.
ViewHevo Data (ETL & Data Pipeline) AI Connector
Manage data pipelines via Hevo — list pipelines, monitor destinations, and track usage.
View
Suggestions
PubNub (Real-time Messaging) AI Connector
Enable real-time messaging, presence tracking, and message history for your AI agent using PubNub's global dat
ViewData Pipeline Prover AI Connector
A data team asked an AI to build an ETL pipeline. No schema contract. No idempotency. No freshness SLA. The pi
ViewElectricSQL (Sync Engine) AI Connector
Sync Postgres data to your AI agent in real-time using ElectricSQL's HTTP Sync API — fetch shapes, stream upda
ViewOpenFEC (Federal Election Commission) AI Connector
Access real-time federal campaign finance data — search candidates, track committee filings, and analyze elect
View
Connect AP Elections API to Claude, Cursor, ChatGPT & more
