mcp-weather
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| WEATHERAPI_KEY | No | WeatherAPI free tier key | |
| HTTP_TIMEOUT_MS | No | HTTP request timeout in milliseconds | 10000 |
| CACHE_MAX_ENTRIES | No | Maximum cached responses | 200 |
| CACHE_TTL_MINUTES | No | Cache time-to-live in minutes | 60 |
| TOMORROW_IO_API_KEY | No | Tomorrow.io free tier key | |
| OPENWEATHERMAP_API_KEY | No | OpenWeatherMap free tier key |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
Nordic and European weather: measured observations from the national weather services (FI, SE, DK, IS, EE, LT; MET Nordic analysis in NO), MET Norway's high-resolution MET Nordic forecast in the Nordic and Baltic countries, and official warnings. Tools: get_current_weather (now), get_weather_forecast (coming days; FMI's meteorologist forecast in Finland), get_precipitation_nowcast (rain or snow in the next 2 hours, radar), get_weather_warnings (official warnings in FI, SE, NO, DK, IS, EE, LV, LT), get_marine_conditions (sea level, water temperature, waves), get_lake_conditions (Finnish lakes: water level, temperature, ice), get_road_weather (driving conditions in Finland), get_air_quality (incl. pollen), get_aurora_forecast (northern lights), get_metar (airports by ICAO code), get_astronomy (sun and moon), get_weather_source_status (sources, cache and API keys). Locations can be place names in several languages, coordinates "lat,lon" or ICAO codes. Credit the data source named in each answer. Optional sources without an API key: OpenWeatherMap, WeatherAPI, Tomorrow.io. If the user asks about more sources or missing data, get_weather_source_status explains where to get free keys and how to set 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_current_weatherA | Get current weather conditions for a location. Returns temperature, feels-like, humidity, wind, pressure, cloud cover, UV index, and precipitation aggregated from multiple sources. Measured values come first: the nearest station (within 15 km) of the national weather service in Finland (FMI), Sweden (SMHI), Denmark (DMI), Iceland (IMO), Lithuania (LHMT) and Estonia, and MET Norway's MET Nordic analysis in Norway, Sweden, Finland and Denmark. |
| get_weather_forecastA | Get daily weather forecast for up to 7 days. Returns high/low temperatures, precipitation probability, max wind speed, UV index, and sunrise/sunset for each day. In Finland the days come from FMI's meteorologist-edited forecast (the one on ilmatieteenlaitos.fi), elsewhere in the Nordic and Baltic countries from MET Norway's high-resolution MET Nordic model. |
| get_precipitation_nowcastA | Will it rain or snow in the next 2 hours? Radar-based precipitation nowcast in 5-minute steps from MET Norway for the Nordic radar area: whether it is raining now, when precipitation starts or stops, the heaviest rate and the total. |
| get_weather_warningsA | Get active official weather warnings for a location in Finland, Sweden, Norway, Denmark, Iceland, Estonia, Latvia or Lithuania (wind, storm, rain, snow, ice, thunder, waves, flood, forest fire, heat, cold). Finland (FMI), Sweden (SMHI) and Norway (MET Norway) are matched to the location; Denmark, Iceland and the Baltic countries list the country's warnings with their area names (MeteoAlarm). |
| get_marine_conditionsA | Conditions at sea near a coastal location: measured sea level against the national reference and its forecast (Finland, Norway), water temperature and wave buoy measurements from FMI, SMHI, DMI and Kartverket, plus a wave model (height, direction, period, highest in the next 24 h) anywhere at sea. For boating, swimming, harbours and flooding on the coast. |
| get_lake_conditionsA | Finnish lakes and rivers from the Finnish Environment Institute (Syke): daily water level with its height above sea level (N2000), the change in a week and how it compares with the same day in the previous 30 years; surface water temperature against its normal; and ice thickness in winter. Ask by lake name (Saimaa, Päijänne, Kallavesi…) or by a place in Finland. |
| get_road_weatherA | Driving conditions on Finnish roads near a location: the nearest Fintraffic road weather station (road surface temperature and state, friction, slipperiness warning, precipitation, visibility, wind) and Fintraffic's road condition forecast for the next 12 hours. |
| get_air_qualityA | Get air quality index, pollutant concentrations (PM2.5, PM10, NO2, O3, SO2, CO) and pollen (alder, birch, grass, mugwort, ragweed; Europe) for a location. Returns the European AQI with category. In Finland, values measured at the nearest air quality station (within 10 km) take precedence over the model. |
| get_aurora_forecastA | Chance to see the northern lights at a location in the coming hours: geomagnetic activity (NOAA Kp forecast and, in Finland, the FMI R-index measured right now), the Kp needed at that latitude, darkness and cloud cover hour by hour. |
| get_metarA | Get aviation weather (METAR) for an airport. Returns raw METAR string plus decoded values including flight category, wind, visibility, clouds, and altimeter. Accepts ICAO codes or Finnish city names. For Finnish airports, falls back to the airport weather station observation from the Finnish Meteorological Institute if METAR is unavailable. |
| get_astronomyA | Get comprehensive sun and moon data: sunrise/sunset, precise solar noon with altitude, civil/nautical/astronomical twilight, golden hour, day length, moon phase/illumination, moonrise/moonset. Computed locally — no API key needed. Handles Nordic polar conditions (midnight sun, polar night, white nights). |
| get_weather_source_statusA | Check health and cache status of all weather data sources, and which optional API keys are missing with where to get them and how to set them. Returns each source's configuration state, last call result, and cache hit rate. Useful when weather data seems stale or incomplete, or when the user asks how to add more sources. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 12 tools
Each tool targets a clearly distinct data product: current observations, daily forecast, 2-hour radar nowcast, warnings, marine, lake, road, air quality, aurora, METAR, astronomy, and source diagnostics. The few plausible overlaps (current weather vs METAR, current weather vs nowcast) are explicitly scoped in the descriptions by data source and use case. An agent can pick the right tool from the name alone in nearly every case.
All twelve tools follow a uniform get_<noun> verb_noun pattern (get_current_weather, get_weather_forecast, get_marine_conditions, ...). The domain qualifiers (weather, marine, lake, road, air) make names predictable and readable. No mixing of casing or verb styles.
Twelve tools is well within the ideal 3-15 range, and each maps to a genuinely different data domain (atmosphere, hydrosphere, roads, aviation, space weather, diagnostics) rather than a redundant variation. Nothing feels padded or missing at the structural level.
The surface covers current conditions, forecast, nowcast, warnings, marine, lake, road, air quality, aurora, aviation, astronomy, and a diagnostics tool — unusually complete for a weather server. The notable gap is hourly/interval forecast beyond the 2-hour nowcast, plus no historical/archive query and a 7-day forecast ceiling; agents needing past data or sub-daily detail would hit a dead end.