Skip to content

feat: add maps_air_quality tool#48

Open
cablate wants to merge 1 commit intomainfrom
feat/air-quality
Open

feat: add maps_air_quality tool#48
cablate wants to merge 1 commit intomainfrom
feat/air-quality

Conversation

@cablate
Copy link
Owner

@cablate cablate commented Mar 16, 2026

Summary

  • New maps_air_quality tool — AQI index, pollutant concentrations, and health recommendations by demographic group
  • Global coverage including Japan (unlike Weather API)
  • 7 demographic health recommendations: general, elderly, lung disease, heart disease, athletes, pregnant women, children
  • Optional individual pollutant data: PM2.5, PM10, NO2, O3, CO, SO2
  • All 9 files synced per Tool Change Checklist (13 → 14 tools)

API

  • Endpoint: POST https://airquality.googleapis.com/v1/currentConditions:lookup
  • Price: $0.005/request ($5/1000 calls)
  • Prerequisite: Enable Air Quality API in Google Cloud Console

Test evidence

exec air-quality '{"latitude":35.6762,"longitude":139.6503}' → AQI 75 "Good" (Tokyo)
exec air-quality '{"latitude":37.422,"longitude":-122.0841}' → AQI 87 "Excellent" (Mountain View)
exec air-quality '{"latitude":35.6762,"longitude":139.6503,"includePollutants":true}' → 6 pollutants returned

Test plan

  • npm run build passes
  • exec air-quality returns valid AQI data
  • smoke test expectedTools includes maps_air_quality
  • README tool count updated to 14
  • SKILL.md Tool Map includes air-quality

🤖 Generated with Claude Code

…ions (#P0)

- New tool: maps_air_quality with universal AQI + local index (EPA, AEROS, etc.)
- 7 demographic health recommendations (elderly, children, athletes, pregnant, etc.)
- Optional pollutant concentrations (PM2.5, PM10, NO2, O3, CO, SO2)
- Global coverage including Japan (unlike weather API)
- All 9 files synced per Tool Change Checklist (13 → 14 tools)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant