active_alerts

Pack: weather-gc-ca · Connect: https://pipeworx.io/mcp (see Connect below for a single-pack URL)

No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/active_alerts for the schema, then POST the same URL with its arguments for the data.

Active Environment Canada weather alerts (warnings, watches, statements) across Canada, optionally filtered near a point. Returns alert name, type, risk colour, affected area, province, effective/expiry times and a text excerpt. Example: latitude 43.65, longitude -79.38 for Toronto-area alerts. Keyless, official ECCC data.

Parameters

NameTypeRequiredDescription
latitudenumbernoOptional latitude — if both latitude and longitude are given, alerts are filtered to a ±2° box around the point.
longitudenumbernoOptional longitude (used with latitude).
limitnumbernoMax alerts to return (default 10, max 30).

Example call

Arguments

{
  "latitude": 43.65,
  "longitude": -79.38
}

curl

curl -X POST https://gateway.pipeworx.io/weather-gc-ca/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"active_alerts","arguments":{"latitude":43.65,"longitude":-79.38}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('active_alerts', {
  "latitude": 43.65,
  "longitude": -79.38
});

More examples

{
  "limit": 20
}

Connect

Add this to your MCP client config — every tool in the catalog, including this one — or use one-click install buttons:

{
  "mcpServers": {
    "pipeworx": {
      "url": "https://pipeworx.io/mcp"
    }
  }
}
Connect to just the weather-gc-ca pack
{
  "mcpServers": {
    "weather-gc-ca": {
      "url": "https://gateway.pipeworx.io/weather-gc-ca/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build October 24, 2026