
UBA Air Quality
io.github.mohammad-abbasi-sh由 GitHub 账号 mohammad-abbasi-sh 发布v0.1.0更新于 Nov 14, 2026
Unofficial read-only MCP server for German air quality (UBA) — hourly values + LQI, 400 stations.
概览
只读的德国 UBA 空气质量 MCP 服务器,提供约 400 个监测站的逐小时污染物数值与官方空气质量指数。
- 可以做什么
- 按城市、联邦州、类型、区域或名称查找并查看监测站,含地址、坐标与近期污染物
- 按站点代码、编号或城市名获取最新逐小时数值与空气质量指数
- 查询最长 31 天的逐小时测量值,并给出最小值、最大值、平均值与日均值
- 列出 12 种污染物与 17 个监测网络
- 检查上游 API 是否可访问
- 适用场景
- 适合让助手在对话中回答德国当前或历史空气质量问题、比较不同站点或污染物,或汇总某段时间的污染水平。
- 运行要求
- 以 stdio 在本地运行,通常通过 uvx 从 PyPI 包 uba-mcp 启动,或以 python -m uba_mcp.server 运行,需 mcp 与 httpx 依赖。无需 API 密钥或登录,但需要能访问 UBA Air Data API 的网络。
安装
在 SourceWeft 中
- 打开 控制台中的 UBA Air Quality,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
uba-mcp 🌬️
mcp-name: io.github.mohammad-abbasi-sh/uba-mcp
Unofficial read-only MCP server for UBA air quality — the Umweltbundesamt (German Federal Environment Agency) Air Data API v4: hourly measurements from ~400 German stations (PM10, PM2.5, NO2, O3, SO2, CO, benzene …) since 2016, with the official UBA air-quality index (LQI). No key, no login.
Built by Mohammad Abbasi as part of the "Germany MCP factory". Not affiliated with the Umweltbundesamt.
For AI agents
Add to your MCP client config (stdio):
Or run locally: python -m uba_mcp.server (needs mcp<2, httpx).
Tools
Example output (uba_current_air_quality / Berlin Neukölln, 2026-11-11 09:00 CET):
Notes:
- Stations are found by code (
DEBE010= Berlin Wedding), numeric id, or city name (first active station in that city). - The
index/total_index(0–4) and labels come from the API itself; they follow the UBA LQI, 2025 revision (hourly means, µg/m³):
- All times are CET/CEST as returned by the API. Data: UBA Air Data API v4
umweltbundesamt.de/api/air_data/v4— no key, no login, read-only.
Development
tests/test_domain.py— offline, parses real captured API fixturestests/test_live.py— 7 cautious live requests against the UBA API
License
MIT
Built by Mohammad Abbasi — Almanibama · mabbasi.ir
来源:README.md,提交 623abcc
工具
0版本历史
1- v0.1.0最新Nov 14, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分