Environment
Data source: FMI (Finnish Meteorological Institute) via MeteoAlarm
MCP Protocol
Endpoint
https://context.gnist.ai/mcp/fmi-warnings/
claude_desktop_config.json
{
"mcpServers": {
"gnist-fmi-warnings": {
"url": "https://context.gnist.ai/mcp/fmi-warnings/",
"headers": {
"Gnist-API-Key": "YOUR_API_KEY"
}
}
}
}
Shell
curl -X POST "https://context.gnist.ai/mcp/fmi-warnings/" \
-H "Content-Type: application/json" \
-H "Accept: application/json, text/event-stream" \
-H "Gnist-API-Key: YOUR_API_KEY" \
-d '{"jsonrpc": "2.0", "method": "tools/call", "id": 1, "params": {"name": "report_feedback", "arguments": {"feedback": "example"}}}'
REST API
API Root
https://context.gnist.ai/rest/fmi-warnings/
3 endpoints available:
GET /rest/fmi-warnings/get_weather_warningsGET /rest/fmi-warnings/get_warning_metadataGET /rest/fmi-warnings/report_feedback
Shell
curl "https://context.gnist.ai/rest/fmi-warnings/report_feedback?feedback=example" \ -H "Gnist-API-Key: YOUR_API_KEY"
Python
import httpx
resp = httpx.get(
"https://context.gnist.ai/rest/fmi-warnings/report_feedback",
headers={"Gnist-API-Key": "YOUR_API_KEY"},
params={
"feedback": "example"
},
)
print(resp.json())
Command Line
Command
gc fmi-warnings
CLI documentation will be available when the GnistAI SDK is published.
Install
pip install gnistai
Available Tools (3)
get_weather_warningsGet current FMI weather warnings for Finland.
| Parameter | Type | Required | Description |
|---|---|---|---|
severity | any | optional | Filter by severity level: yellow, orange, or red. Omit for all levels. |
awareness_type | any | optional | Filter by awareness type: wind, snow-ice, thunderstorm, fog, high-temperature, low-temperature, coastal-event, forest-fire, avalanches, rain, flooding, rain-flood. Omit for all types. |
get_warning_metadataList available FMI warning severity levels and awareness types.
report_feedbackReport a bug, feature request, or general feedback for this data source.
| Parameter | Type | Required | Description |
|---|---|---|---|
feedback | string | required | |
feedback_type | string | optional | (default: "general") |