
foehn
io.github.kayhendriksen由 GitHub 账号 kayhendriksen 发布v0.5.1更新于 Nov 8, 2026
Access Swiss meteorological open data from MeteoSwiss, powered by foehn
概览
该 MCP 服务器让助手直接访问瑞士 MeteoSwiss 开放气象数据,涵盖站点、雷达、预报与气候数据集。
- 可以做什么
- 通过内置 MCP 服务器查询 MeteoSwiss 开放数据集合
- 读取站点观测表格数据,以及气候、预报和雷达格点数据
- 覆盖 20 多个集合,包括气象站、雷达、冰雹图、预报和气候情景
- 底层库负责下载、转换为 Parquet,并以 xarray 或 Zarr 打开格点数据
- 适用场景
- 适合让助手基于 MeteoSwiss 官方数据回答瑞士天气、气候或雷达相关问题,无需手动下载文件。也适合对瑞士官方气象开放数据进行分析与探索。
- 运行要求
- 以 Python 包形式通过 stdio 在本机运行(需 Python 3.11 或更高版本);安装 mcp 附加组件后用 foehn mcp 命令启动。需要网络访问 MeteoSwiss 的 STAC API 以获取数据。未声明任何账号、API 密钥或环境变量。
安装
在 SourceWeft 中
- 打开 控制台中的 foehn,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
[foehn]
MeteoSwiss Open Data — Python API, CLI & MCP server · tabular as DataFrames/Parquet, gridded as xarray/Zarr
[PyPI Latest Release] [Python Versions] [MIT License] [OpenSSF Scorecard] [Monthly Downloads]
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]
Daily weather in Bern, powered by foehn's MCP server and MeteoSwiss open data.
Why foehn?
- 20+ collections in one command — weather stations, radar, hail maps, forecasts, climate scenarios, and more
- Tabular and gridded — CSV station data as Polars DataFrames or Parquet; NetCDF, GRIB2 and ODIM radar grids as xarray Datasets or Zarr stores
- MCP server for LLMs — give your favorite LLM live access to MeteoSwiss data with the MCP server
- Significantly smaller on disk — columnar Parquet with Zstandard compression vs. raw CSVs
- Incremental by default — only re-downloads files that changed since your last run, tracked per dataset and time slice in
_last_run.json - No Spark required locally — download + conversion uses Polars only; Spark is optional for Delta ingestion
- Ships a Declarative Automation Bundle — ready-to-deploy daily job and historical backfill, no pipeline config needed
Quick start
Recent data (Jan 1 to yesterday) is downloaded and converted to Parquet under ./data/meteoswiss/.
Installation
From PyPI:
From source:
With extras:
Requires Python 3.11 or later.
Python API
Load data directly into Polars DataFrames, explore metadata, download to disk, and convert to Parquet — all from Python. See the full Python API documentation.
CLI
The CLI mirrors the Python API with subcommands for downloading, converting, loading, and inspecting metadata. See the full CLI documentation.
Gridded data
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.
MCP server
Give any MCP-compatible LLM live access to MeteoSwiss data. See the full MCP server documentation.
Documentation
Data sources
License
MIT
来源:README.md,提交 5605af1
工具
0版本历史
2- v0.5.0Oct 25, 2026
- v0.4.0Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分