Atmy air quality

ai.atmy由 atmy.ai 发布官方发布者v1.1.0更新于 Oct 29, 2026

PM2.5 of 300+ cities: now, history, forecast, rankings; 12 000 sensors with a quality rating.

已验证Streamable HTTP可网页运行位置与生活数据与分析

概览

AI 生成的概览

Atmy 空气质量让助手获取 300 多个城市和 12000 个传感器的 PM2.5 数据:当前值、2017 年以来的历史、排名与天气背景。

可以做什么
  • 按任意语言的城市名、国家、slug 或坐标查找城市,并列出传感器网络及其传感器数量与许可。
  • 读取当前 PM2.5 及其美国 EPA 等级和当前天气,以及 2017 年以来的逐日历史或含年度均值与纪录月份的逐月历史。
  • 获取城市未来数小时的天气和污染累积指数。
  • 按当日 PM2.5 对国家内城市排名,可最脏或最干净优先。
  • 查看单个传感器的质量评级与原因,并获取原始、5 分钟、每小时或每日读数。
  • 对最多 100 个传感器按 5 分钟、小时或 UTC 日求平均。
适用场景
适合助手回答某城市空气污染情况、比较城市或国家、查看长期趋势,或用天气解释读数。也适合在采信某个数值前核查单个传感器的可靠性。
运行要求
可作为 api.atmy.ai 上的远程端点通过 streamable HTTP 使用,也可作为本地 npm 包 atmy-mcp 通过 stdio 运行。未声明需要认证、环境变量或请求头。
安装前请注意
数值为近似值,汇总自公民、实验性和政府传感器,并非官方监测。传感器读数为设备原始值,应结合每个传感器的质量检查与评级一起看。预报是天气估计,不是 PM2.5 预报。服务器要求在使用数据时注明 Atmy、城市页面、天气提供方以及传感器网络及其许可。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Atmy air quality,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。

交给智能体安装

把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。

阅读 https://sourceweft.com/mcp/ai.atmy%2Fair-quality/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。

查看智能体所依据的安装指南

其他 MCP 客户端

把它添加到你客户端的 mcpServers 配置中。

{
  "mcpServers": {
    "atmy-air-quality": {
      "type": "http",
      "url": "https://api.atmy.ai/mcp"
    }
  }
}

工具

11

search_cities

Search cities

Find the cities with an Atmy air-quality summary by name (any language) or country. Returns slugs to pass to the other tools.

输入参数langlimitquerycountry

get_air_quality

Current air quality

PM2.5 now in a city (mean of the latest reading of each eligible sensor, at most 60 minutes old) with its US EPA category and the weather now (temperature, humidity, pressure, wind, clouds, precipitation), plus the last completed day from the Atmy Data Hub with its weather. Pass city or lat/lon.

输入参数latloncitylangcountry

get_air_quality_history

Daily air quality history

Daily PM2.5 of a city from the Atmy Data Hub (UTC days, sensors after the quality check) with the day's weather from 2026-01-19 (mean, lowest and highest temperature, humidity, pressure, wind, strongest gust, clouds): the last days, or any period since 2017 with from/to, at most 400 days per call. For the whole history or records use get_air_quality_monthly first.

输入参数tolatloncitydaysfromlangcountry

get_air_quality_monthly

Monthly air quality history

The whole measurement history of a city from the Atmy Data Hub: PM2.5 per month with the month's weather from 2026-01, yearly means (complete years marked), the dirtiest and cleanest months and days. For questions like "how has the air changed" or "the most polluted month on record".

输入参数latloncitylangcountry

get_city_forecast

Weather and pollution accumulation forecast

The next hours of a city: temperature, wind, humidity, precipitation and the pollution accumulation index 0–100 (how strongly the weather keeps particles near the ground). A weather estimate, not a PM2.5 forecast.

输入参数latloncitylanghourscountry

get_country_ranking

Country ranking

Cities of a country ranked by daily PM2.5 for the last completed day (Atmy Data Hub), most polluted or cleanest first.

输入参数langlimitordercountry必填settlements

list_sensor_networks

Sensor networks

The sensor networks in Atmy (Sensor.Community, AirGradient, Atmy) with their number of sensors, how many pass the quality check, and their license.

无需输入参数。

find_sensors

Find sensors

Single sensors with their latest reading (PM1, PM2.5, PM10, temperature, humidity, pressure), network and quality check: status, rating 0–10 of the last checked day, the mean rating of the last 7 days and the reasons. Filter by city, country, or a point with a radius; sort=rating puts the most reliable sensors first.

输入参数latloncitypagesortlimitcountrynetworkqualityradius_kmmin_rating

get_sensor

One sensor

One sensor by its id: location, network, license, quality check with rating and reasons, and the latest reading.

输入参数id必填

get_sensor_readings

Sensor readings

Readings of one sensor: raw (the last 31 days, at most 7 days a call), 5-minute means (the same windows), hourly means (the last 366 days, at most 92 days a call) or daily means (UTC days of the last 366 days, with the quality check of each day). Default: the last 24 hours, or 30 days by day. Times are UTC.

输入参数id必填tofrominterval

get_sensors_average

Mean of a group of sensors

The mean of up to 100 sensors per 5 minutes, hour or UTC day, each sensor counted once per bucket, with the number of sensors in each bucket. Windows as in get_sensor_readings; by day at most 92 days a call.

输入参数toids必填frominterval

版本历史

3
  1. v1.1.0最新Oct 29, 2026
  2. v1.0.1Oct 23, 2026
  3. v1.0.0Oct 23, 2026

评分

已满足适用检查项的 75%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通必需25 分
  • 已声明认证方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 图标10 分
  • 文档15 分

    请声明包含 README 的 GitHub 仓库,或在 OAuth 受保护资源元数据中提供 resource_documentation。

  • 许可证10 分

    请在仓库或注册中心条目中声明许可证。