Model and map any 2028 U.S. race down to the precinct: scenarios, swing, turnout, and roll-ups.
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add --transport http electionsmcp https://www.electionsmcp.com/mcp --header 'x-electionsmcp-key: <X_ELECTIONSMCP_KEY>'~/.codex/config.toml
[mcp_servers.electionsmcp]
url = "https://www.electionsmcp.com/mcp"
http_headers = { x-electionsmcp-key = "<X_ELECTIONSMCP_KEY>" }
# codex mcp add electionsmcp --url https://www.electionsmcp.com/mcp~/.cursor/mcp.json
{
"mcpServers": {
"electionsmcp": {
"url": "https://www.electionsmcp.com/mcp",
"headers": {
"x-electionsmcp-key": "<X_ELECTIONSMCP_KEY>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"electionsmcp": {
"type": "http",
"url": "https://www.electionsmcp.com/mcp",
"headers": {
"x-electionsmcp-key": "<X_ELECTIONSMCP_KEY>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"electionsmcp": {
"httpUrl": "https://www.electionsmcp.com/mcp",
"headers": {
"x-electionsmcp-key": "<X_ELECTIONSMCP_KEY>"
}
}
}
}claude_desktop_config.json · Customize › Connectors › Add custom connector
{
"mcpServers": {
"electionsmcp": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://www.electionsmcp.com/mcp",
"--header",
"x-electionsmcp-key:<X_ELECTIONSMCP_KEY>"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"electionsmcp": {
"url": "https://www.electionsmcp.com/mcp",
"headers": {
"x-electionsmcp-key": "<X_ELECTIONSMCP_KEY>"
}
}
}
}