Air Quality MCP
Free, keyless real-time air quality (US AQI plus PM2.5, PM10, ozone, NO2, SO2, CO) for any city.
我该使用它吗
质量与安全性
基于对工具定义和协议合规性的自动分析。
上下文开销
这是每次将服务器的工具加载到模型上下文窗口时所消耗的大致 token 数。数值越高,可用于其他任务的注意力就越少。
安装
一键安装
将以下内容添加到你的 `claude_desktop_config.json` 文件中:
{
"mcpServers": {
"air-quality-mcp": {
"url": "https://ads.getlulu.dev/air-quality/mcp"
}
}
}远程端点
https://ads.getlulu.dev/air-quality/mcpstreamable-http它能做什么
工具清单
工具(1)
🟢get_air_quality(city)
Get the current air quality for a city, from real-time monitoring and atmospheric model data. Use for any "what's the air quality in X", "is it safe to go outside in Y", "how polluted is Z" style question, or whenever pollen/smog/wildfire-smoke/pollution conditions are relevant to a plan (running, cycling, sensitive-groups advice, travel). `city` is a free-text place name (e.g. "Bangkok", "Berlin", "Springfield, US"). Returns a dict with: - `location`: resolved place name/country/admin1 - `us_aqi`: the current US Air Quality Index (0-500+) - `aqi_category`: plain-language category computed from `us_aqi` -- "Good" (0-50), "Moderate" (51-100), "Unhealthy for Sensitive Groups" (101-150), "Unhealthy" (151-200), "Very Unhealthy" (201-300), or "Hazardous" (301+); "Unknown" if no AQI could be resolved for that location - `pm2_5`, `pm10`: particulate matter concentrations (ug/m3) - `ozone`, `nitrogen_dioxide`, `sulphur_dioxide`, `carbon_monoxide`: trace gas concentrations (ug/m3) - `local_time`: the timestamp of the reading, in the location's local time - `attribution`
输入模式
{
"type": "object",
"properties": {
"city": {
"type": "string"
}
},
"required": [
"city"
],
"additionalProperties": false
}输出模式
{
"type": "object",
"additionalProperties": true
}社区
证据