GnistAI GnistAI
Log in

NVE Flood Warnings (Norway)

Norwegian flood warnings from NVE — current county-level risk assessments, regional details with municipalities, and detailed flood warnings with severity levels (green/yellow/orange/red).

Overview   |   MCP Docs   |   API Docs   |   OpenAPI   |   Playground   |   Tutorial   |   Toolkits   |   Home
status: healthy status status healthy healthy tools: 4 tools tools 4 4 Environment

Data source: NVE (Norwegian Water Resources and Energy Directorate)

MCP MCP Protocol

Endpoint https://context.gnist.ai/mcp/nve-flood/
claude_desktop_config.json
{
  "mcpServers": {
    "gnist-nve-flood": {
      "url": "https://context.gnist.ai/mcp/nve-flood/",
      "headers": {
        "Gnist-API-Key": "YOUR_API_KEY"
      }
    }
  }
}
Shell
curl -X POST "https://context.gnist.ai/mcp/nve-flood/" \
  -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": "get_region_details", "arguments": {"county_id": "example"}}}'

API REST API

API Root https://context.gnist.ai/rest/nve-flood/

4 endpoints available:

Shell
curl "https://context.gnist.ai/rest/nve-flood/get_region_details?county_id=example" \
  -H "Gnist-API-Key: YOUR_API_KEY"
Python
import httpx

resp = httpx.get(
    "https://context.gnist.ai/rest/nve-flood/get_region_details",
    headers={"Gnist-API-Key": "YOUR_API_KEY"},
    params={
        "county_id": "example"
},
)
print(resp.json())

OpenAPI Spec  ·  Full API Docs

CLI Command Line

Command gc nve-flood

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

Install
pip install gnistai

Available Tools (4)

get_county_overview
Get current flood warning levels for all Norwegian counties.
get_region_details
Get municipalities and active warnings for a Norwegian county.
ParameterTypeRequiredDescription
county_idstringrequiredNorwegian county ID (e.g. '03' for Oslo, '46' for Vestland, '50' for Trøndelag).
get_flood_warnings
Get flood warnings for Norway, optionally filtered by county or municipality.
ParameterTypeRequiredDescription
county_idanyoptionalFilter by county ID (e.g. '46' for Vestland). Omit for all of Norway.
municipality_idanyoptionalFilter by municipality ID (e.g. '0301' for Oslo). Overrides county_id if set.
start_dateanyoptionalStart date in YYYY-MM-DD format. Defaults to today.
end_dateanyoptionalEnd date in YYYY-MM-DD format. Defaults to 3 days from today.
report_feedback
Report a bug, feature request, or general feedback for this data source.
ParameterTypeRequiredDescription
feedbackstringrequired
feedback_typestringoptional (default: "general")

Related