
IQAir MCP Server & Pay-Per-Call API
Use IQAir in Claude Code, Cursor, or any AI agent over one remote MCP endpoint or CLI without buying a separate monthly subscription. Access 5 pay-per-call APIs starting from $0.0006/call from one USD balance, or connect your own IQAir key.
Separate plan & scattered keys
- Separate billing & monthly minimums
- Plaintext API keys on every laptop
- Another vendor integration to maintain
Pay per call from $0.0006 — zero subscriptions
- Call 5 managed APIs from one USD balance
- Start with $1 free · failed calls cost $0
- Or connect your own IQAir key — zero keys in LLMs
Read https://duang.ai/SKILL.md and use duang to run air.quality.current.
Data APIs powered by IQAir (1)
What you can ask your agent
“How is the air quality and weather in Los Angeles right now?”
## Air quality & weather: Los Angeles, California | Metric | Reading | |---|---| | **US AQI** | **20** (Good · main pollutant `p2` / PM2.5) | | **China AQI** | **13** (main pollutant `p1` / PM10) | | **Temperature** | **15 °C** (heat index 15 °C) | | **Humidity & pressure** | **59%** · 1,009 hPa | | **Wind** | 2.5 m/s from 307° (NW) | Air quality in Los Angeles is **Good** (US AQI 20). Want me to check another city or look up the nearest monitoring city by coordinates?
get-city · recorded 2026-11-20T07:14:26.304Z“What is the air quality near Tokyo (35.6762, 139.6503)?”
## Nearest city reading: Sasazuka, Tokyo | Metric | Reading | |---|---| | **US AQI** | **56** (Moderate · main pollutant `p2` / PM2.5) | | **China AQI** | **17** (main pollutant `p2` / PM2.5) | | **Temperature** | **13 °C** (heat index 13 °C) | | **Humidity & pressure** | **26%** · 1,009 hPa | | **Wind** | 6.94 m/s from 281° (W) | Air quality near central Tokyo is **Moderate** (US AQI 56) with dry, breezy conditions. Want me to compare it with another city in Japan?
get-nearest-city · recorded 2026-11-20T07:14:26.584ZOperations (9)
| Operation | Data API | Price |
|---|---|---|
GET api.airvisual.com/v2/countriesThe countries that have a station, by their English names. | — | $0.0006 |
GET api.airvisual.com/v2/statesThe states of a country that have a station. | — | $0.0006 |
GET api.airvisual.com/v2/citiesThe cities of a state that have a station. | — | $0.0006 |
GET api.airvisual.com/v2/stationsThe active monitoring stations of a city. | — | Own key |
GET api.airvisual.com/v2/cityThe air quality and the weather of a city. | — | $0.0006 |
GET api.airvisual.com/v2/nearest_cityThe air quality and the weather of the city nearest to coordinates. | air.quality.current | $0.0006 |
GET api.airvisual.com/v2/stationThe air quality and the weather at one monitoring station. | — | Own key |
GET api.airvisual.com/v2/nearest_stationThe air quality and the weather at the station nearest to coordinates. | — | Own key |
GET api.airvisual.com/v2/city_rankingThe major cities of the world, from the worst air to the best. | — | Own key |
Frequently asked questions
Do I need my own IQAir subscription or API key?
No. You can call 5 managed IQAir operations directly from a prepaid Duang USD balance (from $10 via Stripe, starting at $0.0006/call) with no monthly vendor subscription. If you already pay for IQAir, you can also connect your own key.
How do I add IQAir to Claude Code or Cursor via MCP?
Add Duang's single remote MCP endpoint (https://api.duang.ai/mcp) or follow https://duang.ai/SKILL.md. Your agent discovers and invokes IQAir operations on demand without loading hundreds of unused schemas into context.
Am I charged if a IQAir API call fails?
No. Upstream supplier failures and Duang platform errors cost $0 on managed calls. Every successful call returns a receipt listing the exact supplier and USD amount charged.
