The full upstream README, mirrored here for reference. Install config, tool schemas, adoption signals, and an original overview live on the Foehn listing page.
MeteoSwiss Open Data — Python API, CLI & MCP server · tabular as DataFrames/Parquet, gridded as xarray/Zarr
foehn downloads every MeteoSwiss OGD collection via the STAC API, converts CSV/TXT station data to Parquet with Polars, and opens gridded collections — NetCDF climate grids, GRIB2 forecasts, and ODIM radar composites — as xarray Datasets or Zarr stores. It can optionally ingest everything into Databricks Unity Catalog Delta tables on a daily schedule, and ships an MCP server so LLMs can query Swiss weather data directly.
Daily weather in Bern, powered by foehn's MCP server and MeteoSwiss open data.
_last_run.jsonRecent data (Jan 1 to yesterday) is downloaded and converted to Parquet under ./data/meteoswiss/.
From PyPI:
From source:
With extras:
Requires Python 3.11 or later.
Load data directly into Polars DataFrames, explore metadata, download to disk, and convert to Parquet — all from Python. See the full Python API documentation.
The CLI mirrors the Python API with subcommands for downloading, converting, loading, and inspecting metadata. See the full CLI documentation.
NetCDF climate grids/normals/scenarios, GRIB2 forecasts (ICON-CH1/CH2, KENDA), and HDF5/ODIM radar composites all open as xarray Datasets instead of DataFrames. One extra covers them: pip install "foehn[grids]". See the gridded data documentation.
Give any MCP-compatible LLM live access to MeteoSwiss data. See the full MCP server documentation.
| Collections | All 20+ MeteoSwiss datasets, categories, and time slice conventions |
| Python API | Loading data, metadata, downloading, and Parquet conversion |
| Gridded data | NetCDF grids as xarray Datasets and Zarr stores |
| CLI | All subcommands, flags, and environment variables |
| MCP Server | Setup, configuration, and available tools |
| Databricks Pipeline | Declarative Automation Bundle deployment |
| STAC API | https://data.geo.admin.ch/api/stac/v1 |
| Documentation | https://opendatadocs.meteoswiss.ch |
| MeteoSwiss OGD | https://github.com/MeteoSwiss/opendata |
MIT