SMHI — Weather Station Observations
smhi.weather.observationsGet weather observations from a specific SMHI monitoring station in Sweden — current readings or time-series history (up to several months). SMHI operates 1000+ stations from southern Malmö to Abisko in the Arctic Circle. Stations measure different parameters: major airports (Stockholm-Arlanda, Göteborg-Landvetter) typically have temperature, wind, humidity, pressure, and visibility; automated rural stations may have just temperature and precipitation. Returns timestamp, numeric value, unit, and quality flag (G=approved, Y=provisional). Common station IDs: "97400" = Stockholm-Arlanda, "98230" = Stockholm-Observatoriekullen, "72630" = Göteborg, "61740" = Malmö, "188800" = Abisko (Lapland). Common parameter IDs: "1" = temperature (°C), "4" = wind speed (m/s), "6" = humidity (%), "9" = pressure (hPa), "39" = dew-point (°C). No API key required — SMHI open data, Creative Commons BY 4.0.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| period | No | Time window for observations. "latest-hour" = most recent single reading. "latest-day" = last 24 hours with hourly readings (~25 values, default). "latest-months" = recent months of data (availability varies by station). | latest-day |
| station_id | Yes | SMHI weather station ID (numeric string). Common examples: "97400" = Stockholm-Arlanda Flygplats, "98230" = Stockholm-Observatoriekullen A, "72630" = Göteborg, "188800" = Abisko (Lapland), "61740" = Malmö. Station IDs can be found via the SMHI Open Data Meteorological Observations catalog (opendata-download-metobs.smhi.se) — over 1000 stations across Sweden. | |
| parameter_id | No | SMHI measurement parameter ID. Defaults to "1" (air temperature, °C, hourly). Common values: "1" = air temperature (°C), "4" = wind speed (m/s), "6" = relative humidity (%), "9" = sea-level pressure (hPa), "12" = visibility (m), "39" = dew-point temperature (°C). Not all parameters are measured at every station. | 1 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | Present only when the call failed. Includes error code, message, request_id, and any provider-specific extras. | |
| result | No | Tool response payload. Shape varies per tool — consult the tool description and inputSchema. May be an object, array, string, or number depending on the upstream provider response. |