GnistAI GnistAI
Log in

DMI Weather Warnings (Denmark)

Danish weather warnings from DMI — current national warnings with severity levels (Low/Moderate/Severe/Dangerous) covering rain, wind, snow, thunderstorms, fog, black ice, heat, and flooding.

Overview   |   MCP   |   REST API   |   OpenAPI   |   CLI   |   Tutorial   |   Toolkits   |   Home
status: healthy status status healthy healthy tools: 3 tools tools 3 3 type: api wrapper type type api wrapper api wrapper lifecycle: maintained lifecycle lifecycle maintained maintained Environment

Data source: DMI (Danish Meteorological Institute)

MCP Endpoint (Streamable HTTP) https://context.gnist.ai/mcp/dmi-warnings/
Authentication

All requests require a Gnist-API-Key header (or api_key query parameter).

Free tier: 100 calls/day. Get your API key.

Tools (3)

get_weather_warnings

Get current DMI weather warnings for Denmark.

Returns active weather warnings from the Danish Meteorological Institute
(DMI). Warnings cover meteorological events including wind, rain,
snow, thunderstorms, fog, black ice, heat, and flooding.

Warning severity types: 1 (Low/risk notice), 2 (Moderate),
3 (Severe), 4 (Dangerous).

Returns:
List of warnings with severity, affected areas, and time periods.

ParameterTypeRequiredDescription
severityanyoptionalFilter by minimum warning type: 1=Low, 2=Moderate, 3=Severe, 4=Dangerous. Omit for all levels.
causeanyoptionalFilter by warning cause code: regn, vind, sne, konvektion, isslag, tage, temperatur, forvand. Omit for all types.
JSON-RPC Request
{
  "jsonrpc": "2.0",
  "method": "tools/call",
  "id": 1,
  "params": {
    "name": "get_weather_warnings",
    "arguments": {}
  }
}
get_warning_causes

List DMI warning cause types and severity levels.

Returns the full set of warning cause codes (regn, vind, sne, etc.)
and severity levels (1-4) used in Danish weather warnings. Useful
for understanding the classification system before querying active
warnings.

Returns:
Warning causes and severity levels with descriptions.

JSON-RPC Request
{
  "jsonrpc": "2.0",
  "method": "tools/call",
  "id": 1,
  "params": {
    "name": "get_warning_causes",
    "arguments": {}
  }
}
report_feedback

Report a bug, feature request, or general feedback for this data source.

Use this when something doesn't work as expected, when you'd like
a new feature, or when you have suggestions for improvement.

Args:
feedback: Describe the issue or suggestion.
feedback_type: One of 'bug', 'feature_request', or 'general'.

ParameterTypeRequiredDescription
feedbackstringrequired
feedback_typestringoptional (default: "general")
JSON-RPC Request
{
  "jsonrpc": "2.0",
  "method": "tools/call",
  "id": 1,
  "params": {
    "name": "report_feedback",
    "arguments": {
      "feedback": "example"
    }
  }
}

Quick Start

Shell
curl -X POST "https://context.gnist.ai/mcp/dmi-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"}}}'
Python
import httpx

resp = httpx.post(
    "https://context.gnist.ai/mcp/dmi-warnings/",
    headers={"Gnist-API-Key": "YOUR_API_KEY", "Content-Type": "application/json"},
    json={
  "jsonrpc": "2.0",
  "method": "tools/call",
  "id": 1,
  "params": {
    "name": "report_feedback",
    "arguments": {
      "feedback": "example"
    }
  }
},
)
print(resp.json())

Related Toolkits (Environment)

Resources