Swiss-Weather
by @xenofex7
Get current weather and forecasts from MeteoSwiss (official Swiss weather service). Use when querying Swiss weather data, local measurements from Swiss weather stations, or Swiss-specific forecasts. Provides real-time measurements (temperature, humidity, wind, precipitation, pressure) from 100+ Swiss stations and multi-day forecasts by postal code. Ideal for Swiss locations - more accurate than generic weather services for Switzerland.
Current Weather by Station
Get real-time measurements from a specific Swiss weather station:
Option 1: Shell script (no dependencies)
scripts/current_weather_curl.sh --station RAG
Option 2: Python script (requires: pip3 install requests)
scripts/current_weather.py --station RAG
Example output:
Station: RAG
Time: 2026-01-15 11:40 UTC
Temperature (Β°C)........................ 8.6
Rel. humidity (%)...................... 56.3
Wind speed (km/h)...................... 6.8
Precipitation (mm)..................... 0.0
Popular stations:
List All Stations
scripts/current_weather_curl.sh --list
or
scripts/current_weather.py --list
Returns 100+ Swiss weather stations with codes and last update time.
Forecast by Postal Code
Get multi-day weather forecast:
scripts/forecast.py 8640 # Rapperswil-Jona
scripts/forecast.py 8001 --days 7 # Zurich, 7-day forecast
Note: The forecast API may occasionally be unstable. If it fails, fall back to current weather measurements.
Forecast API fails: The MeteoSwiss app API occasionally changes. If forecast.py fails, use current weather measurements instead, or check references/api_info.md for alternative methods.
Station not found: Use --list to see available stations. Station codes are 3-letter abbreviations (case-insensitive).
Missing data: Some stations don't measure all parameters. Look for - or N/A in output.
clawhub install swissweather