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

Hermes · Finance

How to Use Statistics Canada vector history in Hermes

Returns observations for a Statistics Canada time series identified by its vector. Use it to revisit a known series without selecting its table categories again.

Prompts to try with Statistics Canada vector history in Hermes

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

Each weekday, use Statistics Canada vector history for v41690973 to compare the latest observations with the previous run and report any changes.

Statistics Canada vector historyHermes
Try asking
  • Every Monday at 9am: use Statistics Canada vector history to look this up and give me the result as a table.

  • Pull the latest numbers from Statistics Canada vector history and tell me what changed since last week.

  • Check Statistics Canada vector history and summarize what you find in three bullet points.

  • Pull the newest data from Statistics Canada vector history and give me the result as a table.

How to set up Statistics Canada vector history in Hermes

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

Use the Spiral skill

  1. Send Hermes 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 Spiral's MCP server

  1. Add the server and sign in

    Hermes opens your browser: sign in to Spiral and click Authorize. No API key. When Hermes asks Enable all tools? \[Y/n/select], answer Y: n cancels without saving the server, and select hides the tools you leave out.

    hermes mcp add spiral \
      --url https://api.spiral.ai/mcp \
      --auth oauth \
      --connect-timeout 300
  2. Check it

    In a chat that was already open, run /reload-mcp.

    hermes mcp list
    hermes mcp test spiral

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 Statistics Canada vector history

    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": "statcan-gc-ca/economic-statistics/vector_data",
        "input": {
          "vectors": [
            "<vectors>"
          ]
        }
      }'

Then paste one of the prompts above: Hermes finds Statistics Canada vector history on Spiral, shows the price and runs it.

Statistics Canada vector history providers and prices

Spiral runs Statistics Canada vector history through Alexandria. Open a card for today's price, with every fee included.

AlexandriaFinance
Statistics Canada (www150.statcan.gc.ca) · Vector data
statcan-gc-ca/economic-statistics/vector_data

Settings you can ask for

Ask Hermes for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Latest n1 to 1000

The latest N reference periods of each series (default 12 when no range is given).

Every API field of Statistics Canada (www150.statcan.gc.ca) · Vector data is on its tool page: open its card above.

What can you do with Statistics Canada vector history in Hermes?

Keep a recurring Canadian economic briefing current as StatCan publishes releases and table changes. A scheduled agent can check for new material, refresh selected observations, and summarize the source's published explanations.

Prepare an inflation briefing

Find the latest CPI announcement, read its explanation, identify the supporting table, inspect its definitions, and compare observations with a known vector series. Check table updates before refreshing the briefing.

Write a provincial labor market report

Discover the latest Labour Force Survey release, locate the monthly labor table, confirm the available provincial categories, and compare unemployment observations. Reuse identified vectors for later editions and check which tables changed.

Maintain a Canadian economic dashboard

Discover relevant releases and datasets, check table definitions, and populate charts with selected observations or known vectors. Use changed-table results to choose what to refresh and Daily articles to explain new movements.

Check statistics before publication

Trace an economic claim to its Daily article and statistical table. Confirm the categories, compare table observations with the cited vector, and check for table updates before publishing the final report.

Refresh established chart series

Check whether the source tables changed, then retrieve observations for the table selections or vectors already used in an inflation or employment chart.

Questions about Statistics Canada vector history in Hermes

Can Hermes use Statistics Canada vector history?

Yes. Add Spiral to Hermes as an MCP server, and Hermes can find and run Statistics Canada vector history like any built-in tool.

How much does Statistics Canada vector history cost in Hermes?

$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Hermes plan is separate.

Do I need an Alexandria account to use Statistics Canada vector history in Hermes?

No. Spiral runs Statistics Canada vector history on its own Alexandria account. You sign in to Spiral once and never paste a key.

How long does it take to set up Statistics Canada vector history in Hermes?

About two minutes: add the server and sign in, then check it.

Does Hermes wait while Statistics Canada vector history runs?

Statistics Canada vector history runs in the background. Hermes starts the run, checks on it and gives you the json when it's ready.

Does Statistics Canada provide individual survey responses?

The public data API provides aggregate statistics and metadata. Its documented coverage is public statistical databases, rather than individual survey responses.

When does Statistics Canada publish new information?

The Daily normally appears Monday through Friday at 8:30 a.m. Eastern time, excluding holidays. Statistics Canada's data service also publishes updates each business day.

Are archived tables still updated?

No. Statistics Canada defines an archived table as publicly available but no longer updated, so an accessible historical table may not contain current observations.

Can published observations be preliminary or revised?

Yes. Statistics Canada identifies preliminary observations with p and revised observations with r; those distinctions matter when comparing a published release with later table values.

Does every statistic cover the same geographic areas?

No. Available geography depends on the table: monthly CPI table 18-10-0004-01 includes national, provincial or territorial, and selected municipal and metropolitan geography types.

Get started

Start using Statistics Canada vector history in Hermes

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into Hermes:

Set up Hermes

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