meteo-swiss-mcp
Query Swiss weather, measurements, snow/avalanche, and astronomy data for places in Switzerland.
Get daily forecasts for 1–9 days, including temperature, rain, and weather/emoji.
Get rain in 3-hour blocks, hourly temperature ranges, sunshine hours, wind, cloud cover, and freezing level.
Get current MeteoSwiss/SLF station measurements and historical weather/snow records up to 366 days.
Get current snow depth/new snow and nationwide extremes such as warmest, coldest, windiest, wettest, sunniest, deepest snow, or most new snow.
Get the current SLF avalanche bulletin for a location.
Get sunrise, sunset, civil twilight, moonrise, moonset, moon phase, and illumination.
Get the current Swiss date/time for relative questions, and disambiguate places with an optional
nearargument.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@meteo-swiss-mcp Show me the total rainfall for Zurich in the next 48 hours."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Swiss Weather MCP Server
An MCP server that gives AI applications weather information for places across Switzerland:
Forecasts for today and the next 8 days: temperature, rain, sunshine, wind, clouds and freezing level
Measurements from about 160 MeteoSwiss and 200 SLF mountain stations: now, on past days, and where in Switzerland it is warmest, coldest, windiest, wettest or sunniest
Snow and avalanches: snow depth, new snow and the SLF avalanche bulletin
Sun and Moon: rise and set times, civil twilight and the Moon's phase
Not an official product of MeteoSwiss, SLF or swisstopo. See Data Sources.
Answers pass through an AI model and can be wrong; use them at your own risk, without liability. Before going into the mountains, check the official avalanche bulletin and the MeteoSwiss forecast.
Quick Start
Install uv, then add this to your AI app's MCP config file:
{
"mcpServers": {
"swiss-weather": {
"command": "uvx",
"args": ["swiss-weather-mcp@latest"]
}
}
}uvx downloads the server on first use, and @latest makes it check for a new release on each start.
If your app cannot find uvx, replace uvx with the full path that which uvx prints.
If the file already has content, add only the "swiss-weather" entry inside its "mcpServers".
In Claude Desktop, you can alternatively download the Swiss Weather desktop extension, double-click it and select Install.
Related MCP server: wetter-mcp-server
Installation
Install the server once with uv, instead of starting it with uvx on each start as in Quick Start:
uv tool install swiss-weather-mcpOver stdio
Your AI app starts the server itself. Add this to its MCP config file:
{
"mcpServers": {
"swiss-weather": {
"command": "swiss-weather-mcp"
}
}
}If your app cannot find swiss-weather-mcp, use the full path that which swiss-weather-mcp prints.
Over Streamable HTTP
The server runs on its own, and your AI app connects to it by URL. Start it with:
swiss-weather-mcp --transport=streamable-http --host=localhost --port=8050Then add its URL to your AI app's MCP config file:
{
"mcpServers": {
"swiss-weather": {
"url": "http://localhost:8050/mcp/"
}
}
}To use another port, change 8050 in --port and in the URL. --help lists all flags. Where the server keeps its files, and --cache-all-forecast-points: see Cache and Downloads.
With Docker
The image runs the server over streamable HTTP and needs no uv:
docker run -p 127.0.0.1:8050:8050 ghcr.io/cuolm/swiss-weather-mcp:latestThen add its URL to your AI app's MCP config file:
{
"mcpServers": {
"swiss-weather": {
"url": "http://localhost:8050/mcp/"
}
}
}To use another port, change the first 8050 in -p and the one in the URL.
The Docker images are built and published automatically by GitHub Actions to the project's GitHub Container Registry, tagged :latest (newest release) and by version.
Each docker run starts a new container with an empty cache. Mount a volume to keep it, for example
-v swiss-weather-cache:/home/app/.cache/swiss-weather-mcp.
Available Tools
Times are Swiss local time (see Times). Every tool with a location also takes an
optional near, needed only when several places share the name (see Locations).
Answers name the forecast point when it is not next to the place (see Forecast Points).
Tool | Answer |
| 1 to 9 days: lowest and highest temperature, rain, weather with an emoji |
| Chance and amount of rain, and the weather, in 3-hour blocks |
| Temperature and its likely range, hour by hour or for one hour |
| Hours of sunshine over a period, or in one hour |
| Mean speed, gusts and direction |
| Total cloud cover and its low, medium and high layers |
| Height of the 0 °C line |
| What a station near the place measures now (see Measurements) |
| 1 to 366 past days: lowest, mean and highest temperature, rain, sunshine, strongest gust, snow depth and new snow |
| Snow depth now, and new snow of the last 24 hours and 3 days (see Measurements) |
| Where it is |
| SLF avalanche bulletin valid now: danger level, avalanche problems and texts (see Avalanche Bulletin) |
| Sunrise, sunset and civil twilight |
| Moonrise, moonset, phase and how much is lit |
| Today's weekday and the Swiss time now |
Details
How It Works: times, places, forecast points, each tool in detail, forecast medians, cache and downloads
Development: running from source, the test client and the project structure
Data Sources
Local forecasts and SwissMetNet measurements: MeteoSwiss under CC BY 4.0. Source: MeteoSwiss
IMIS mountain stations, snow measured by observers and the avalanche bulletin: SLF under CC BY 4.0. Source: WSL Institute for Snow and Avalanche Research SLF. Report your observations with the SLF feedback tool
Places from swissNAMES3D, municipalities and cantons from swissBOUNDARIES3D: swisstopo under its terms of use. Source: Federal Office of Topography swisstopo
Support
Questions and bugs: GitHub Issues.
License
Licensed under the Apache License 2.0.
Available Tools
15 toolsastronomy_moonARead-only
Get when the Moon rises and sets at a place on a day, its phase and how much of it is lit.
Use this for "when does the moon rise tonight" or "how full is the moon tonight". The
times are for a level horizon, so in a valley the Moon appears later behind the
mountains. The day has a moon_phase_time when New Moon, First Quarter, Full Moon or Last
Quarter happens on it. The lit percent is the one at 12:00.
Args:
location (str): Name of a place in Switzerland, e.g. "Zürich".
date (str): The day, e.g. "2026-09-23".
Returns:
dict: the place, the date, moonrise and moonset (None when the Moon does not rise or
set that day), phase with emoji, phase time when a main phase falls on the day, and lit
percent.
Examples:
astronomy_moon("Zürich", "2026-09-23")
Inputs: date (required), location (required), near.
astronomy_sunARead-only
Get when the Sun rises and sets at a place on a day, and when civil twilight begins and ends.
Use this for "when does the sun rise tomorrow" or "until when is it light tonight". Civil
twilight is the light before sunrise and after sunset; outside it, artificial light is
normally needed outdoors. The times are for a level horizon, so in a valley the Sun
appears later behind the mountains.
Args:
location (str): Name of a place in Switzerland, e.g. "Zürich".
date (str): The day, e.g. "2026-09-23".
Returns:
dict: the place, the date, civil twilight begin, sunrise, sunset and civil twilight end.
Examples:
astronomy_sun("Zürich", "2026-09-23")
Inputs: date (required), location (required), near.
avalanche_bulletinARead-only
Get the SLF avalanche bulletin valid now for a place: the danger level, the avalanche problems
and SLF's texts.
Use this for "how high is the avalanche danger in Davos" or "can I go ski touring near
Engelberg". SLF, the WSL Institute for Snow and Avalanche Research, rates the danger from 1
low to 5 very high, from level 2 with a subdivision: - near the bottom, = in the middle and +
near the top of the level. Each avalanche problem applies only at its heights and on slopes
facing its aspects, often higher up than a village, so compare them with the place's altitude.
In spring, danger_level_later is the danger of the wet snow later in the day. In winter SLF
publishes the bulletin every day at 17:00, with an update at 08:00 when needed; in summer and
autumn only after heavy snowfall. Always give the source with its link.
Args:
location (str): Name of a place in Switzerland, e.g. "Davos Dorf".
Returns:
dict: the place and its altitude, the regions of the bulletin, when it was published, from
when until when it is valid and its next update, the danger level, danger_level_later
when the wet snow changes it later in the day, and the avalanche problems, each with its
danger level, time of day, heights, aspects, summary and description. Then SLF's texts
for all of Switzerland: snowpack, outlook, weather forecast and weather review (None when
SLF gives none), a link to SLF's map of the bulletin and the source.
Examples:
avalanche_bulletin("Davos Dorf")
Inputs: location (required), near.
current_date_and_timeARead-only
Get the current weekday and Swiss local time.
Call this first when the question is relative, such as "tomorrow" or "tonight", because
the forecast tools take a real date rather than an offset. Also call it before saying that a
date is in the future: your own idea of today may be out of date. The time is written the way
the tools read it, ISO 8601 without an offset, so it can be sent back to them as it is.
Returns:
str: For example "Today is Wednesday, 2026-09-23T13:02 (Swiss time)".
Inputs: no named parameters. Returns: result
forecast_cloud_coverARead-only
Get how cloudy it is at a place at a specific time.
Use this for "how cloudy is it at 14:00". MeteoSwiss publishes low, medium and high
cloud separately, and they overlap, so the total is an estimate that assumes the layers
are independent. All three layers are returned as well, so low cloud such as fog can be
told apart from high cloud.
Args:
location (str): Name of a place in Switzerland, e.g. "Zürich".
when (str): A full hour, e.g. "2026-09-23T14:00". Today or up to 8 days ahead.
Returns:
dict: data_from when the forecast point is far away or at a significantly different
height, the place, the valid time, the model run and the total cloud cover with its
low, medium and high layers.
Examples:
forecast_cloud_cover("Zürich", "2026-09-23T14:00")
Inputs: when (required), location (required), near.
forecast_dailyARead-only
Get the whole-day forecast at a place, for one day or several days in a row.
Use this for "how is the weather tomorrow" or "how is the weather at the weekend", and
for the total rain of a day. Each day covers a Swiss calendar day, 00:00 to 24:00 local
time. The minimum and maximum are the lowest and highest hourly mean temperature of
that day, and the weather words describe the daytime.
Args:
location (str): Name of a place in Switzerland, e.g. "Zürich".
start_date (str): The first day, e.g. "2026-09-23". Today or up to 8 days ahead.
days (int): How many days in a row, from 1 to 9. Default 1.
Returns:
dict: data_from when the forecast point is far away or at a significantly different
height, the place, the model run and per day: date, weekday, lowest and highest
temperature, rain median with its 10th and 90th percentile, weather symbol code,
weather in words and emoji. In 8 of 10 possible outcomes, the day's rain lies between
its 10th and 90th percentile. A value is None when MeteoSwiss does not publish it for
the place.
Examples:
forecast_daily("Zürich", "2026-09-23")
forecast_daily("Zürich", "2026-09-26", 2) # a weekend
Inputs: location (required), start_date (required), days, near.
forecast_freezing_levelARead-only
Get the freezing level, the height of the 0 °C line, at a place at a specific time.
Use this for "how high is the freezing level at 14:00".
Args:
location (str): Name of a place in Switzerland, e.g. "Zürich".
when (str): A full hour, e.g. "2026-09-23T14:00". Today or up to 8 days ahead.
Returns:
dict: data_from when the forecast point is far away or at a significantly different
height, the place, the valid time, the model run and the freezing level above sea
level.
Examples:
forecast_freezing_level("Zürich", "2026-09-23T14:00")
Inputs: when (required), location (required), near.
forecast_rainARead-only
Get when and how much it may rain at a place, and the weather in words, in 3-hour blocks
over a period.
Use this for "will it rain at 15:00" or "how is the weather this afternoon". Each block
covers the 3 hours between its from and to times
and gives the chance of rain, the median rainfall, how much the wettest hour may bring
(its 90th percentile) and the weather in words. The median is often 0 when showers are
possible, so read the chance and the "up to" amount as well. A period up to the end of
the forecast ends with its last full 3-hour block. Medians do not add up, so for the
total rain of a whole day use forecast_daily.
Args:
location (str): Name of a place in Switzerland, e.g. "Zürich".
start (str): Start of the period, a full hour, e.g. "2026-09-23T12:00". Today or up to 8 days ahead.
end (str): End of the period, a full hour after start, e.g. "2026-09-23T18:00".
Returns:
dict: data_from when the forecast point is far away or at a significantly different
height, the place, the model run and per 3-hour block: from, to, chance of rain,
median rainfall, wettest hour up to, weather in words and emoji.
Examples:
forecast_rain("Zürich", "2026-09-23T15:00", "2026-09-23T18:00") # 15:00
forecast_rain("Zürich", "2026-09-23T12:00", "2026-09-23T18:00") # the afternoon
Inputs: end (required), start (required), location (required), near.
forecast_sunshineARead-only
Get the sunshine hours at a place over a period.
Use this for "how sunny is it at 15:00" or "how sunny is it this afternoon". Without end
it returns the one hour starting at start.
Args:
location (str): Name of a place in Switzerland, e.g. "Zürich".
start (str): Start of the period, a full hour, e.g. "2026-09-23T06:00". Today or up to 8 days ahead.
end (str): Optional. End of the period, a full hour after start, e.g. "2026-09-23T18:00".
Returns:
dict: data_from when the forecast point is far away or at a significantly different
height, the place, the period, the model run and the sunshine hours.
Examples:
forecast_sunshine("Zürich", "2026-09-23T15:00") # one hour
forecast_sunshine("Zürich", "2026-09-23T12:00", "2026-09-23T18:00") # the afternoon
Inputs: start (required), location (required), end, near.
forecast_temperatureARead-only
Get the temperature hour by hour at a place, with its likely range.
Use this for "how warm is it at 15:00" or "how warm is it this afternoon". Without end
it returns the one hour starting at start. Each row gives the mean temperature of one
hour, between its from and to times.
Args:
location (str): Name of a place in Switzerland, e.g. "Zürich".
start (str): Start of the period, a full hour, e.g. "2026-09-23T15:00". Today or up to 8 days ahead.
end (str): Optional. End of the period, a full hour after start, e.g. "2026-09-23T18:00".
Returns:
dict: data_from when the forecast point is far away or at a significantly different
height, the place, the model run and per hour: from, to, temperature with its 10th
and 90th percentile. In 8 of 10 possible outcomes, the temperature lies between its
10th and 90th percentile.
Examples:
forecast_temperature("Zürich", "2026-09-23T15:00") # one hour
forecast_temperature("Zürich", "2026-09-23T12:00", "2026-09-23T18:00") # the afternoon
Inputs: start (required), location (required), end, near.
forecast_windARead-only
Get the wind at a place at a specific time: mean speed, strongest gust and direction.
Use this for "how windy is it at 14:00". The speed is the mean over the hour up to that
time, and the gust the strongest one-second gust in that hour. In 9 of 10 possible
outcomes the gust stays below its 90th percentile, so the percentile is a cautious high
estimate, not the highest gust possible. The direction is where the wind blows from, in
degrees clockwise from north (0 is a north wind, 180 a south wind) and as a compass
point.
Args:
location (str): Name of a place in Switzerland, e.g. "Zürich".
when (str): A full hour, e.g. "2026-09-23T14:00". Today or up to 8 days ahead.
Returns:
dict: data_from when the forecast point is far away or at a significantly different
height, the place, the valid time, the model run, mean speed, gust with its 90th
percentile, direction in degrees and as compass point.
Examples:
forecast_wind("Zürich", "2026-09-23T14:00")
Inputs: when (required), location (required), near.
measurements_currentARead-only
Get the latest measurements of a MeteoSwiss station near a place.
Use this for "how warm is it now" or "is it raining now". The values are those of the
station named in data_from; without data_from, the station is next to the place.
MeteoSwiss publishes new values about every 10 minutes. When a station of the SLF, the
WSL Institute for Snow and Avalanche Research, is closer to the place in distance and
height, mostly in the mountains, slf_station adds its temperature, humidity and wind
over the last 30 minutes, with its own data_from. For each data_from, always say which
station the values come from, how far away it is and how much higher or lower. When
slf_station is there, give its values first, as they come from the closer station.
Args:
location (str): Name of a place in Switzerland, e.g. "Zürich".
Returns:
dict: data_from when the station is not next to the place, the place, the time of the
measurements, temperature, humidity, dew point and sea-level pressure; wind speed, gust
and direction of the last 10 minutes; rain and sunshine of the last 10 minutes and the
last hour; strongest gust of the last hour; temperature and pressure change over 3
hours. A value is None when the station has not published it. slf_station, only when
an SLF station is closer: its data_from, time, temperature, humidity, wind speed,
direction and gust over 30 minutes, and the snow surface temperature, None with less
than 10 cm of snow.
Examples:
measurements_current("Zürich")
Inputs: location (required), near.
measurements_extremesARead-only
Get where in Switzerland it is warmest, coldest, windiest, wettest or sunniest now, or
where the snow is deepest or most new snow fell by this morning.
Use this for "where is it warmest now", "where is it sunny now", "where is the most snow"
or "where did it snow most last night". The values are those of about 160 MeteoSwiss
stations, so give the altitude with each station. For the sunniest, the stations are
grouped by their sun in the last 10 minutes with MeteoSwiss's sunshine terms: mostly
sunny (8 to 10 minutes), rather sunny (5 to 7), partly sunny (2 to 4), only a little
sunshine (1) and hardly any sunshine (0). The cantons come in order of their stations'
average sun, sunniest first. A station is rainy when it had rain in the last 10 minutes.
The snow is that of about 130 automatic SLF stations and the SLF manual sites at 06:00
UTC this morning, or yesterday's before SLF has published today's: the snow depth, and
the new snow of the 24 hours up to then. SLF calculates the new snow of its automatic
stations with a model, while observers measure it at the manual sites, so say which one
a value is. The deepest snow is mostly at the highest stations.
Args:
extreme (str): One of "warmest", "coldest", "windiest", "wettest", "sunniest",
"deepest_snow" or "most_new_snow".
Returns:
dict: the time of the measurements and the first 5 stations, each with altitude, canton
and value. For the sunniest instead the number of stations in each sunshine group, in
Switzerland and in each canton, the sunniest canton first. For the wettest also the
number of rainy stations out of those that measure rain, in Switzerland and in each
canton. For the snow the stations with snow, each with its kind, and the number of
stations with snow out of those that measured.
Examples:
measurements_extremes("warmest")
measurements_extremes("most_new_snow")
Inputs: extreme (required).
measurements_historyARead-only
Get the weather and the snow measured near a place on past days, for one day or several days in a row.
Use this for "how warm was it yesterday", "how much did it rain last week" or "how much snow was
there on this day last year". The weather comes from a MeteoSwiss station and the snow from a
MeteoSwiss or SLF station, each named in the data_from of its block; without data_from, the station
is next to the place. Each weather day covers a UTC day, 00:00 to 24:00 UTC, which is 01:00 to 01:00
Swiss time in winter and 02:00 to 02:00 in summer. When a station did not yet measure the rain per
UTC day, a day has rain_06_to_06_utc_mm instead of rain_mm: the rain from 06:00 UTC on the day to
06:00 UTC the next day. The snow depth is measured at 06:00 UTC on the day, and the new snow covers
the 24 hours from then. A day's values are published the next morning. The days go back to
when the station started, at some stations to the 1860s. For the warmest day of a year, ask for
all its days. For the same day in several years, call once per year. For each data_from, always
say which station the values come from, how far away it is and how much higher or lower.
Args:
location (str): Name of a place in Switzerland, e.g. "Zürich".
start_date (str): The first day, e.g. "2026-09-23". Yesterday or earlier; days from today
on are left out.
days (int): How many days in a row, from 1 to 366, so up to a whole year. Default 1.
values (str): Optional. "weather" or "snow" for only one of them; without it, both.
Returns:
dict: the place; weather: data_from when its station is not next to the place, and per day:
date, weekday, mean, lowest and highest temperature, rain, sunshine hours and strongest
gust; snow: data_from in the same way, and per day: date, snow depth and new snow. A value
is None when the station did not measure it. snow is null when no snow station close
enough in distance and height measured on the days.
Examples:
measurements_history("Zürich", "2026-09-22")
measurements_history("Zürich", "2026-09-14", 7) # a week
measurements_history("Zürich", "2025-01-01", 365) # a whole year
measurements_history("Zürich", "1990-02-27")
measurements_history("Davos Dorf", "2025-01-01", 7, "snow") # only the snow
Inputs: location (required), start_date (required), days, near, +1 more.
measurements_snowARead-only
Get the snow depth and the new snow near a place, from MeteoSwiss and SLF stations.
Use this for "how much snow is there in Davos" or "how much new snow fell in Zermatt".
Snow depth and new snow can come from two different stations, each named in its own
data_from unless it is next to the place. The snow depth comes from a MeteoSwiss station,
an automatic SLF station or an SLF observer; the new snow only from SLF, the WSL
Institute for Snow and Avalanche Research. An observer measures the new snow by hand each
morning, from November to April; at automatic stations, SLF calculates it from the snow
depth. Only stations close
enough in distance and height are used, so in the lowlands there is often no new snow.
When a block has data_from, always say which station the value comes from, how far away it
is and how much higher or lower.
Args:
location (str): Name of a place in Switzerland, e.g. "Davos Dorf".
Returns:
dict: the place, snow_depth and new_snow. snow_depth: data_from when its station is not
next to the place, time and snow depth. new_snow: the same with the new snow of the
last 24 hours and of the last 3 days.
A block is null when no station close enough has a current value.
Examples:
measurements_snow("Davos Dorf")
Inputs: location (required), near.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 15 tools
Each tool targets a distinct quantity (rain, temperature, sunshine, wind, cloud, freezing level, snow, extremes, astronomy), and the descriptions explicitly cross-reference boundaries, e.g. telling agents to use forecast_daily for a day's total rain instead of summing forecast_rain medians. The only real overlaps are forecast_daily vs. forecast_rain (daily also returns rain and weather words) and measurements_snow vs. measurements_history with values="snow", but the current-vs-historical split keeps them separable.
All names are snake_case with a consistent domain prefix: forecast_*, measurements_*, astronomy_*, plus avalanche_bulletin and current_date_and_time. The grouping is predictable and the parameter naming (location, start, end, when, start_date, days) is reused consistently across tools.
15 tools is well within a healthy scope, and each one covers a distinct facet of Swiss weather data rather than duplicating another. Nothing looks padded or conspicuously missing from the set's structure.
Coverage is broad: multi-day and hourly forecasts across all key variables, current/historical/extreme measurements, snow, avalanche bulletins, and sun/moon astronomy, with a clock tool to resolve relative dates. Minor gaps remain — no weather warnings/alerts, no humidity, pressure, or thunderstorm forecast, and no way to resolve or search locations beyond a free-text place name.
Maintenance
Related MCP Connectors
Weather MCP — wraps Open-Meteo API (free, no auth)
Unofficial Visual Crossing Weather MCP — wraps the Visual Crossing Weather Timeline API…
Unofficial OpenWeather MCP — wraps the OpenWeatherMap API (openweathermap.org)
MET Norway (api.met.no) MCP — global weather, Nordics specials.
Related MCP Servers
- AlicenseAqualityBmaintenanceEnables AI models to access Swiss weather and climate data from MeteoSwiss, including current observations, forecasts, and warnings.652 PyPIMIT
- AlicenseAqualityCmaintenanceMCP server for weather forecasts via Open-Meteo (no API key needed), providing current weather, hourly, and daily forecasts with geocoding support.3MIT
- AlicenseNot gradedqualityBmaintenanceMCP server for querying MeteoSwiss open weather data, providing access to station data, forecasts, radar composites, and more via natural language.116 PyPI46MIT
- FlicenseNot gradedqualityDmaintenanceProvides real-time weather forecasts, current conditions, and smart umbrella recommendations through MCP tools, backed by the Open-Meteo API.-