
Wellness Air
io.github.davidmosiah由 GitHub 账号 davidmosiah 发布v0.5.6更新于 Oct 24, 2026
Local-first air-quality MCP for AI agents — AirGradient, AirThings, PurpleAir, IQAir, Awair.
概览
本地优先的 MCP 服务器,让 AI 助手读取公共及自有传感器的空气质量数据,并提供 AQI 判断、健康分级与趋势分析。
- 可以做什么
- 读取最新传感器数据(PM2.5、CO₂、AQI、温度、湿度),快速回答空气质量是否良好并给出分级与建议,还可生成每日摘要、比较 2 至 10 个地点。发现 AirGradient 公共传感器,并列出已认证 AirThings 账户下的设备。按 WHO、EPA、ASHRAE、UBA 标准对读数分级,并分析时间窗口内的均值、中位数、变化速率与峰值。查看支持的能力、连接状态、指标清单,以及本地记录与发送给提供方的隐私审计。读取、更新并引导填写共享的本地健康档案,也可在配置前预览示例数据。
- 适用场景
- 适合希望助手把室内空气质量纳入睡眠、恢复、专注或训练建议的场景,也适合无需注册即可查询附近公共传感器。已在使用健康数据追踪、想补充环境信息的配置同样适用。
- 运行要求
- 通过 npx 作为本地进程运行(需要 Node.js)。默认使用 stdio 传输;可通过 WELLNESS_AIR_HOST、WELLNESS_AIR_PORT 和 WELLNESS_AIR_TRANSPORT 启用仅限本机回环的 HTTP。读取 AirGradient 公共数据只需数字 locationId,例如通过 WELLNESS_AIR_DEFAULT_LOCATION 设置。自有 AirGradient 传感器需要 AIRGRADIENT_API_TOKEN;AirThings 与 PurpleAir 需要自备提供方凭据。需要能访问所配置提供方的网络。
安装
在 SourceWeft 中
- 打开 控制台中的 Wellness Air,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
Wellness Air
Local-first air-quality MCP for AI agents.
Plug an AirGradient/AirThings/PurpleAir sensor into your agent — no tokens leave your machine.
[npm version] [npm downloads] [License MIT] [Site]
[GitHub stars] [Built for MCP] [Hermes one-command setup] [OpenClaw one-command setup] [Delx Wellness Hub]
📡 Why this exists: your sleep / focus / training results are partly a room-quality problem. PM2.5 above 35, CO₂ above 1,000 ppm, low humidity — those wreck recovery and the agent can't see them. wellness-air gives any AI agent local-first environmental context to cross with WHOOP / Oura / Garmin / nourish.
⚡ One-command install — pick your runtime:
- Delx Wellness for Hermes:
npx -y delx-wellness-hermes setup- Delx Wellness for OpenClaw:
npx -y delx-wellness-openclaw setupOr wire it standalone into Claude Desktop / Cursor / ChatGPT Desktop — see the install section below.
HTTP (v2 stateless)
Default is stdio. Optional Streamable HTTP — no session id, JSON responses, loopback only:
Env: WELLNESS_AIR_HOST, WELLNESS_AIR_PORT, WELLNESS_AIR_TRANSPORT=http.
Overview
Wellness Air is a local MCP server that exposes air-quality readings to any MCP-aware AI agent. It ships with first-class AirGradient support (open hardware + free public API — no auth needed for the 2,000+ public sensors in the worldwide feed). AirThings and PurpleAir are implemented (bring your own free API credentials); IQAir AirVisual and Awair are on the roadmap.
If wellness-air helps your agent, please star the repo. Stars make the project easier for other AI builders to discover and help Delx keep shipping local-first wellness infrastructure.
Try It In 60 Seconds
That's it — no token, no signup, no telemetry. Public reads use AirGradient's token-free worldwide feed, so any locationId in that feed works out of the box.
Install in Claude Desktop / Cursor / ChatGPT Desktop / Codex
Reload your client. The agent now has 19 air-quality tools.
Tools (19 total)
Why local-first?
- Public sensors require zero auth. AirGradient runs an open public API; just pass a
locationId. - Owned-sensor tokens stay on your machine. Set
AIRGRADIENT_API_TOKENonly if you own a sensor. - No telemetry. wellness-air never phones home. The only outbound calls go to the providers you configure.
- Read-only. No tool mutates anything upstream. (
air_profile_updatewrites only to your local shared wellness profile, never to a provider, and requires explicit user intent.)
Cross-connector wedge
Where this gets interesting: pair it with the rest of the Delx Wellness stack.
Most agents miss the room-quality variable entirely. wellness-air closes that gap.
Privacy
Run wellness-air doctor to inspect the local privacy posture. Highlights:
- All readings cached under
~/.wellness-air(configurable). - Provider tokens never returned to the agent.
- No biometric data — environmental only.
- Tool outputs explicitly tagged with their data source for downstream auditability.
Roadmap
Shipped: AirGradient (public + owned) · AirThings · PurpleAir adapters · WHO/EPA/ASHRAE/UBA health bands · windowed trend analysis (air_trend) · shared Delx Wellness profile + onboarding.
Next:
- IQAir AirVisual + Awair adapters.
- Cross-correlation helper (e.g.
air_correlate_with_sleep) against the rest of the Delx Wellness stack. - Webhook trigger for AQI thresholds (agent gets notified when AQI crosses a band).
📧 Contact & Support
- 📨 [email protected] — general questions, integration help, partnerships
- 🐛 Bug reports / feature requests — GitHub Issues
- 🐦 Updates — @delx369 on X
- 🌐 Site — wellness.delx.ai
License
MIT — see LICENSE.
wellness-air is an unofficial connector. AirGradient, AirThings, PurpleAir, IQAir, and Awair are trademarks of their respective owners. None of those companies are affiliated with or endorse this project.
Skill or MCP
Same package, two doors. MCP registers tools on stdio/HTTP. The skill can drive the same tools through the CLI when the client has no MCP:
Copy skill/SKILL.md into your agent skills dir.
0.8.0 — candidate (2026-11-02)
This is a release candidate, not evidence of an npm publication. Existing installations are not updated automatically.
Migration and security boundaries
- HTTP transport accepts loopback only. LAN addresses and wildcard binds are rejected; use stdio or a local loopback client instead.
- Wellness profiles are validated, limited to 256 KiB, and protected with a cooperative lock. Oversized or invalid existing profiles must be corrected before use. Symbolic links, including dangling links and legacy profile paths, are rejected. These checks do not guarantee safety against a hostile local filesystem or non-cooperating processes.
- MCP inputs have a 10,000-element budget and HTTP bodies are limited to 1 MiB; compressed request bodies are rejected. Previously accepted oversized requests may now fail; reduce request sizes rather than disabling validation.
- Dependency fixes are included. Upgrade explicitly after publication and restart the connector; old installations retain their previous behavior.
来源:README.md,提交 0cc0f1c
工具
0版本历史
1- v0.5.6最新Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分