How to Use Alberta sitting document list in opencode
Returns links to sitting documents such as Hansard and Votes and Proceedings, plus session indexes. Use it to find original PDFs for a sitting; the response contains document links rather than their text.
Prompts to try with Alberta sitting document list in opencode
Copy an example into opencode, or ask in your own words.
Use Alberta sitting document list to look this up and give me the result as a table. Save the result in ./assets.
Pull the latest numbers from Alberta sitting document list and tell me what changed since last week.
Check Alberta sitting document list and summarize what you find in three bullet points.
Pull the newest data from Alberta sitting document list and give me the result as a table.
Check Alberta sitting document list every morning and tell me only when something changed.
How to set up Alberta sitting document list in opencode
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- Add the server
Leave out --global to add Spiral to the current project only. No header and no client ID or secret: opencode registers itself with Spiral.
opencode mcp add spiral --global --url https://api.spiral.ai/mcp
- Sign in
Your browser opens. Sign in to Spiral, pick the organization and click Authorize, then return to the terminal. No API key. Inside opencode, /mcps starts the same sign-in.
opencode mcp auth spiral
- Check it
Spiral shows as connected.
opencode mcp list
Use the Spiral skill
- Send opencode 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 Alberta sitting document list
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": "assembly-ab-ca/legislative-records/list_sitting_documents", "input": { "record": "hansard", "session": 1, "legislature": 1 } }'
Then paste one of the prompts above: opencode finds Alberta sitting document list on Spiral, shows the price and runs it.
Alberta sitting document list providers and prices
Spiral runs Alberta sitting document list through Alexandria. Open a card for today's price, with every fee included.
Settings you can ask for
Ask opencode for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Record | hansard or votes_and_proceedings | record | |
| Session | 1 to 20 | session | |
| Legislature | 1 to 99 | legislature |
Every API field of Legislative Assembly of Alberta · List sitting documents is on its tool page: open its card above.
What can you do with Alberta sitting document list in opencode?
Build an Alberta legislative reference feature with bill histories, elected representatives, and links to original proceedings. A coding agent can organize the returned records in project files and connect citations to the relevant Assembly pages.
Build a bill passage timeline
Find an Alberta proposal, retrieve its recorded stages, locate related debate references, and collect sitting document links for a dated research timeline.
Assemble a water policy reading pack
Find water-related bills and their sponsors, gather debate references and sitting PDFs, and add relevant committee transcript links. Use official MLA profiles to explain the public roles of the people cited.
Create a public library issue guide
Prepare a non-commercial guide to an Alberta issue using bill records, debate references, chamber documents, and committee transcript links. Add a directory of relevant elected representatives using the roster and official profiles.
Teach Alberta's legislative process
Build a classroom exercise around a real bill: identify its sponsor, inspect its stages, locate debate pages, and compare chamber records with committee proceedings. Use the roster and profile to explain representation.
Maintain a committee reading queue
Collect newly published committee transcript links and indexed references for an Alberta research topic. Keep related chamber sitting documents beside the committee material for comparison.
More on Alberta sitting document list and opencode
Overview
Alberta sitting document list in other agents
Questions about Alberta sitting document list in opencode
Can opencode use Alberta sitting document list?
Yes. Add Spiral to opencode as an MCP server, and opencode can find and run Alberta sitting document list like any built-in tool.
How much does Alberta sitting document list cost in opencode?
$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your opencode plan is separate.
Do I need an Alexandria account to use Alberta sitting document list in opencode?
No. Spiral runs Alberta sitting document list on its own Alexandria account. You sign in to Spiral once and never paste a key.
How long does it take to set up Alberta sitting document list in opencode?
About two minutes: add the server, then sign in, then check it.
Does opencode wait while Alberta sitting document list runs?
Alberta sitting document list runs in the background. opencode starts the run, checks on it and gives you the json when it's ready.
Which jurisdiction do these records cover?
They cover Alberta's provincial Legislative Assembly and its committees. The Assembly represents 87 constituencies or electoral districts.
How far back do the Assembly's collections go?
The Assembly's bill archive extends from 1906 to the current legislature. Alberta Hansard dates to 1972.
When are final debate transcripts published?
The Assembly's procedural guide says final afternoon transcripts are available online by 11 p.m. that day. Final transcripts for standing and select special committees are usually posted within two days.
Is Hansard an exact transcription?
Alberta Hansard is substantially verbatim and edited under the Assembly's Standing Orders. Editing can correct grammar and remove redundancy.
Does royal assent mean an Alberta Act is already in force?
An Act can come into force on proclamation or a specified date. If neither is indicated, it comes into force upon royal assent.
Start using Alberta sitting document list in opencode
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into opencode:
set up https://spiral.ai/SKILL.md


