AP Elections API Connector for AI agents.
4 live capabilities
Pull real-time election results and audit candidate vote shares.
Waiting for input…
Why people use AP Elections API
AP Elections API for Real-Time Election Data Auditing
This Connector changes that by letting your agent pull the data directly from the Associated Press. You get a clean, authoritative feed of results and candidate lists in one conversation.
What Vinkius changes
You get authoritative political data without having to manually search for it.
Use it from Claude, ChatGPT, Cursor or another AI client you already have.
One account · 5,900+ Connectors
- Real-world use case 01
Live News Tracking
A journalist asks for the latest results in a specific state to update a live blog instantly.
- Real-world use case 02
Academic Research
A researcher pulls all candidates from a 2024 date to map out party distribution.
- Real-world use case 03
Fact Checking
An analyst uses a race ID to verify if a candidate actually won a specific district.
Complete set · 4capabilities
The complete AP Elections API capability set.
These are the exact actions your AI can choose when you ask it to work with AP Elections API.
01—04
4 capabilities in this set.
Part of 4 available through AP Elections API.
- 01 Capability
Get race details
Pull specific results for a single race ID. This is how you get the deep dive on a particular contest.
- 02 Capability
Get election results
Get all the results for a specific date. Use this to see the big picture of a whole election day.
- 03 Capability
List election candidates
See every person running in an election on a specific date. This helps you map out the field before the results come in.
- 04 Capability
Check api status
See if the AP Elections API is currently up and running. This ensures your research workflow doesn't hit a dead end.
Set up in minutes
One URL. Then ask AP Elections API to work.
Claude and ChatGPT only need the Connector URL. Copy it once, add it in settings, and use AP Elections API from the conversation.
Choose your client
Live previewAdvanced clients IDE · CLI
Claude · Web + desktop
Connector URL · ready to paste
Streamable HTTPhttps://edge.vinkius.com/vk_preview_ErnvmclTpJOBVwbKuP5EHbMHyfPWLqw3gKLX2VWQ/mcp - Step 01
Open Connectors
In Claude Web or Claude Desktop, open Settings and choose Connectors.
- Step 02
Add the URL
Choose Add custom connector, name it AP Elections API, and paste the URL above.
- Step 03
Turn it on in chat
Select +, open Connectors, and enable AP Elections API for the conversation.
ChatGPT · Web + desktop
Connector URL · ready to paste
Streamable HTTPhttps://edge.vinkius.com/vk_preview_ErnvmclTpJOBVwbKuP5EHbMHyfPWLqw3gKLX2VWQ/mcp - Step 01
Open MCP settings
On desktop, open Settings and MCP servers. On web, open your workspace app or connector settings.
- Step 02
Add the URL
Choose Add server with Streamable HTTP, or create a custom MCP app, then paste the AP Elections API URL.
- Step 03
Save and start
Save the connection and enable AP Elections API in your conversation. Desktop may ask you to restart once.
Cursor · IDE configuration
Advanced setup
{
"mcpServers": {
"ap-elections-api": {
"url": "https://edge.vinkius.com/vk_preview_ErnvmclTpJOBVwbKuP5EHbMHyfPWLqw3gKLX2VWQ/mcp"
}
}
} - Step 01
Open MCP Settings
Press Cmd+Shift+P (macOS) or Ctrl+Shift+P (Windows/Linux) → search "MCP Settings"
- Step 02
Add the server config
Paste the JSON configuration above into the mcp.json file that opens
- Step 03
Save the file
Cursor will automatically detect the new Connector
- Step 04
Start using AP Elections API
Open Agent mode in chat and ask: "Using AP Elections API, help me...". 4 tools available
VS Code Copilot · IDE configuration
Advanced setup
{
"mcpServers": {
"ap-elections-api": {
"url": "https://edge.vinkius.com/vk_preview_ErnvmclTpJOBVwbKuP5EHbMHyfPWLqw3gKLX2VWQ/mcp"
}
}
} - Step 01
Create MCP config
Create a .vscode/mcp.json file in your project root
- Step 02
Add the server config
Paste the JSON configuration above
- Step 03
Enable Agent mode
Open GitHub Copilot Chat and switch to Agent mode using the dropdown
- Step 04
Start using AP Elections API
Ask Copilot: "Using AP Elections API, help me...". 4 tools available
Windsurf · IDE configuration
Advanced setup
{
"mcpServers": {
"ap-elections-api": {
"url": "https://edge.vinkius.com/vk_preview_ErnvmclTpJOBVwbKuP5EHbMHyfPWLqw3gKLX2VWQ/mcp"
}
}
} - Step 01
Open MCP Settings
Go to Settings → MCP Configuration or press Cmd+Shift+P and search "MCP"
- Step 02
Add the server
Paste the JSON configuration above into mcp_config.json
- Step 03
Save and reload
Windsurf will detect the new server automatically
- Step 04
Start using AP Elections API
Open Cascade and ask: "Using AP Elections API, help me...". 4 tools available
Cline · IDE configuration
Advanced setup
{
"mcpServers": {
"ap-elections-api": {
"url": "https://edge.vinkius.com/vk_preview_ErnvmclTpJOBVwbKuP5EHbMHyfPWLqw3gKLX2VWQ/mcp"
}
}
} - Step 01
Open Cline MCP Settings
Click the Connectors icon in the Cline sidebar panel
- Step 02
Add remote server
Click "Add Connector" and paste the configuration above
- Step 03
Enable the server
Toggle the server switch to ON
- Step 04
Start using AP Elections API
Ask Cline: "Using AP Elections API, help me...". 4 tools available
Claude Code · Terminal command
Advanced setup
claude mcp add ap-elections-api --transport http "https://edge.vinkius.com/vk_preview_ErnvmclTpJOBVwbKuP5EHbMHyfPWLqw3gKLX2VWQ/mcp" - Step 01
Install Claude Code
Run npm install -g @anthropic-ai/claude-code if not already installed
- Step 02
Add the Connector
Run the command above in your terminal
- Step 03
Verify the connection
Run claude mcp to list connected servers, or type /mcp inside a session
- Step 04
Start using AP Elections API
Ask Claude: "Using AP Elections API, show me...". 4 tools are ready
Where the request belongs
Work AP Elections API can move forward.
This is for researchers and newsrooms who need accurate, real-time voting data without the headache of manual data entry or switching between dozens of tabs.
Political Analyst
Audits race outcomes and candidate performance for reports.
Newsroom Journalist
Verifies vote totals and candidate lists during live coverage.
Policy Researcher
Identifies regional shifts and electoral markers for academic study.
Build the capability set
Add more capabilities.
Each Connector adds new actions and data without changing how you work.
Browse ConnectorsBallotReady
Civic data and election information. track upcoming elections, candidates, and districts via AI.
Google Civic Information
Manage political data. audit representatives and elections via AI.
vote.direct
Manage voter info. audit polling locations, elections, and registration via IA.
OpenFEC (Federal Election Commission)
Access real-time federal campaign finance data. search candidates, track committee filings, and analyze election financial totals directly.
LegiScan Legislation Lookup
Universal legislative intelligence. search bills, votes, and state laws via AI.
Câmara dos Deputados (v2)
Access real-time data from the Brazilian Chamber of Deputies. track expenses, speeches, and legislative activities of all deputies.
Bring your own AI
Change the model, client or framework. Keep AP Elections API connected.
-
Claude -
ChatGPT -
Gemini -
Cursor -
VS Code -
Windsurf -
ZCode -
Cline -
Zed -
Continue -
Kiro -
Roo Code -
Zencoder -
Goose -
Void -
Augment Code -
Amp -
Qodo -
Tabnine -
Pieces -
Sourcegraph Cody -
JetBrains -
Warp -
Amazon Q -
Antigravity -
BoltAI -
Raycast -
Jan -
LM Studio -
AnythingLLM -
Open WebUI -
Msty -
Cherry Studio -
LibreChat -
TypingMind -
Chorus -
5ire -
n8n -
LangChain -
LlamaIndex -
CrewAI -
Vercel AI SDK
Before you connect
Questions about AP Elections API.
The practical details behind the request, access and result.
Can the AP Elections API MCP get real-time results?
Yes, it pulls current data from the Associated Press so you see results as they happen.
Is the AP Elections API MCP good for journalists?
It's built for newsrooms to verify candidate performance and vote totals quickly without manual searching.
Can I use the AP Elections API MCP to find all candidates on a specific date?
You can use it to pull every candidate participating in an election for a given date to map out the field.
Does the AP Elections API MCP work for local elections?
It provides high-resolution results for various races, including local legislative shifts and geographic distributions.
How do I know if the AP Elections API MCP is currently active?
You can ask your agent to check the status of the data feed at any time to ensure your research workflow is live.
Can I pull specific race IDs with the AP Elections API MCP?
Yes, it allows you to get detailed results for any specific race ID you have for deep-dive analysis.
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.
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.
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.
One connection away
Give your agent a direct line to AP Elections API.
Connect AP Elections API once. Keep it beside 5,900+ managed Connectors when the next task needs more.
Explore every Connector No credit card required · Free tier available