smhi-mcp-server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| get_forecastA | Get the full ~10-day weather forecast for a location, with every raw SMHI parameter at native time resolution (hourly for the first days, then 3/6-hourly further out) — including fields not exposed by the other forecast tools, such as cloud layers and precipitation min/max/median. Prefer get_current_weather for a single now-reading, get_hourly_forecast for an hour-by-hour view, or get_daily_summary for a multi-day high/low overview; use this tool when you need the complete unprocessed dataset. Temperatures in °C, wind speed in m/s, pressure in hPa, precipitation in mm, humidity/cloud cover/probabilities in %. Returns an error result (isError: true) if coordinates are out of range or the SMHI API is unreachable. Coverage: Sweden, Norway, Finland, Denmark, Estonia, and parts of Latvia/Lithuania. |
| get_current_weatherA | Get current weather conditions (the nearest forecast time step) for a location: temperature, wind, humidity, precipitation, and a human-readable weather description. Use this for a quick "what's the weather like right now" snapshot; use get_hourly_forecast for future hours, get_daily_summary or get_forecast for a multi-day outlook. Temperature in °C, wind speed in m/s, pressure in hPa, precipitation in mm, humidity/cloud cover/probabilities in %. Returns an error result (isError: true) if coordinates are out of range or the SMHI API is unreachable. Coverage: Sweden, Norway, Finland, Denmark, Estonia, and parts of Latvia/Lithuania. |
| get_hourly_forecastA | Get an hour-by-hour weather forecast for the next 1-48 hours (default 24): temperature, wind, precipitation, and conditions per hour. Use this to answer questions like "will it rain in the next few hours"; use get_current_weather for a single now-reading, get_daily_summary for a multi-day high/low overview, or get_forecast for the complete raw dataset. Temperature in °C, wind speed in m/s, precipitation in mm, probabilities in %. Returns an error result (isError: true) if coordinates are out of range or the SMHI API is unreachable. Coverage: Sweden, Norway, Finland, Denmark, Estonia, and parts of Latvia/Lithuania. |
| get_daily_summaryA | Get a daily weather summary for the next 1-10 days (default 7): high/low temperature, dominant weather condition, precipitation total, and max wind speed per day. Use this for a multi-day outlook at a glance; use get_hourly_forecast or get_forecast when you need hour-level detail instead. Temperature in °C, wind speed in m/s, precipitation in mm. Returns an error result (isError: true) if coordinates are out of range or the SMHI API is unreachable. Coverage: Sweden, Norway, Finland, Denmark, Estonia, and parts of Latvia/Lithuania. |
| get_fire_riskA | Get a wildfire/forest fire risk forecast for a location, based on the Canadian Fire Weather Index (FWI) system as run by SMHI and calibrated for Swedish forest and grass fuels. Use this instead of the general forecast tools when the question is specifically about fire danger. Returns a fire risk class (1-6) plus the underlying FWI/ISI/BUI/FFMC/DMC/DC indices (unitless index values, not raw weather readings), grass fire risk class, and forest dryness class (daily period only). Also includes temperature (°C), wind speed (m/s), humidity (%), and multi-day precipitation sums (mm). Returns an error result (isError: true) if coordinates are out of range or the SMHI API is unreachable. Coverage: Sweden, Norway, Finland, Denmark, Estonia, and parts of Latvia/Lithuania. |
| get_radar_imageA | Get the latest Swedish precipitation radar composite (mosaic of all Swedish radar stations), updated roughly every 5 minutes. Unlike the forecast tools, this shows observed precipitation happening right now, not a prediction — use the forecast tools instead if the question is about future weather. Takes no parameters. Returns a PNG image plus its area, product name, and validTime/updated timestamps. Returns an error result (isError: true) if the SMHI radar API is unreachable. Coverage: Sweden only. |
| get_weather_warningsA | Get currently active official SMHI weather warnings/alerts for Sweden (impact-based warnings for wind, rain, snow, thunder, high temperatures, flooding, fire risk, and more). Not coordinate-based — returns all active warnings, each tagged with the county/area it affects, so filter by county name and/or minimum severity to narrow results. Severity levels from most to least severe: RED > ORANGE > YELLOW > MESSAGE. Use this for "is there a storm warning" type questions; use the forecast tools for general future conditions and get_fire_risk for the underlying fire danger index. Returns an error result (isError: true) if the SMHI warnings API is unreachable. Coverage: Sweden only. |
| get_weather_analysisA | Get the past ~24 hours of gridded meteorological analysis for a location, from SMHI's Mesan2gv3 API — a "best current estimate" of conditions (observations blended with a short-range model on a ~2.5 km grid), not a forecast. Use this for nowcasting ("what's actually happening right now" at a point without a nearby observation station), verifying how a past forecast turned out, or "what was the weather really like" lookups; use the forecast tools instead for future conditions. Returns hourly entries (most recent first) with temperature (°C, plus min/max at some hours), dew point, wet-bulb temperature, wind (m/s), pressure (hPa, sea-level and station), visibility (km), cloud cover layers and base/top altitude (%, m), precipitation over the last 1/3/12/24h (mm, later windows only populated at some hours), snow depth change (cm), and a human-readable weather description. Returns an error result (isError: true) if coordinates are out of range or the SMHI API is unreachable. Coverage: Sweden, Norway, Finland, Denmark, Estonia, and parts of Latvia/Lithuania. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/LittleAndi/smhi-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server