Get Air Quality
get_air_qualityGet air quality information for a specified city including PM2.5, PM10, ozone, nitrogen dioxide, carbon monoxide, and other pollutants. Provides health advisories based on current air quality levels.
When to Use
Use this tool when you need to get air quality information for a specified city including pm2.5, pm10, ozone, nitrogen dioxide, carbon monoxide, and other pollutants. provides health advisories based on current air quality levels.. This is part of the Weather provider on xpay✦.
MCP Connection
Connect to xpay✦ to access this tool (and 7+ others):
{
"mcpServers": {
"xpay": {
"url": "https://mcp.xpay.sh/mcp?key=YOUR_API_KEY"
}
}
}
For Claude Code:
claude mcp add --transport http xpay "https://mcp.xpay.sh/mcp?key=YOUR_API_KEY"
How to Execute
Use the xpay✦ meta-tools to run this tool:
xpay_details— Get full input schema:xpay_details("weather/get_air_quality")xpay_run— Execute:xpay_run("weather/get_air_quality", { ...inputs })
Input Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
city | string | Yes | The name of the city to fetch air quality information for, PLEASE NOTE English name only, if the parameter city isn't English please translate to English before invoking this function. |
variables | array | No | Air quality variables to retrieve. If not specified, defaults to pm10, pm2_5, ozone, nitrogen_dioxide, and carbon_monoxide. |
Pricing
- Cost: $0.01/call
- Balance check: Use
xpay_balanceto check remaining credits - Get your API key at xpay.tools — $5 free credits included
Related Skills
- Weather (all tools) — 8 tools
- Get Current Weather — $0.01/call
- Get Weather ByDateTimeRange — $0.01/call
- Get Weather Details — $0.01/call
- Get Current Datetime — $0.01/call
- Get Timezone Info — $0.01/call
Links
- Tool page: https://xpay.tools/weather/get-air-quality/
- Provider: https://xpay.tools/weather/
- All tools: https://xpay.tools/explore
How to Execute
Input Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
city | string | Yes | The name of the city to fetch air quality information for, PLEASE NOTE English name only, if the parameter city isn't English please translate to English before invoking this function. |
variables | array | No | Air quality variables to retrieve. If not specified, defaults to pm10, pm2_5, ozone, nitrogen_dioxide, and carbon_monoxide. |
Install Skill
Pricing
Cost
$0.01/call
Model
Flat rate
Provider
Weather

