How to Use Clarity contest details in Grok
Clarity contest details returns a race's votes by precinct on county sites or by county on state sites. Use it to calculate local margins and see where support differs within the published results.
Prompts to try with Clarity contest details in Grok
Copy an example into Grok, or ask in your own words.
Use Clarity contest details for Deerfield Township Committee in Cumberland County, New Jersey's November 3, 2026 general election, and compare the candidates' votes in each published precinct.
Use Clarity contest details for president in Iowa's November 5, 2024 general election, and rank counties by the vote gap between the two leading candidates statewide.
Use Clarity contest details to look this up and give me the result as a table.
Pull the latest numbers from Clarity contest details and tell me what changed since last week.
Check Clarity contest details and summarize what you find in three bullet points.
How to set up Clarity contest details in Grok
Pick the way that suits you. Each takes about two minutes.
Use the Grok connector
- Add a custom connector
In Grok open Settings › Connect Apps, then Add a custom connector. Name it Spiral, paste this URL, leave Headers empty and click Add MCP.
https://api.spiral.ai/mcp
- Sign in to Spiral and approve
Grok opens Spiral: sign in, pick the organization and click Authorize. Spiral gives the connection its own API key; Grok never sees it, and you can remove the connection under Settings › Connected apps.
- Check that it is connected
Connect Apps › Custom shows Spiral as Connected. It works in every Grok chat and Grok bot.
Use the Spiral skill
- Send Grok 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 Clarity contest details
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": "results-enr-clarityelections-com/elections/get_contest_details", "input": { "contest_id": "<contest_id>" } }'
Then paste one of the prompts above: Grok finds Clarity contest details on Spiral, shows the price and runs it.
Clarity contest details providers and prices
Spiral runs Clarity contest details through Alexandria. Open a card for today's price, with every fee included.
$0.00873 per call.
What can you do with Clarity contest details in Grok?
Turn a local election question into a table of published votes and a plain-English explanation. Chat apps can help identify the election, summarize contests, or compare precincts and counties using Clarity's public results.
Prepare a county election brief
Locate the published election, summarize contest totals, and add precinct comparisons for races that need more explanation.
Build a municipal results archive
Find available elections, collect municipal contest totals, and attach published precinct breakdowns so readers can examine local voting patterns.
Compare counties in a statewide race
Locate a state election, retrieve statewide contest totals, and compare the published county breakdown for the selected race.
Create a civic results explorer
Let readers choose a published election, browse contests, and open geographic vote tables for a race they want to understand.
Explain a close contest
Calculate the gap between the leading choices from contest totals, then show which precincts or counties contribute most to that gap.
Report changes between published updates
Compare successive observations of contest totals and geographic breakdowns to identify where reported votes changed.
More on Clarity contest details and Grok
Overview
Clarity contest details in other agents
Questions about Clarity contest details in Grok
Can Grok use Clarity contest details?
Yes. Add Spiral to Grok as an MCP server, and Grok can find and run Clarity contest details like any built-in tool.
How much does Clarity contest details cost in Grok?
$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Grok plan is separate.
Do I need an Alexandria account to use Clarity contest details in Grok?
No. Spiral runs Clarity contest 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 Clarity contest details in Grok?
About two minutes: add a custom connector, then sign in to Spiral and approve, then check that it is connected.
Does Grok wait while Clarity contest details runs?
Clarity contest details runs in the background. Grok starts the run, checks on it and gives you the json when it's ready.
How far back do Clarity election archives go?
History depends on the jurisdiction. York County, Pennsylvania, began using Scytl for the 2020 general election; its guide directs readers to separate PDF reports for earlier elections.
How quickly do Clarity results change?
Results follow officials' publication process. South Carolina documents periodic election-night uploads from county voting systems, so changes arrive in published batches.
Are results official as soon as they appear?
Election-night publication does not establish certification. Burlington County, New Jersey, explicitly changes results from unofficial to official after its Board of Elections certifies the election.
Does every jurisdiction publish equally complete data?
No. The Parsons documentation for Clarity notes that values remain unpopulated when the election administrator does not provide them, so the available detail varies by jurisdiction.
How geographically detailed are the public results?
Contest breakdowns use precincts on county sites and counties on state sites. York County, Pennsylvania, identifies the precinct as the smallest unit recorded in its Scytl results.
Start using Clarity contest details in Grok
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into Grok:
set up https://spiral.ai/SKILL.md


