vedurstofa-mcp

v1.0.0
io.github.sandsower/vedurstofa-mcp Checked 3 days ago Published 7 months ago

MCP server for Icelandic weather, forecasts, warnings, and earthquakes from vedur.is.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

get_weather_now

Get current weather observations for locations in Iceland. Returns temperature (°C), wind speed and direction (m/s, cardinal + degrees), pressure (hPa), humidity (%), precipitation (mm/h), and snow/visibility data when available. Accepts station IDs or names — call list_weather_stations to discover available stations.

ParameterTypeDescription
langstringLanguage for description fields. Defaults to 'en'.
stationsarrayStation IDs or names, e.g. ['1470', 'Akureyri']. Diacritics optional. Defaults to ['Reykjavík'] when omitted.

get_weather_forecast

Get multi-day hourly weather forecasts for locations in Iceland. Returns hour-by-hour predictions for temperature, wind, precipitation, cloud cover, and dew point. Forecasts are regional (covering one of 10 IMO forecast regions) and scraped from vedur.is; if scraping fails the response falls back to the national text forecast and is marked 'degraded'.

ParameterTypeDescription
hoursintegerHow many hours of forecast to return, starting from now. Defaults to 72 (3 days). Max 240 (10 days). Keep this tight when the user asks about a specific near-term time.
langstringLanguage for the text-forecast fallback. Defaults to 'en'.
stationsarrayStation IDs or names. Defaults to ['Reykjavík'].

get_weather_text

Get written (prose) weather forecasts for Iceland from the Icelandic Meteorological Office. Use for narrative forecasts and text weather warnings. For structured per-station observations use get_weather_now. For structured warnings use get_weather_warnings.

ParameterTypeDescription
categorystringWhich text forecast to fetch. Defaults to 'national'.
langstringLanguage. Icelandic versions are often more detailed. Defaults to 'en'.

get_weather_warnings

Get active severe-weather warnings (CAP alerts) for Iceland from the Icelandic Meteorological Office. Returns structured alert metadata including severity, certainty, urgency, effective/expiry times, affected areas, and multilingual headlines + descriptions. For narrative text warnings use get_weather_text with category='warnings'.

ParameterTypeDescription
include_expiredbooleanInclude expired alerts (default false).
langstringFilter to info blocks in this language. Default returns all.

get_earthquakes

Get recent earthquakes in Iceland with magnitude, location, depth, and timestamp. Filter by named region preset (reykjanes, mydalsjokull, bardarbunga, tjornes, katla, askja, hekla, grimsvotn) or a custom lat/lon radius. Defaults to the last 48 hours and excludes automatic (unreviewed) detections.

ParameterTypeDescription
hoursintegerTime window in hours. Max 168 (7 days). Defaults to 48.
include_unreviewedbooleanInclude automatic unreviewed detections. Defaults to false.
min_magnitudenumberMinimum magnitude (Mlw). Defaults to 0 (all events).
nearobjectCustom point + radius filter. Mutually exclusive with 'region'.
regionstringNamed region preset. Mutually exclusive with 'near'. Useful for monitoring specific volcanic systems.

list_weather_stations

List weather stations in Iceland with their IDs, names, types, and coordinates. Use this to look up station IDs for get_weather_now and get_weather_forecast, or to help users discover stations near a region. Stations are loaded from the Icelandic Meteorological Office (api.vedur.is).

ParameterTypeDescription
limitintegerMaximum number of stations to return. Defaults to all.
regionstringCase-insensitive substring match against the station's region label (e.g. 'north', 'capital', 'westfjords'). Optional.