flood
Pack: open-meteo · Endpoint: https://gateway.pipeworx.io/open-meteo/mcp
“Flood risk for [river]” / “river discharge forecast” / “will [river] flood” / “water levels at [location]” — daily river discharge forecast from the GloFAS global flood model. Returns predicted m³/s discharge up to 30 days ahead for any river-bearing lat/lng worldwide. Use for flood risk assessment, agriculture planning, hydrology research.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
latitude | number | yes | |
longitude | number | yes | |
daily | string | no | Default river_discharge |
forecast_days | number | no |
Example call
Arguments
{
"latitude": 47.5162,
"longitude": 14.5501
}
curl
curl -X POST https://gateway.pipeworx.io/open-meteo/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"flood","arguments":{"latitude":47.5162,"longitude":14.5501}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('flood', {
"latitude": 47.5162,
"longitude": 14.5501
});
More examples
{
"latitude": 41.9028,
"longitude": 12.4964,
"forecast_days": 10
}
Response shape
| Field | Type | Description |
|---|---|---|
latitude | number | Query latitude |
longitude | number | Query longitude |
generationtime_ms | number | API response generation time in milliseconds |
utc_offset_seconds | integer | UTC offset in seconds |
timezone | string | IANA timezone string |
elevation | number | Elevation of the location in meters |
daily_units | object | Units for daily flood variables |
daily | object | Daily river discharge forecast data |
Full JSON Schema
{
"type": "object",
"properties": {
"latitude": {
"type": "number",
"description": "Query latitude"
},
"longitude": {
"type": "number",
"description": "Query longitude"
},
"generationtime_ms": {
"type": "number",
"description": "API response generation time in milliseconds"
},
"utc_offset_seconds": {
"type": "integer",
"description": "UTC offset in seconds"
},
"timezone": {
"type": "string",
"description": "IANA timezone string"
},
"elevation": {
"type": "number",
"description": "Elevation of the location in meters"
},
"daily_units": {
"type": "object",
"description": "Units for daily flood variables",
"additionalProperties": {
"type": "string"
}
},
"daily": {
"type": "object",
"description": "Daily river discharge forecast data",
"properties": {
"time": {
"type": "array",
"items": {
"type": "string"
},
"description": "ISO 8601 date strings"
}
},
"additionalProperties": {
"type": "array",
"items": {
"type": [
"number",
"null"
]
}
}
}
}
}
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"open-meteo": {
"url": "https://gateway.pipeworx.io/open-meteo/mcp"
}
}
}
See Getting Started for client-specific install steps.