Wellness Air
Local-first air-quality MCP for AI agents: AirGradient, AirThings, PurpleAir, IQAir and Awair.
README
<!-- delx-wellness header v2 --> <h1 align="center">Wellness Air</h1>
<h3 align="center"> Local-first air-quality MCP for AI agents.<br> Plug an AirGradient/AirThings/PurpleAir sensor into your agent — <strong>no tokens leave your machine</strong>. </h3>
<p align="center"> <a href="https://www.npmjs.com/package/wellness-air"><img src="https://img.shields.io/npm/v/wellness-air?style=for-the-badge&labelColor=0F172A&color=10B981&logo=npm&logoColor=white" alt="npm version" /></a> <a href="https://www.npmjs.com/package/wellness-air"><img src="https://img.shields.io/npm/dm/wellness-air?style=for-the-badge&labelColor=0F172A&color=0EA5A3&logo=npm&logoColor=white" alt="npm downloads" /></a> <a href="LICENSE"><img src="https://img.shields.io/badge/LICENSE-MIT-22C55E?style=for-the-badge&labelColor=0F172A" alt="License MIT" /></a> <a href="https://wellness.delx.ai/connectors/air"><img src="https://img.shields.io/badge/SITE-wellness.delx.ai-0EA5A3?style=for-the-badge&labelColor=0F172A" alt="Site" /></a> </p>
<p align="center"> <a href="https://github.com/davidmosiah/wellness-air/stargazers"><img src="https://img.shields.io/github/stars/davidmosiah/wellness-air?style=for-the-badge&labelColor=0F172A&color=FBBF24&logo=github" alt="GitHub stars" /></a> <a href="https://modelcontextprotocol.io"><img src="https://img.shields.io/badge/BUILT_FOR-MCP-7C3AED?style=for-the-badge&labelColor=0F172A" alt="Built for MCP" /></a> <a href="https://github.com/davidmosiah/delx-wellness-hermes"><img src="https://img.shields.io/badge/HERMES-one--command_setup-10B981?style=for-the-badge&labelColor=0F172A" alt="Hermes one-command setup" /></a> <a href="https://github.com/davidmosiah/delx-wellness-openclaw"><img src="https://img.shields.io/badge/OPENCLAW-one--command_setup-FB923C?style=for-the-badge&labelColor=0F172A" alt="OpenClaw one-command setup" /></a> <a href="https://github.com/davidmosiah/delx-wellness"><img src="https://img.shields.io/badge/Delx_Wellness-Hub-10B981?style=for-the-badge&labelColor=0F172A&logoColor=white" alt="Delx Wellness Hub" /></a> </p>
<p align="center"> <strong>📡 Why this exists:</strong> your sleep / focus / training results are partly a <em>room-quality</em> problem. PM2.5 above 35, CO₂ above 1,000 ppm, low humidity — those wreck recovery and the agent can't see them. <code>wellness-air</code> gives any AI agent <strong>local-first</strong> environmental context to cross with WHOOP / Oura / Garmin / nourish. </p>
⚡ 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.
<!-- /delx-wellness header v2 -->
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
# 89 is a real, public AirGradient sensor (Prem Tinsulanonda School, Thailand).
# Swap in one near you from https://www.airgradient.com/map/ — copy the numeric
# locationId from the URL.
WELLNESS_AIR_DEFAULT_LOCATION=89 npx -y wellness-air doctor
WELLNESS_AIR_DEFAULT_LOCATION=89 npx -y wellness-air current
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
{
"mcpServers": {
"wellness-air": {
"command": "npx",
"args": ["-y", "wellness-air"],
"env": {
"WELLNESS_AIR_DEFAULT_PROVIDER": "airgradient",
"WELLNESS_AIR_DEFAULT_LOCATION": "89"
}
}
}
}
Reload your client. The agent now has 19 air-quality tools.
Tools (19 total)
| Tool | Purpose |
|---|---|
air_agent_manifest |
Runtime contract: tool list, supported clients, env vars, recommended first calls |
air_capabilities |
Supported providers, configured providers, available metrics, privacy modes |
air_connection_status |
Health check + warnings the agent should surface |
air_privacy_audit |
What is logged locally vs sent to providers |
air_data_inventory |
Metric catalog + AQI band thresholds |
air_current_reading |
Latest sensor reading (PM2.5, CO₂, AQI, temp, humidity) |
air_list_devices |
List devices on an authenticated provider account (AirThings) |
air_aqi_check |
Fast 'is the air OK?' answer with band + recommendation |
air_daily_summary |
Synthesized daily snapshot |
air_compare_locations |
Compare AQI across 2-10 locations |
air_search_public_sensors |
Discovery helper for AirGradient public map |
air_quickstart |
Personalized 3-step setup walkthrough based on current env state |
air_profile_get |
Read the shared Delx Wellness profile (location, sensitivities, units) |
air_profile_update |
Persist a non-secret patch to the shared wellness profile (explicit intent required) |
air_onboarding |
11-question onboarding flow for the shared wellness profile |
air_demo |
Realistic example payloads — preview output before configuring anything |
air_health_recommendation |
PM2.5/CO₂/VOC → WHO/EPA bands + plain-language actions |
air_health_bands |
Classify PM2.5/PM10/CO₂/VOC into WHO 2021 / EPA / ASHRAE / UBA bands + citations |
air_trend |
Windowed trend analysis (mean/median/rate-of-change/peaks) for PM2.5/CO₂/VOC |
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.
WHOOP recovery 47 + wellness-air AQI 132 (unhealthy_sensitive)
↓ ↓
Coach: "Recovery's low AND the bedroom AQI was unhealthy last night.
Skip outdoor cardio today — try mobility + low-intensity strength indoors with HEPA running."
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
- 📨 support@delx.ai — general questions, integration help, partnerships
- 🐛 Bug reports / feature requests — GitHub Issues
- 🐦 Updates — @delx369 on X
- 🌐 Site — wellness.delx.ai
License
MIT — see LICENSE.
<sub>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.</sub>
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。