Spiral gives your agent every tool with one account. Browse the tools →

VS Code · Industry Data

How to Use CER energy projections in VS Code

Returns modeled Canadian energy supply and demand under Energy Future scenarios, including provincial production and electricity generation. Use it to compare possible outcomes through 2050 against reported activity.

Prompts to try with CER energy projections in VS Code

Copy an example into VS Code, or ask in your own words.

Use CER energy projections to build a chart in this project comparing Alberta crude oil production from 2030 through 2050 across the available 2026 scenarios.

CER energy projectionsVS Code
Try asking
  • Use CER energy projections to look this up and give me the result as a table. Save the result in ./assets.

  • Pull the latest numbers from CER energy projections and tell me what changed since last week.

  • Check CER energy projections and summarize what you find in three bullet points.

  • Pull the newest data from CER energy projections and give me the result as a table.

How to set up CER energy projections in VS Code

Pick the way that suits you. Each takes about two minutes.

Use Spiral's MCP server

  1. 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"}'
  2. 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

  1. Send VS Code this message

    Your agent reads Spiral's skill and sets itself up.

    set up https://spiral.ai/SKILL.md
  2. Sign in or paste a key

    Approve Spiral in the browser, or give the agent a key from the console.

Use the Spiral CLI

  1. 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

  1. Create an API key

    In the console, under API keys.

  2. Run CER energy projections

    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/energy_future",
        "input": {
          "dataset": "benchmark_prices"
        }
      }'

Then paste one of the prompts above: VS Code finds CER energy projections on Spiral, shows the price and runs it.

CER energy projections providers and prices

Spiral runs CER energy projections through Alexandria. Open a card for today's price, with every fee included.

AlexandriaIndustry Data
Canada Energy Regulator (CER) open data · Energy future
cer-rec-gc-ca/energy-data/energy_future

Settings you can ask for

Ask VS Code for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Datasetbenchmark_prices, butane, crude_oil_production, electricity_capacity, electricity_capacity_technology, electricity_generation, electricity_generation_technology, electricity_interchange and 11 more

Dataset (2021 lacks the two technology views and greenhouse gas emissions).

Limit1 to 1000200

Rows per page.

Offseta number from 00

next_offset from the previous page; repeat the other inputs with it.

Edition2016 to 21002026

Energy Future edition: 2026 (default), 2023 or 2021.

Year to1990 to 2100

year_to

Year from1990 to 2100

year_from

Every API field of Canada Energy Regulator (CER) open data · Energy future is on its tool page: open its card above.

What can you do with CER energy projections in VS Code?

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.

Energy outlook evidence pack

Build a Canadian energy outlook with scenario comparisons and reported trade, accompanied by incident and regulatory timelines for the infrastructure discussed.

LNG supply and infrastructure study

Compare natural gas production scenarios and reported LNG exports with gas pipeline profiles, throughput, and relevant regulatory instruments.

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.

Questions about CER energy projections in VS Code

Can VS Code use CER energy projections?

Yes. Add Spiral to VS Code as an MCP server, and VS Code can find and run CER energy projections like any built-in tool.

How much does CER energy projections 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 CER energy projections in VS Code?

No. Spiral runs CER energy projections 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 energy projections in VS Code?

About two minutes: add the hosted server, then sign in.

Does VS Code wait while CER energy projections runs?

CER energy projections runs in the background. VS Code 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.

Get started

Start using CER energy projections 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 VS Code

set up https://spiral.ai/SKILL.md
Are you an AI agent? See setup options