IQAir MCP 与 API 接入

数据供应商鉴权:api_key5 个按次计费 API$0.0006 / 次起

全球城市与监测站的实时空气质量指数、主要污染物、天气与城市排名。

直接接入 IQAir

独立订阅套餐与分散密钥

  • 单独付费与每月最低消费门槛
  • 明文 API 密钥散落在每台开发机
  • 需要额外维护一套供应商适配代码
在 Duang 上使用 IQAir

按次计费($0.0006 起),零月费订阅

  • 一份美元余额调用全部 5 个托管接口
  • 新团队赠 $1 免费额度 · 失败调用收费 $0
  • 也可绑定自有 IQAir 密钥 · 密钥永不进大模型
发给 Agent 对话直接发给 Claude Code、OpenClaw、OpenCode、Grok Bot、Antigravity、Hermes 或 Pi

Read https://duang.ai/SKILL.md and use duang to run air.quality.current.

由 IQAir 提供支持的标准化数据接口(1)

可以让智能体这样提问

“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 · 记录于 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 · 记录于 2026-11-20T07:14:26.584Z

全部操作(9)

操作价格
GET api.airvisual.com/v2/countries

The countries that have a station, by their English names.

$0.0006
GET api.airvisual.com/v2/states

The states of a country that have a station.

$0.0006
GET api.airvisual.com/v2/cities

The cities of a state that have a station.

$0.0006
GET api.airvisual.com/v2/stations

The active monitoring stations of a city.

自备 Key
GET api.airvisual.com/v2/city

The air quality and the weather of a city.

$0.0006
GET api.airvisual.com/v2/nearest_city

The air quality and the weather of the city nearest to coordinates.

$0.0006
GET api.airvisual.com/v2/station

The air quality and the weather at one monitoring station.

自备 Key
GET api.airvisual.com/v2/nearest_station

The air quality and the weather at the station nearest to coordinates.

自备 Key
GET api.airvisual.com/v2/city_ranking

The major cities of the world, from the worst air to the best.

自备 Key

常见问题

如何在 Claude Code 或 Cursor 中接入 IQAir?

通过 Duang 远程 MCP 网关(https://api.duang.ai/mcp)一键连接,即可让 AI Agent 调用 IQAir 全部 9 个操作,无需本地维护 MCP 插件或明文密钥。

调用 IQAir 的数据接口如何计费?

支持按次精确美元计费(新团队赠 $1 免费额度,上游失败调用收费 $0),也可在团队金库绑定自有 IQAir 密钥。

我的 IQAir 密钥会暴露给大模型吗?

不会。密钥仅在 Duang 服务端出站请求时解密注入,本地配置文件与大模型上下文中均不包含明文密钥。

相关数据供应商