[Integrations](https://spiral.ai/integrations) › [Google Antigravity](https://spiral.ai/integrations/antigravity) › [VoteHub poll details](https://spiral.ai/integrations/antigravity/votehub-poll-details)

# How to Use VoteHub poll details in Google Antigravity

Fetch one poll's results, pollster, sponsors, survey dates, sample size, population, and source link. Use it to check or cite a specific survey found in a poll search.

|  |  |
| --- | --- |
| Model | VoteHub poll details |
| Available through | Alexandria |
| Category | News & Media |
| Price | $0.00873 per call. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with VoteHub poll details in Google Antigravity

- Use VoteHub poll details for the Ipsos Donald Trump approval poll appdonips4x59vt9j and render its results and original source link in this project's survey view.
- Use VoteHub poll details to look this up and give me the result as a table. Save the result in ./assets.
- Pull the latest numbers from VoteHub poll details and tell me what changed since last week.
- Check VoteHub poll details and summarize what you find in three bullet points.
- Pull the newest data from VoteHub poll details and give me the result as a table.

## How to set up VoteHub poll details 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 VoteHub poll details**: 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": "votehub-com/election-polls/get_poll",
    "input": {
      "poll_id": "<poll_id>"
    }
  }'
```

Then paste one of the prompts above: Google Antigravity finds VoteHub poll details on Spiral, shows the price and runs it.

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

## VoteHub poll details tools and prices

- [VoteHub Polling API · Get poll](https://spiral.ai/tools/alexandria/votehub-com/election-polls/get_poll) (Alexandria): $0.00873 per call.

## What can you do with VoteHub poll details in Google Antigravity?

Build a polling dashboard with survey results, source links, and race and pollster selectors. Use VoteHub's directories to populate choices and individual records to support inspection.

### Prepare a race briefing

Identify the recorded race subject and pollster names, find relevant surveys, and inspect the polls selected for a briefing with source links.

### Build a polling dashboard

Populate race and pollster selectors from the directories, retrieve matching surveys, and let readers inspect the original record behind each plotted result.

### Check a published polling claim

Resolve the named firm and race against VoteHub's directories, locate the survey, and compare its recorded percentages, sample, and dates with the claim.

### Assemble a research reading list

Choose covered subjects and polling firms from the directories, collect matching surveys, and inspect selected records to produce an annotated list of original releases.

### Compare survey populations

Compare results from surveys of likely voters, registered voters, and adults, keeping sample sizes and fieldwork dates beside the percentages.

### Review sponsorship

Inspect sponsors and VoteHub's internal and partisan flags when explaining why two surveys deserve separate treatment.

## Overview

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

## VoteHub poll details in other agents

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

## More Google Antigravity guides

- [UCSB cylinder recording search](https://spiral.ai/integrations/antigravity/ucsb-cylinder-recording-search)
- [VoteHub poll search](https://spiral.ai/integrations/antigravity/votehub-poll-search)
- [UCSB cylinder recording details](https://spiral.ai/integrations/antigravity/ucsb-cylinder-recording-details)
- [VoteHub polling subjects](https://spiral.ai/integrations/antigravity/votehub-polling-subjects)
- [Talents Forever talent details](https://spiral.ai/integrations/antigravity/talents-forever-talent-details)
- [VoteHub pollster directory](https://spiral.ai/integrations/antigravity/votehub-pollster-directory)

## Questions about VoteHub poll details in Google Antigravity

**Can Google Antigravity use VoteHub poll details?**

Yes. Add Spiral to Google Antigravity as an MCP server, and Google Antigravity can find and run VoteHub poll details like any built-in tool.

**How much does VoteHub poll details 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 VoteHub poll details in Google Antigravity?**

No. Spiral runs VoteHub poll details on its own Alexandria account. You sign in to Spiral once and never paste a key.

**How long does it take to set up VoteHub poll details in Google Antigravity?**

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

**Does Google Antigravity wait while VoteHub poll details runs?**

VoteHub poll details runs in the background. Google Antigravity starts the run, checks on it and gives you the json when it's ready.

**Which elections and opinion topics does VoteHub cover?**

Coverage includes U.S. Senate, House, governor and other races, the generic congressional ballot, presidential approval, and favorability.

**Does VoteHub return individual survey responses?**

The documented records contain answer percentages and survey metadata, including sample size and population. They link to a poll's original source.

**How fresh and complete is the archive?**

VoteHub describes the API as beta and says it is adding subjects, poll types, and historical data alongside real-time updates. Coverage is still expanding.

**Is the pollster directory a list of every polling firm?**

It lists distinct pollster names in VoteHub's database. The subjects directory likewise describes subjects and poll types represented there.

**Can campaign-sponsored polls appear?**

Yes. VoteHub includes internal and partisan flags so campaign and party-aligned releases can be distinguished from independent polls.

