[Integrations](https://spiral.ai/integrations) › [Google Antigravity](https://spiral.ai/integrations/antigravity) › [Ballotpedia candidate profile](https://spiral.ai/integrations/antigravity/ballotpedia-candidate-profile)

# How to Use Ballotpedia candidate profile in Google Antigravity

Returns a candidate profile with available prior offices, profession, endorsements, and campaign websites. Use it to add background to the names returned in a race.

|  |  |
| --- | --- |
| Model | Ballotpedia candidate profile |
| Available through | Alexandria |
| Category | Maps & Reviews |
| Price | $0.00873 per call. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with Ballotpedia candidate profile in Google Antigravity

- Use Ballotpedia candidate profile to look this up and give me the result as a table. Save the result in ./assets.
- Pull the latest numbers from Ballotpedia candidate profile and tell me what changed since last week.
- Check Ballotpedia candidate profile and summarize what you find in three bullet points.
- Pull the newest data from Ballotpedia candidate profile and give me the result as a table.
- Check Ballotpedia candidate profile every morning and tell me only when something changed.

## How to set up Ballotpedia candidate profile in Google Antigravity

Pick the way that suits you. Each takes about two minutes.

### Use Spiral's MCP server

1. **Open the MCP config**: * Antigravity App: click Customizations, then Installed. In the MCP Servers section, click Copy Config File Path and open that file. * Antigravity IDE: click … at the top of the agent side panel, select MCP Servers, then Manage MCP Servers › View raw config. * Antigravity CLI: edit `~/.gemini/config/mcp_config.json`.

2. **Add the server**: Add Spiral under `mcpServers`:

```json
{
  "mcpServers": {
    "spiral": {
      "serverUrl": "https://api.spiral.ai/mcp"
    }
  }
}
```

3. **Sign in**: In the Antigravity App, open Customizations › Installed. Under MCP Servers, click Authenticate next to Spiral. Sign in to Spiral, pick the organization and click Authorize. Copy the authorization code the browser shows, paste it into Enter authorization code and click Submit. No API key.

### Use the Spiral skill

1. **Send Google Antigravity this message**: Your agent reads Spiral's skill and sets itself up.

```
set up https://spiral.ai/SKILL.md
```

2. **Sign in or paste a key**: Approve Spiral in the browser, or give the agent a key from the console.

### Use the Spiral CLI

1. **Install and sign in**: Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

```bash
npx -y spiral-cli@latest init
```

### Call the Spiral API

1. **Create an API key**: In the console, under API keys.

2. **Run Ballotpedia candidate profile**: One request; the result comes back by polling or a webhook.

```bash
curl https://api.spiral.ai/v1/runs \
  -H "Authorization: Bearer $SPIRAL_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
    "provider": "alexandria",
    "model": "ballotpedia-org/districts/candidate_details",
    "input": {
      "candidate_ids": [
        1
      ]
    }
  }'
```

Then paste one of the prompts above: Google Antigravity finds Ballotpedia candidate profile on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/antigravity

## Ballotpedia candidate profile tools and prices

- [Ballotpedia · Candidate details](https://spiral.ai/tools/alexandria/ballotpedia-org/districts/candidate_details) (Alexandria): $0.00873 per call.

## What can you do with Ballotpedia candidate profile in Google Antigravity?

Build a civic lookup that connects public addresses to Ballotpedia districts, ballots, candidates, and serving officials. Use the returned geography and election dates to keep each screen tied to a specific place and contest.

### Public library ballot guide

Start with a library's public address, identify its districts, and build an election-date guide with races, candidate background, and explanations of listed measures.

### Newsroom election assignment brief

Use city hall as a geographic reference for local contests, add statewide races, and prepare candidate and measure research alongside recent Ballotpedia reporting.

### Civics classroom comparison

Use a state capitol's address to compare current representatives with candidates on a dated ballot. Explain district geography, statewide contests, and the measures students encounter.

### State election briefing

Prepare a briefing on statewide contests with candidate background, explanations of relevant ballot measures, and links to Ballotpedia's published analysis.

### Government transition watch

Compare statewide election candidates with officials currently serving a fixed public location. Use candidate background and recent reporting to explain changes during the transition.

## Overview

- [Alexandria](https://spiral.ai/providers/alexandria)
- [All Google Antigravity guides](https://spiral.ai/integrations/antigravity)

## Ballotpedia candidate profile in other agents

- [Amp](https://spiral.ai/integrations/amp/ballotpedia-candidate-profile)
- [ChatGPT](https://spiral.ai/integrations/chatgpt/ballotpedia-candidate-profile)
- [Claude](https://spiral.ai/integrations/claude-desktop/ballotpedia-candidate-profile)
- [Claude Code](https://spiral.ai/integrations/claude-code/ballotpedia-candidate-profile)
- [Cline](https://spiral.ai/integrations/cline/ballotpedia-candidate-profile)
- [Codex](https://spiral.ai/integrations/codex/ballotpedia-candidate-profile)
- [Cursor](https://spiral.ai/integrations/cursor/ballotpedia-candidate-profile)
- [Devin](https://spiral.ai/integrations/devin/ballotpedia-candidate-profile)
- [dots](https://spiral.ai/integrations/dots/ballotpedia-candidate-profile)
- [Factory Droid](https://spiral.ai/integrations/factory-droid/ballotpedia-candidate-profile)
- [Gemini](https://spiral.ai/integrations/gemini/ballotpedia-candidate-profile)
- [Gemini CLI](https://spiral.ai/integrations/gemini-cli/ballotpedia-candidate-profile)
- [goose](https://spiral.ai/integrations/goose/ballotpedia-candidate-profile)
- [Grok](https://spiral.ai/integrations/grok/ballotpedia-candidate-profile)
- [Grok Build](https://spiral.ai/integrations/grok-build/ballotpedia-candidate-profile)
- [Hermes](https://spiral.ai/integrations/hermes/ballotpedia-candidate-profile)
- [Instinct](https://spiral.ai/integrations/instinct/ballotpedia-candidate-profile)
- [Manus](https://spiral.ai/integrations/manus/ballotpedia-candidate-profile)
- [Muse](https://spiral.ai/integrations/muse/ballotpedia-candidate-profile)
- [Muse Code](https://spiral.ai/integrations/muse-code/ballotpedia-candidate-profile)
- [n8n](https://spiral.ai/integrations/n8n/ballotpedia-candidate-profile)
- [Notion](https://spiral.ai/integrations/notion/ballotpedia-candidate-profile)
- [OpenClaw](https://spiral.ai/integrations/openclaw/ballotpedia-candidate-profile)
- [opencode](https://spiral.ai/integrations/opencode/ballotpedia-candidate-profile)
- [Perplexity](https://spiral.ai/integrations/perplexity/ballotpedia-candidate-profile)
- [Raycast](https://spiral.ai/integrations/raycast/ballotpedia-candidate-profile)
- [VS Code](https://spiral.ai/integrations/vscode/ballotpedia-candidate-profile)
- [Windsurf](https://spiral.ai/integrations/windsurf/ballotpedia-candidate-profile)
- [Zapier](https://spiral.ai/integrations/zapier/ballotpedia-candidate-profile)

## More Google Antigravity guides

- [Ballotpedia ballot measure details](https://spiral.ai/integrations/antigravity/ballotpedia-ballot-measure-details)
- [Ballotpedia current representatives](https://spiral.ai/integrations/antigravity/ballotpedia-current-representatives)
- [Ballotpedia address coordinates](https://spiral.ai/integrations/antigravity/ballotpedia-address-coordinates)
- [Ballotpedia election news](https://spiral.ai/integrations/antigravity/ballotpedia-election-news)
- [BBB customer reviews](https://spiral.ai/integrations/antigravity/bbb-customer-reviews)
- [Ballotpedia political districts](https://spiral.ai/integrations/antigravity/ballotpedia-political-districts)

## Questions about Ballotpedia candidate profile in Google Antigravity

**Can Google Antigravity use Ballotpedia candidate profile?**

Yes. Add Spiral to Google Antigravity as an MCP server, and Google Antigravity can find and run Ballotpedia candidate profile like any built-in tool.

**How much does Ballotpedia candidate profile cost in Google Antigravity?**

$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Google Antigravity plan is separate.

**Do I need an Alexandria account to use Ballotpedia candidate profile in Google Antigravity?**

No. Spiral runs Ballotpedia candidate profile on its own Alexandria account. You sign in to Spiral once and never paste a key.

**How long does it take to set up Ballotpedia candidate profile in Google Antigravity?**

About two minutes: open the MCP config, then add the server, then sign in.

**Does Google Antigravity wait while Ballotpedia candidate profile runs?**

Ballotpedia candidate profile runs in the background. Google Antigravity starts the run, checks on it and gives you the json when it's ready.

**Does Ballotpedia cover every local election?**

Local coverage is not universal. Ballotpedia identifies the top 100 cities by population as a core coverage area and expands coverage beyond those cities.

**How soon do official candidate lists appear?**

For federal and statewide races, Ballotpedia says it updates candidate lists within a week after a state publishes its official list. That timing starts at publication, which can occur after the filing deadline.

**Why can election districts differ from current representation?**

Ballotpedia tracks boundary effective dates around office terms, including swearing-in dates. It documents a 2022 California example where a special election and a regular election on the same day used different congressional boundaries.

**Can a race be absent from Ballotpedia's election data?**

Yes. The geographic election documentation explicitly says that races with no official candidates are omitted, so an absent race does not establish that the office has no election.

**Can Ballotpedia data appear in a public application?**

Its data terms allow use in internal or external products with precautions against third-party bulk downloads. They do not grant permission to redistribute the full datasets.

