v0.2.11 - MCP server
What's new
Adds a Model Context Protocol (MCP) server that exposes MeteoSwiss data to LLM clients (Claude Desktop, Cursor, etc.).
Tools
list_datasets— browse available datasets with metadataget_stations— station names, coordinates, and cantonget_parameters— column names, units, and measurement groupsget_inventory— per-station data availability and time rangeload_data— fetch live measurements as tabular data
Also includes a foehn://guide reference resource and a query_weather prompt template.
Install
pip install "foehn[mcp]"
Start the server
foehn mcp # stdio (default, for Claude Desktop / MCP clients)
foehn mcp --transport sse # SSE