hydrometric_stations_near
Pack: weather-gc-ca · Endpoint: https://gateway.pipeworx.io/weather-gc-ca/mcp
No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/hydrometric_stations_near for the schema, then POST the same URL with its arguments for the data.
Water Survey of Canada river and lake gauges near a point, from the MSC GeoMet hydrometric-stations collection. AUTHORITATIVE for “which gauge measures the
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
latitude | number | no | Latitude in decimal degrees, e.g. 43.65 (Toronto). |
longitude | number | no | Longitude in decimal degrees, e.g. -79.38 (Toronto). |
radius_deg | number | no | Half-width of the search box in degrees (default 0.5, max 5). 0.5 deg is roughly 55 km north-south. |
province | string | no | Optional two-letter province or territory code, e.g. “ON”, “BC”, “QC”. |
real_time_only | boolean | no | When true, return only stations that report in real time (the ones hydrometric_realtime can serve). Default false. |
limit | number | no | Max stations to return (default 20, max 100). |
Example call
Arguments
{
"latitude": 43.65,
"longitude": -79.38,
"real_time_only": true
}
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":"hydrometric_stations_near","arguments":{"latitude":43.65,"longitude":-79.38,"real_time_only":true}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('hydrometric_stations_near', {
"latitude": 43.65,
"longitude": -79.38,
"real_time_only": true
});
More examples
{
"province": "BC",
"limit": 2
}
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"weather-gc-ca": {
"url": "https://gateway.pipeworx.io/weather-gc-ca/mcp"
}
}
}
See Getting Started for client-specific install steps.