How to Use CER pipeline tolls in opencode
Returns transportation toll records for major Canadian oil and natural gas pipelines. Use it to compare benchmark routes and toll history; CER charts cover selected paths, so a full route review requires the tariff filing.
Prompts to try with CER pipeline tolls in opencode
Copy an example into opencode, or ask in your own words.
Use CER pipeline tolls to look this up and give me the result as a table. Save the result in ./assets.
Pull the latest numbers from CER pipeline tolls and tell me what changed since last week.
Check CER pipeline tolls and summarize what you find in three bullet points.
Pull the newest data from CER pipeline tolls and give me the result as a table.
Check CER pipeline tolls every morning and tell me only when something changed.
How to set up CER pipeline tolls 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 CER pipeline tolls
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": "cer-rec-gc-ca/energy-data/tolls", "input": { "pipeline": "<pipeline>" } }'
Then paste one of the prompts above: opencode finds CER pipeline tolls on Spiral, shows the price and runs it.
CER pipeline tolls providers and prices
Spiral runs CER pipeline tolls 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 |
|---|---|---|---|
| Limit | 1 to 200 | 50 | Rows per page. |
| Offset | a number from 0 | 0 |
|
| Current only | on or off | Only tolls in force on the newest date in the file. |
Every API field of Canada Energy Regulator (CER) open data · Tolls is on its tool page: open its card above.
What can you do with CER pipeline tolls in opencode?
Build a Canadian energy research view that brings CER observations, scenarios, or regulatory records into your project. Add comparisons for named provinces or pipeline systems while preserving the source’s units and dates.
Western Canadian oil export review
Compare reported crude exports with production scenarios, then examine the profiles, throughput, and benchmark tolls of the pipelines serving those markets.
Natural gas transportation study
Put Canadian gas trade and production scenarios alongside NGTL or Westcoast system information, measured flows, capacity, and transportation toll history.
Trans Mountain oversight briefing
Prepare a pipeline briefing combining system context, throughput, benchmark tolls, reported incidents, and issued regulatory instruments. Keep each timeline separate so coincident events are not presented as proven causes.
Shipping route research
Review a pipeline’s system information, benchmark toll history, flow observations, and issued instruments before examining its complete tariff filings.
Quarterly Canadian energy research update
Refresh a research brief with trade observations, pipeline flows, toll records, incidents, and regulatory instruments. Revisit system profiles and energy scenarios when the source publishes changes.
More on CER pipeline tolls and opencode
Overview
CER pipeline tolls in other agents
Questions about CER pipeline tolls in opencode
Can opencode use CER pipeline tolls?
Yes. Add Spiral to opencode as an MCP server, and opencode can find and run CER pipeline tolls like any built-in tool.
How much does CER pipeline tolls 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 CER pipeline tolls in opencode?
No. Spiral runs CER pipeline tolls on its own Alexandria account. You sign in to Spiral once and never paste a key.
How long does it take to set up CER pipeline tolls in opencode?
About two minutes: add the server, then sign in, then check it.
Does opencode wait while CER pipeline tolls runs?
CER pipeline tolls runs in the background. opencode starts the run, checks on it and gives you the json when it's ready.
Does CER pipeline data cover every pipeline in Canada?
CER regulates pipelines crossing provincial boundaries or the Canada-U.S. border. Its pipeline records therefore have a federal coverage boundary and should not be treated as a complete inventory of Canadian pipelines.
How often does CER update its pipeline flow information?
Pipeline Profiles schedule throughput updates quarterly, in March, May, August, and November. Daily natural gas observations describe the measurement frequency, so they do not imply daily publication.
Are Energy Future results predictions?
CER describes the results as scenarios for testing assumptions rather than forecasts or predictions. The 2026 edition contains four scenarios, so comparisons should identify which scenario produced each result.
What geographic coverage does Energy Future provide?
Energy Future scenarios cover every Canadian province and territory and all energy commodities. The 2026 outlook projects supply and demand through 2050.
Do CER toll charts include every shipping route?
CER displays major or benchmark toll paths for illustration. A review of all available paths requires the pipeline’s tariff filing.
Start using CER pipeline tolls 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


