wellness-air
v0.5.6Local-first air-quality MCP for AI agents — AirGradient, AirThings, PurpleAir, IQAir, Awair.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
air_agent_manifest Air agent manifest
Returns the wellness-air agent manifest: tool list, supported clients, env vars, recommended first calls, capabilities, privacy posture, and community links.
| Parameter | Type | Description |
|---|---|---|
client | string | Optional client name for tailored manifest hints. |
air_capabilities Air capabilities
Lists supported providers, configured providers (via env vars), available metrics, and privacy modes.
air_connection_status Air connection status
Reports which providers are configured, which is the default, and any warnings the agent should surface to the user.
air_privacy_audit Air privacy audit
Returns what wellness-air stores locally, what it sends to providers, what it never logs, and agent rules.
air_data_inventory Air data inventory
Returns the inventory of air-quality metrics this connector exposes plus per-provider availability hints (no remote calls).
air_current_reading Air current reading
Fetches the most recent air-quality reading for a location. Defaults to the AirGradient public sensor at WELLNESS_AIR_DEFAULT_LOCATION (or pass locationId).
| Parameter | Type | Description |
|---|---|---|
locationId | string | Provider-specific location identifier. |
provider | string | Provider to query. Defaults to airgradient. |
air_list_devices Air list devices
Lists devices owned by the configured provider account. v0.3 supports AirThings (requires AIRTHINGS_CLIENT_ID/SECRET). For AirGradient owned sensors use air_search_public_sensors instead.
| Parameter | Type | Description |
|---|---|---|
provider | string |
air_aqi_check Air AQI check
Returns just the AQI number + band for the configured location. Use for fast 'is the air OK to go outside?' prompts.
| Parameter | Type | Description |
|---|---|---|
locationId | string |
air_daily_summary Air daily summary
Returns a synthesized daily snapshot for a location. v0.1 returns the current reading framed as a daily snapshot; richer multi-hour aggregation arrives in v0.2.
| Parameter | Type | Description |
|---|---|---|
date | string | YYYY-MM-DD; defaults to today (local timezone). |
locationId | string |
air_compare_locations Air compare locations
Compare current readings across multiple location IDs (default: AirGradient public sensors).
| Parameter | Type | Description |
|---|---|---|
locationIds * | array | Two to ten provider-specific location identifiers. |
air_search_public_sensors Air search public sensors
Helper for discovering AirGradient public sensors. Returns a curated list of well-maintained public sensors plus a hint to the AirGradient map for finding more.
| Parameter | Type | Description |
|---|---|---|
query | string | Free-text city / region hint for the human. |
air_quickstart Air quickstart
Returns a personalized 3-step setup walkthrough for the human based on the current agent/env state. Call this first when the user asks 'how do I use this?'
| Parameter | Type | Description |
|---|---|---|
client | string |
air_profile_get Air profile get
Returns the shared Delx Wellness profile (~/.delx-wellness/profile.json). Read-only. Surfaces the user's preferred location, sensitivity flags (asthma, etc.), and units so wellness-air can choose tighter AQI thresholds.
air_profile_update Air profile update
Persist a partial patch to the shared Delx Wellness profile. Requires explicit_user_intent: true. Rejects any field containing oauth/token/secret/password/cookie/refresh/api_key/session — the profile is for non-secret wellness context only.
| Parameter | Type | Description |
|---|---|---|
patch * | object | Partial WellnessProfileDocument patch. Top-level keys: profile, goals, devices, training, nutrition, preferences, safety, notes. |
explicit_user_intent | boolean | Must be true. Pass only after the user explicitly asked to save/update profile data. |
air_onboarding Air onboarding
Returns the 11-question onboarding flow for the shared Delx Wellness profile. Read-only. The agent should ask these questions next so wellness-air (and the rest of the wellness stack) can personalize responses — non-secret data only, stored at ~/.delx-wellness/profile.json.
| Parameter | Type | Description |
|---|---|---|
locale | string | Onboarding locale. Defaults to en. |
air_demo Air demo
Returns a realistic example payload of what air_current_reading + air_daily_summary look like in practice. Use this to help users understand what the connector will return BEFORE they configure anything.
air_health_recommendation Air health recommendation
Quick PM2.5-centric health recommendation. Pass current PM2.5 (µg/m³) and optionally CO2 (ppm) and VOC index; returns WHO/EPA-aligned bands per pollutant, the overall worst band, and a deduplicated list of plain-language actions. Use this when you have a reading already and just want a 'what should I do?' answer. For richer four-pollutant classification with full source citations use air_health_bands.
| Parameter | Type | Description |
|---|---|---|
pm25_ug_m3 * | number | Required. PM2.5 concentration in micrograms per cubic meter. |
co2_ppm | number | Optional. CO2 concentration in parts per million. |
response_format | string | Output shape. Defaults to json. |
voc_index | number | Optional. VOC index (sensor-reported 0-500 style). |
air_health_bands Air health bands
Classify PM2.5, PM10, CO2, and VOC readings into WHO 2021 / EPA / ASHRAE / UBA health bands. Pass readings directly, or omit them and the tool will fetch the current reading from the default provider (PM2.5, PM10, CO2, VOC where available). Returns per-pollutant band + the worst signal across pollutants + deduplicated recommended actions + source citations.
| Parameter | Type | Description |
|---|---|---|
co2 | number | CO2 in ppm. If omitted, pulled from air_current_reading. |
locationId | string | Provider-specific location id for fetch fallback. |
pm10 | number | PM10 in µg/m³. If omitted, pulled from air_current_reading. |
pm25 | number | PM2.5 in µg/m³. If omitted, pulled from air_current_reading. |
provider | string | Provider for fetch fallback. Defaults to airgradient. |
voc | number | tVOC in ppb. If omitted, pulled from air_current_reading.tvoc when present. |
air_trend Air trend
Windowed trend analysis for PM2.5 / CO2 / VOC. Pulls past measurements from AirGradient (public or owned) and returns per-pollutant mean / median / min / max / current / rate_of_change_per_hour / peak_at / trough_at / time_above_threshold_minutes plus an optional natural-language observation (only when the data supports one). Pass `pollutant: 'all'` (default) for an array of per-pollutant trends plus `worst_pollutant` per current WHO/ASHRAE bands. Use this for 'is PM2.5 climbing?' / 'was CO2 stable overnight?' / 'when did VOC spike?' kinds of questions.
| Parameter | Type | Description |
|---|---|---|
hours | number | Analysis window in hours (1-168, default 24). |
locationId | string | AirGradient locationId. Falls back to WELLNESS_AIR_DEFAULT_LOCATION. |
pollutant | string | Pollutant to analyze. Default 'all'. |
response_format | string | Output shape. Defaults to json. |