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

Codex · Maps & Reviews

How to Use Environment Canada monthly climate records in Codex

Returns station summaries of monthly averages, extremes, precipitation totals, and degree days. Use it for seasonal comparisons that do not require individual daily observations.

Prompts to try with Environment Canada monthly climate records in Codex

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

Use Environment Canada monthly climate records for 2024-01 through 2024-12 and chart monthly precipitation totals separately for each station represented in the returned data.

Environment Canada monthly climate recordsCodex
Try asking
  • Use Environment Canada monthly climate records to look this up and give me the result as a table. Save the result in ./assets.

  • Pull the latest numbers from Environment Canada monthly climate records and tell me what changed since last week.

  • Check Environment Canada monthly climate records and summarize what you find in three bullet points.

  • Pull the newest data from Environment Canada monthly climate records and give me the result as a table.

How to set up Environment Canada monthly climate records in Codex

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

Use Spiral's MCP server

  1. Add the hosted server
    codex mcp add spiral --url https://api.spiral.ai/mcp
  2. Sign in

    Codex opens the browser: sign in to Spiral and click Authorize. No API key. codex mcp list then shows Spiral.

    codex mcp login spiral

Use the Spiral skill

  1. Send Codex 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 Environment Canada monthly climate 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": "api-weather-gc-ca/weather/climate_monthly",
        "input": {
          "climate_id": "<climate_id>"
        }
      }'

Then paste one of the prompts above: Codex finds Environment Canada monthly climate records on Spiral, shows the price and runs it.

Environment Canada monthly climate records providers and prices

Spiral runs Environment Canada monthly climate records through Alexandria. Open a card for today's price, with every fee included.

AlexandriaMaps & Reviews

Settings you can ask for

Ask Codex for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Langen or fren

Language of names and texts: en (English) or fr (French). Numbers are the same in both.

Every API field of Environment and Climate Change Canada weather and climate (api.weather.gc.ca) · Climate monthly is on its tool page: open its card above.

What can you do with Environment Canada monthly climate records in Codex?

Build a Canadian weather report that connects each location to ECCC forecasts or station climate evidence. A coding agent can add the returned data to your project's tables, maps, and reports.

Plan an outdoor festival in Toronto

Resolve the forecast location, review current weather, AQHI, and alerts, then use station records and climate averages to compare possible event months.

Compare months for a marina's operating season

Use station coverage, daily records, monthly summaries, and normals to compare seasonal conditions. Add the marina's city and marine forecasts when preparing the opening week.

Review weather exposure for port construction

Combine historical temperature and precipitation evidence with climate averages for planning. Review city forecasts, marine winds, AQHI, and official alerts before each waterfront work period.

Build a Lake Ontario visitor weather guide

Explain typical seasonal weather using station history and normals. Provide separate sections for current city conditions, air quality, official alerts, and forecasts over the lake.

Write a retrospective rainfall report

Establish station coverage, examine daily precipitation, and compare monthly totals with the available climate baseline. Keep each station's evidence separate in the report.

Compare weather evidence for proposed recreation sites

Identify forecast locations and nearby climate stations for proposed sites. Compare available daily records, monthly summaries, and normals to describe seasonal temperature and precipitation.

Questions about Environment Canada monthly climate records in Codex

Can Codex use Environment Canada monthly climate records?

Yes. Add Spiral to Codex as an MCP server, and Codex can find and run Environment Canada monthly climate records like any built-in tool.

How much does Environment Canada monthly climate records cost in Codex?

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

Do I need an Alexandria account to use Environment Canada monthly climate records in Codex?

No. Spiral runs Environment Canada monthly climate 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 Environment Canada monthly climate records in Codex?

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

Does Codex wait while Environment Canada monthly climate records runs?

Environment Canada monthly climate records runs in the background. Codex starts the run, checks on it and gives you the json when it's ready.

Does Environment Canada provide weather for every Canadian location?

The city weather collection covers a selection of Canadian cities. Marine forecasts use marine districts, while historical climate observations come from weather stations.

How often does Environment Canada refresh its weather data?

City forecast files refresh at least hourly. Marine forecast files normally refresh two to four times daily, with additional updates for amendments and warnings.

Does the climate data include every station in Canada's archive?

The daily climate collection contains only a subset of stations because of size limitations. Station metadata provides observation date ranges to help establish which records cover a requested period.

Which years do the climate normals represent?

The documented GeoMet normals collection represents 1981–2010. It uses Canadian stations with at least 15 years of observations within that period.

Are all Environment Canada readings quality checked before publication?

ECCC specifically says AQHI observations use real-time data without verified quality control. AQHI values run from 1 to 10, with 10+ used for very high pollution.

Get started

Start using Environment Canada monthly climate records in Codex

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

Paste this into Codex:

Set up Codex

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