# Canada weather and air quality

Canadian city weather \(current conditions, forecast, warnings\) and the Air Quality Health Index \(AQHI\) from Environment and Climate Change Canada.

- No API key needed to call
- Source: [Environment and Climate Change Canada \(MSC GeoMet OGC API\)](https://api.weather.gc.ca/)
- Licence and terms: [Environment and Climate Change Canada Data Services End-use Licence](https://eccc-msc.github.io/open-data/licence/readme_en/)
- Coverage: Canada
- Answers are shared and cached for 600 seconds.

## Questions you can ask

- What is the Environment Canada site id for Toronto? (operation `ca_city_search`)
- What is the weather and forecast in Toronto? (operation `ca_city_weather`)
- What is the air quality health index in Corner Brook? (operation `ca_aqhi_observations`)
- What is the air quality forecast for Corner Brook? (operation `ca_aqhi_forecast`)

## Operations

### Find a Canadian city weather site id

Answers: what is the Environment Canada site id \(such as on-143\) for this Canadian city, needed for the city weather forecast?

- `name`: required, string, Exact English city name, such as Toronto or Vancouver.

Example: What is the Environment Canada site id for Toronto?

Over MCP:

```
{"tool":"call_connector_operation","arguments":{"connector":"env_canada","operation":"ca_city_search","params":{"name":"Toronto"}}}
```

Over HTTP:

```
curl '/v1/connectors/env_canada/ca_city_search?name=Toronto'
```

### Canadian city weather and forecast

Answers: what are the current conditions, the next few forecast periods and any active warnings for this Canadian city? Needs a site id such as on-143 \(Toronto\) or bc-74.

- `site_id`: required, string, Environment Canada site id: province code, a dash and a number.

Example: What is the weather and forecast in Toronto?

Over MCP:

```
{"tool":"call_connector_operation","arguments":{"connector":"env_canada","operation":"ca_city_weather","params":{"site_id":"on-143"}}}
```

Over HTTP:

```
curl '/v1/connectors/env_canada/ca_city_weather?site_id=on-143'
```

### Canadian Air Quality Health Index observations

Answers: what is the latest Air Quality Health Index \(1 low risk to 10+ very high risk\) at this Canadian monitoring location? Needs a 5 letter AQHI location id such as AAEOU \(Corner Brook\).

- `location_id`: required, string, AQHI location id, 5 capital letters.

Example: What is the air quality health index in Corner Brook?

Over MCP:

```
{"tool":"call_connector_operation","arguments":{"connector":"env_canada","operation":"ca_aqhi_observations","params":{"location_id":"AAEOU"}}}
```

Over HTTP:

```
curl '/v1/connectors/env_canada/ca_aqhi_observations?location_id=AAEOU'
```

### Canadian Air Quality Health Index forecast

Answers: what is the Air Quality Health Index forecast for the next hours at this Canadian location?

- `location_id`: required, string, AQHI location id, 5 capital letters.

Example: What is the air quality forecast for Corner Brook?

Over MCP:

```
{"tool":"call_connector_operation","arguments":{"connector":"env_canada","operation":"ca_aqhi_forecast","params":{"location_id":"AAEOU"}}}
```

Over HTTP:

```
curl '/v1/connectors/env_canada/ca_aqhi_forecast?location_id=AAEOU'
```

## Source notice

Source: Environment and Climate Change Canada. Licence attribution example: "Data Source: Environment and Climate Change Canada". Weather alerts must be reproduced without altering their content or intent. Not endorsed by the Government of Canada.

## Missing something?

Tell us what data, endpoint or feature you wish we had. It is free and needs no signup: call the MCP tool request_capability, or POST a short description to https://agentnative.dennery.ai/v1/capabilities/request.
