How to Use Elections Alberta candidate records in VS Code
Returns registered candidate records for an election, providing a route to campaign financial disclosures. Use it to research a division's candidates and their public filings.
Prompts to try with Elections Alberta candidate records in VS Code
Copy an example into VS Code, or ask in your own words.
Use Elections Alberta candidate records for Calgary-Acadia in the 2023 general election and create a candidate directory in this project's research view.
Use Elections Alberta candidate records to look this up and give me the result as a table. Save the result in ./assets.
Pull the latest numbers from Elections Alberta candidate records and tell me what changed since last week.
Check Elections Alberta candidate records and summarize what you find in three bullet points.
Pull the newest data from Elections Alberta candidate records and give me the result as a table.
How to set up Elections Alberta candidate records in VS Code
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- Add the hosted server
Use Add to VS Code on the console's Agents & MCP page, or run:
code --add-mcp '{"name":"spiral","type":"http","url":"https://api.spiral.ai/mcp"}' - Sign in
VS Code asks you to sign in when it first starts the server: sign in to Spiral and click Authorize. No API key. Run MCP: List Servers from the Command Palette to check that Spiral is running.
Use the Spiral skill
- Send VS Code 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 Elections Alberta candidate records
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": "elections-ab-ca/elections/search_candidates", "input": { "event_id": "<event_id>" } }'
Then paste one of the prompts above: VS Code finds Elections Alberta candidate records on Spiral, shows the price and runs it.
Elections Alberta candidate records providers and prices
Spiral runs Elections Alberta candidate records through Alexandria. Open a card for today's price, with every fee included.
What can you do with Elections Alberta candidate records in VS Code?
Build a searchable Alberta election research tool with source records attached to each result. A coding agent can turn Elections Alberta results and financial disclosures into separate tables for electoral events, divisions, and political organizations.
Prepare an election background brief
Identify the election, summarize division results, and inspect selected voting locations. Add the candidate roster, party directory, party filings, and disclosed organizational contributions as separately labeled financial context.
Create a provincial civics lesson
Prepare separate exercises on election selection, division totals, voting location results, candidate records, party accounts, and referendum advertising disclosures. Use organizational contribution examples to teach the difference between disclosed donations and total fundraising.
Build a searchable public research archive
Organize election results by event and division, candidate records by campaign, and financial disclosures by party or advertising organization. Keep contribution records in a separate collection for institutional funding research.
Check a report's supporting evidence
Create a verification workbook for claims about election outcomes, candidate participation, party filings, and referendum advertiser fundraising. Match each claim to the relevant source record and distinguish submitted financial statements from finalized versions.
Compare campaign financial records
Identify parties and candidates for the same election, then organize their available financial records by reporting period. Examine disclosed organizational donations separately from overall financial statements.
More on Elections Alberta candidate records and VS Code
Overview
Elections Alberta candidate records in other agents
Questions about Elections Alberta candidate records in VS Code
Can VS Code use Elections Alberta candidate records?
Yes. Add Spiral to VS Code as an MCP server, and VS Code can find and run Elections Alberta candidate records like any built-in tool.
How much does Elections Alberta candidate records cost in VS Code?
$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your VS Code plan is separate.
Do I need an Alexandria account to use Elections Alberta candidate records in VS Code?
No. Spiral runs Elections Alberta candidate records on its own Alexandria account. You sign in to Spiral once and never paste a key.
How long does it take to set up Elections Alberta candidate records in VS Code?
About two minutes: add the hosted server, then sign in.
Does VS Code wait while Elections Alberta candidate records runs?
Elections Alberta candidate records runs in the background. VS Code starts the run, checks on it and gives you the json when it's ready.
Does Elections Alberta cover federal or municipal elections?
Elections Alberta administers provincial electoral events only. Elections Canada handles federal elections, while municipalities handle Alberta municipal elections.
How far back do its online records go?
The linked official results site covers general elections and by-elections from 2008 forward. The financial reporting website contains reports received from political participants from 2004 onward.
Are all contributions individually disclosed?
Quarterly reports identify contributors whose contributions exceed $250 in the quarter. Contributions of $250 or less appear as a combined total, so a named-contributor search does not represent every donation.
How quickly do financial disclosures appear?
Quarterly contribution reports are due within 15 days after the quarter ends, or the first business day thereafter. Publication is separate: for the quarter ending September 30, 2026, Elections Alberta listed October 30 as the publication date.
Which record controls when financial figures disagree?
Elections Alberta says the financial statement is authoritative when it differs from Contributor Search. Party statements marked final follow its review and any adjustments.
Start using Elections Alberta candidate records in VS Code
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into VS Code:
set up https://spiral.ai/SKILL.md


