[Integrations](https://spiral.ai/integrations) › [Perplexity](https://spiral.ai/integrations/perplexity) › [Environment Canada air quality](https://spiral.ai/integrations/perplexity/environment-canada-air-quality)

# How to Use Environment Canada air quality in Perplexity

Returns Canadian Air Quality Health Index observations and forecasts. Use it to check regional air pollution risk alongside the weather forecast.

|  |  |
| --- | --- |
| Model | Environment Canada air quality |
| Available through | Alexandria |
| Category | Maps & Reviews |
| Price | $0.00873 per call. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with Environment Canada air quality in Perplexity

- Use Environment Canada air quality for Toronto and show the current AQHI alongside the available forecast.
- Use Environment Canada air quality to look this up and give me the result as a table.
- Pull the latest numbers from Environment Canada air quality and tell me what changed since last week.
- Check Environment Canada air quality and summarize what you find in three bullet points.
- Pull the newest data from Environment Canada air quality and give me the result as a table.

## How to set up Environment Canada air quality in Perplexity

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

### Use the Perplexity connector

1. **Add a remote connector**: In Perplexity, open Plugins in the sidebar (or Customize › Connectors if you don't see Plugins yet). Choose Add custom › Add MCP connector, then Remote. Name it Spiral and paste this MCP server URL:

```text
https://api.spiral.ai/mcp
```

2. **Sign in to Spiral and approve**: Select the Spiral card on the Plugins page to start sign-in. Spiral opens: sign in, pick the organization and click Authorize. No API key.

### Use the Spiral skill

1. **Send Perplexity 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.

```bash
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 air quality**: One request; the result comes back by polling or a webhook.

```bash
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/air_quality",
    "input": {
      "lat": -90
    }
  }'
```

Then paste one of the prompts above: Perplexity finds Environment Canada air quality on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/perplexity

## Environment Canada air quality tools and prices

- [Environment and Climate Change Canada weather and climate (api.weather.gc.ca) · Air quality](https://spiral.ai/tools/alexandria/api-weather-gc-ca/weather/air_quality) (Alexandria): $0.00873 per call.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| lat | -90 to 90 | — | Latitude in decimal degrees (Canada spans about 41 to 84). Give with lon. |
| lon | -180 to 180 | — | Longitude in decimal degrees, west negative (Canada spans about -142 to -52). Give with lat. |
| lang | en, fr | en | Language of names and texts: en (English) or fr (French). Numbers are the same in both. |
| location_id |  | — | AQHI location code, e.g. FEUZB Toronto, FTPFT Montreal, EAZBA Vancouver; or use lat/lon. Pattern: ^[A-Za-z0-9]+$. |

## What can you do with Environment Canada air quality in Perplexity?

Get an ECCC weather briefing for a Canadian destination or an explanation of its available climate evidence. A chat app can turn returned forecasts, observations, or station information into a readable comparison.

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

### Prepare a Vancouver waterfront venue briefing

Find the venue's forecast location and combine city weather, marine conditions, AQHI, and official alerts into a briefing for staff reviewing waterfront activities.

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

### Publish a coastal weather briefing

Resolve the coastal community and present its city forecast, AQHI, nearby marine forecast, and official hazard notices. Preserve alert wording when reproducing the notices.

## Overview

- [Alexandria](https://spiral.ai/providers/alexandria)
- [All Perplexity guides](https://spiral.ai/integrations/perplexity)

## Environment Canada air quality in other agents

- [Amp](https://spiral.ai/integrations/amp/environment-canada-air-quality)
- [ChatGPT](https://spiral.ai/integrations/chatgpt/environment-canada-air-quality)
- [Claude](https://spiral.ai/integrations/claude-desktop/environment-canada-air-quality)
- [Claude Code](https://spiral.ai/integrations/claude-code/environment-canada-air-quality)
- [Cline](https://spiral.ai/integrations/cline/environment-canada-air-quality)
- [Codex](https://spiral.ai/integrations/codex/environment-canada-air-quality)
- [Cursor](https://spiral.ai/integrations/cursor/environment-canada-air-quality)
- [Devin](https://spiral.ai/integrations/devin/environment-canada-air-quality)
- [dots](https://spiral.ai/integrations/dots/environment-canada-air-quality)
- [Factory Droid](https://spiral.ai/integrations/factory-droid/environment-canada-air-quality)
- [Gemini](https://spiral.ai/integrations/gemini/environment-canada-air-quality)
- [Gemini CLI](https://spiral.ai/integrations/gemini-cli/environment-canada-air-quality)
- [Google Antigravity](https://spiral.ai/integrations/antigravity/environment-canada-air-quality)
- [goose](https://spiral.ai/integrations/goose/environment-canada-air-quality)
- [Grok](https://spiral.ai/integrations/grok/environment-canada-air-quality)
- [Grok Build](https://spiral.ai/integrations/grok-build/environment-canada-air-quality)
- [Hermes](https://spiral.ai/integrations/hermes/environment-canada-air-quality)
- [Instinct](https://spiral.ai/integrations/instinct/environment-canada-air-quality)
- [Manus](https://spiral.ai/integrations/manus/environment-canada-air-quality)
- [Muse](https://spiral.ai/integrations/muse/environment-canada-air-quality)
- [Muse Code](https://spiral.ai/integrations/muse-code/environment-canada-air-quality)
- [n8n](https://spiral.ai/integrations/n8n/environment-canada-air-quality)
- [Notion](https://spiral.ai/integrations/notion/environment-canada-air-quality)
- [OpenClaw](https://spiral.ai/integrations/openclaw/environment-canada-air-quality)
- [opencode](https://spiral.ai/integrations/opencode/environment-canada-air-quality)
- [Raycast](https://spiral.ai/integrations/raycast/environment-canada-air-quality)
- [VS Code](https://spiral.ai/integrations/vscode/environment-canada-air-quality)
- [Windsurf](https://spiral.ai/integrations/windsurf/environment-canada-air-quality)
- [Zapier](https://spiral.ai/integrations/zapier/environment-canada-air-quality)

## More Perplexity guides

- [DoorDash store search](https://spiral.ai/integrations/perplexity/doordash-store-search)
- [Environment Canada city weather](https://spiral.ai/integrations/perplexity/environment-canada-city-weather)
- [DoorDash store details](https://spiral.ai/integrations/perplexity/doordash-store-details)
- [Environment Canada climate normals](https://spiral.ai/integrations/perplexity/environment-canada-climate-normals)
- [DoorDash store categories](https://spiral.ai/integrations/perplexity/doordash-store-categories)
- [Environment Canada climate station search](https://spiral.ai/integrations/perplexity/environment-canada-climate-station-search)

## Questions about Environment Canada air quality in Perplexity

**Can Perplexity use Environment Canada air quality?**

Yes. Add Spiral to Perplexity as an MCP server, and Perplexity can find and run Environment Canada air quality like any built-in tool.

**How much does Environment Canada air quality cost in Perplexity?**

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

**Do I need an Alexandria account to use Environment Canada air quality in Perplexity?**

No. Spiral runs Environment Canada air quality 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 air quality in Perplexity?**

About two minutes: add a remote connector, then sign in to Spiral and approve.

**Does Perplexity wait while Environment Canada air quality runs?**

Environment Canada air quality runs in the background. Perplexity 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.

