Skip to main content
Glama
malkreide

meteoswiss-mcp

by malkreide

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MCP_HOSTNoBind address127.0.0.1
MCP_PORTNoPort for HTTP transport8000
MCP_API_KEYNoAPI key for authentication (requests need X-API-Key or Authorization: Bearer header)
MCP_LOG_LEVELNoLog level: DEBUG, INFO, WARNING, ERRORINFO
MCP_TRANSPORTNoTransport mode: stdio or streamable-httpstdio
MCP_CACHE_ENABLEDNoSet to 0 to disable caching1
OTEL_SERVICE_NAMENoOpenTelemetry service namemeteoswiss_mcp
MCP_ALLOW_ANY_HOSTNoSet to 1 to allow binding to 0.0.0.0 (required for container/cloud)
MCP_CACHE_TTL_STACNoTTL in seconds for STAC SMN observations cache300
MCP_STATELESS_HTTPNoSet to 1 to enable stateless mode (each request opens new session)0
MCP_ALLOWED_ORIGINSNoComma-separated list of allowed CORS origins (empty = CORS disabled)
MCP_WARNINGS_API_URLNoURL of structured MeteoSwiss warnings API
MCP_CACHE_TTL_OPENDATANoTTL in seconds for opendata.swiss catalog cache3600
MCP_CACHE_TTL_WARNINGSNoTTL in seconds for warnings API cache300
MCP_CACHE_TTL_GEOCODINGNoTTL in seconds for geocoding lookups cache3600
MCP_CACHE_TTL_OPEN_METEONoTTL in seconds for ICON forecasts cache600
MCP_CLIMATE_NORMALS_PATHNoPath to JSON file with additional climate normals
OTEL_EXPORTER_OTLP_ENDPOINTNoOpenTelemetry OTLP HTTP endpoint
MCP_CLIMATE_NORMALS_URL_TEMPLATENoURL template for runtime lookup of climate normals

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
meteo_stationsA

Schul-Tipp: Station REH (Zürich/Affoltern) ist die nächste SMN-Station zum Schulhaus Leutschenbach.

Args: params (StationsInput): - canton: Kantonskürzel (z.B. 'ZH') – leer = alle - response_format: 'markdown' oder 'json'

Returns: str: Stationsliste mit Kürzel, Name, Kanton, Koordinaten und Höhe.

meteo_currentA

Args: params (CurrentInput): - station: SMN-Kürzel, z.B. 'KLO', 'SMA', 'REH', 'BER' - response_format: 'markdown' oder 'json'

Returns: str: Aktuelle Messwerte mit Zeitstempel, oder Fallback mit Direktlinks.

meteo_forecastA

Args: params (ForecastInput): - location: Ortsname (geokodiert) ODER lat/lon direkt - days: Prognosetage (1–16, Standard: 7) - hourly: True für Stundenwerte - response_format: 'markdown' oder 'json'

Returns: str: Tages- (und optional Stunden-)Prognose mit Wettercode und Planung.

meteo_school_checkA

Args: params (SchoolCheckInput): - location: Ort (geokodiert), z.B. 'Zürich Oerlikon' - date: Optional – spezifischer Tag (YYYY-MM-DD) - activity: Art der Aktivität ('Sporttag', 'Schulreise', etc.)

Returns: str: Ampel-Bewertung für die nächsten 7 Tage (oder Einzeltag).

meteo_climate_normalsA

Args: params (ClimateNormalsInput): - station: SMN-Kürzel (z.B. 'KLO', 'SMA', 'BER') - response_format: 'markdown' oder 'json'

Returns: str: Monatliche Klimanormwerte-Tabelle 1991–2020.

meteo_warningsA

Args: params (WarningsInput): - canton: Kantonskürzel zum Filtern (z.B. 'ZH') - response_format: 'markdown' oder 'json'

Returns: str: Links zu aktuellen MeteoSwiss-Warnungen und Warnkarte.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription
get_stations_resourceVollständige eingebettete SMN-Stationsliste als JSON-Ressource.
get_school_thresholds_resourceSchwellenwerte für die Schuleignungs-Ampel (meteo_school_check).
get_wmo_codes_resourceWMO-Wettercodes mit deutschen Beschreibungen.

Latest Blog Posts

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/malkreide/meteoswiss-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server