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 Docs   |   API Docs   |   OpenAPI   |   Playground   |   Tutorial   |   Toolkits   |   Home
status: healthy status status healthy healthy tools: 3 tools tools 3 3 Environment

Data source: DMI (Danish Meteorological Institute)

MCP MCP Protocol

Endpoint https://context.gnist.ai/mcp/dmi-warnings/
claude_desktop_config.json
{
  "mcpServers": {
    "gnist-dmi-warnings": {
      "url": "https://context.gnist.ai/mcp/dmi-warnings/",
      "headers": {
        "Gnist-API-Key": "YOUR_API_KEY"
      }
    }
  }
}
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"}}}'

API REST API

API Root https://context.gnist.ai/rest/dmi-warnings/

3 endpoints available:

Shell
curl "https://context.gnist.ai/rest/dmi-warnings/report_feedback?feedback=example" \
  -H "Gnist-API-Key: YOUR_API_KEY"
Python
import httpx

resp = httpx.get(
    "https://context.gnist.ai/rest/dmi-warnings/report_feedback",
    headers={"Gnist-API-Key": "YOUR_API_KEY"},
    params={
        "feedback": "example"
},
)
print(resp.json())

OpenAPI Spec  ·  Full API Docs

CLI Command Line

Command gc dmi-warnings

CLI documentation will be available when the GnistAI SDK is published.

Install
pip install gnistai

Available Tools (3)

get_weather_warnings
Get current DMI weather warnings for Denmark.
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.
get_warning_causes
List DMI warning cause types and severity levels.
report_feedback
Report a bug, feature request, or general feedback for this data source.
ParameterTypeRequiredDescription
feedbackstringrequired
feedback_typestringoptional (default: "general")

Related