warnings
Pack: fmi · 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/warnings for the schema, then POST the same URL with its arguments for the data.
Active FMI weather warnings for Finland (thunderstorm, wind, rain, snow, cold, forest fire, sea), English headline, severity, colour, valid-from/to and the affected regions for each.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
limit | number | no | 1-100 (default 25). |
severity | string | no | Filter by CAP severity: Minor | Moderate | Severe | Extreme. |
include_expired | boolean | no | Include warnings whose validity window has already passed (default false). |
Example call
Arguments
{}
curl
curl -X POST https://gateway.pipeworx.io/fmi/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"warnings","arguments":{}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('warnings', {});
More examples
{
"severity": "Moderate",
"limit": 10
}
Response shape
| Field | Type | Description |
|---|---|---|
source | string | |
active_count | number | |
returned | number | |
warnings | array |
Full JSON Schema
{
"type": "object",
"properties": {
"source": {
"type": "string"
},
"active_count": {
"type": "number"
},
"returned": {
"type": "number"
},
"warnings": {
"type": "array",
"items": {
"type": "object",
"properties": {
"event": {
"type": "string"
},
"headline": {
"type": "string"
},
"description": {
"type": "string"
},
"severity": {
"type": "string"
},
"urgency": {
"type": "string"
},
"certainty": {
"type": "string"
},
"color": {
"type": "string"
},
"onset": {
"type": "string"
},
"expires": {
"type": "string"
},
"areas": {
"type": "array",
"items": {
"type": "string"
}
},
"typical_impacts": {
"type": "string"
},
"probability_pct": {
"type": "number"
},
"url": {
"type": "string"
},
"updated": {
"type": "string"
}
}
}
}
}
}
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 fmi pack
{
"mcpServers": {
"fmi": {
"url": "https://gateway.pipeworx.io/fmi/mcp"
}
}
}
See Getting Started for client-specific install steps.