How to Use Ballotpedia address coordinates in Gemini CLI
Converts an address into latitude and longitude for geographic lookups. Use it when your starting point is a public building or business address rather than coordinates.
Prompts to try with Ballotpedia address coordinates in Gemini CLI
Copy an example into Gemini CLI, or ask in your own words.
Use Ballotpedia address coordinates for Wisconsin State Capitol, 2 E Main St, Madison, WI 53703, and add the returned latitude and longitude to our demo location fixture.
Use Ballotpedia address coordinates to look this up and give me the result as a table. Save the result in ./assets.
Pull the latest numbers from Ballotpedia address coordinates and tell me what changed since last week.
Check Ballotpedia address coordinates and summarize what you find in three bullet points.
Pull the newest data from Ballotpedia address coordinates and give me the result as a table.
How to set up Ballotpedia address coordinates in Gemini CLI
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- Add the server
Or add it to ~/.gemini/settings.json yourself:
gemini mcp add --scope user --transport http spiral https://api.spiral.ai/mcp
- Sign in
Start gemini and run:
/mcp auth spiral
- Check it
In Gemini CLI, run /mcp. From your shell:
gemini mcp list
Use the Spiral skill
- Send Gemini CLI this message
Your agent reads Spiral's skill and sets itself up.
set up https://spiral.ai/SKILL.md
- Sign in or paste a key
Approve Spiral in the browser, or give the agent a key from the console.
Use the Spiral CLI
- Install and sign in
Installs the Spiral CLI, signs you in and adds its skill to your coding agents.
npx -y spiral-cli@latest init
Call the Spiral API
- Create an API key
In the console, under API keys.
- Run Ballotpedia address coordinates
One request; the result comes back by polling or a webhook.
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/geocode_address", "input": { "address": "<address>" } }'
Then paste one of the prompts above: Gemini CLI finds Ballotpedia address coordinates on Spiral, shows the price and runs it.
Ballotpedia address coordinates providers and prices
Spiral runs Ballotpedia address coordinates through Alexandria. Open a card for today's price, with every fee included.
What can you do with Ballotpedia address coordinates in Gemini CLI?
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.
Municipal civic information kiosk
Build a civic reference centered on a public facility's address, showing districts, serving officials, a selected election ballot, and links to recent election reporting.
Library branch representation directory
Resolve public branch addresses to coordinates and districts, then identify the current officials representing each branch. Group the directory by office and district.
More on Ballotpedia address coordinates and Gemini CLI
Overview
Ballotpedia address coordinates in other agents
Questions about Ballotpedia address coordinates in Gemini CLI
Can Gemini CLI use Ballotpedia address coordinates?
Yes. Add Spiral to Gemini CLI as an MCP server, and Gemini CLI can find and run Ballotpedia address coordinates like any built-in tool.
How much does Ballotpedia address coordinates cost in Gemini CLI?
$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Gemini CLI plan is separate.
Do I need an Alexandria account to use Ballotpedia address coordinates in Gemini CLI?
No. Spiral runs Ballotpedia address coordinates 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 address coordinates in Gemini CLI?
About two minutes: add the server, then sign in, then check it.
Does Gemini CLI wait while Ballotpedia address coordinates runs?
Ballotpedia address coordinates runs in the background. Gemini CLI 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.
Start using Ballotpedia address coordinates in Gemini CLI
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into Gemini CLI:
set up https://spiral.ai/SKILL.md


