
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 分