china_air_quality

Pack: china-air-quality · Connect: https://pipeworx.io/mcp (see Connect below for a single-pack URL)

No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/china_air_quality for the schema, then POST the same URL with its arguments for the data.

Real-time air quality (空气质量) for a Chinese city — AQI, pollutant levels and concentrations (PM2.5, PM10, O3, NO2, SO2, CO), quality rating, primary pollutant and station count. Accepts an English city name (“Beijing”, “Shanghai”), a province name (“Guangdong” resolves to Guangzhou), or the Chinese name (“北京市”). Answers “what is the air quality in Beijing right now”, “is Shanghai’s air safe today”, “PM2.5 in Chengdu”. Sourced from China National Environmental Monitoring Centre (中国环境监测总站), refreshed hourly.

Parameters

NameTypeRequiredDescription
citystringyesCity or province name, English or Chinese, e.g. “Beijing”, “beijing”, “北京市”, “Guangdong”.

Example call

Arguments

{
  "city": "Beijing"
}

curl

curl -X POST https://gateway.pipeworx.io/china-air-quality/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"china_air_quality","arguments":{"city":"Beijing"}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('china_air_quality', {
  "city": "Beijing"
});

More examples

{
  "city": "北京市"
}
{
  "city": "Chengdu"
}

Connect

Add this to your MCP client config — every tool in the catalog, including this one — or use one-click install buttons:

{
  "mcpServers": {
    "pipeworx": {
      "url": "https://pipeworx.io/mcp"
    }
  }
}
Connect to just the china-air-quality pack
{
  "mcpServers": {
    "china-air-quality": {
      "url": "https://gateway.pipeworx.io/china-air-quality/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build October 22, 2026