Get air quality
get_air_qualityAir quality index (AQI) readings at monitoring stations with the main pollutant, PM2.5, PM10 and ozone, county summaries with the change over 24 hours, and air quality forecasts. Data comes from CubeLV's Taiwan open data service (https://cubelv.com/en/mcp/taiwan-weather/): each call names a method and passes its arguments in args.
Methods:
airQuality (Air quality index in Taiwan): Hourly air quality index (AQI) from the Ministry of Environment for each monitoring station: level, main pollutant, PM2.5, PM10, ozone and other concentrations, activity advice and the change from 24 hours earlier. Also county summaries: average AQI, level, the worst station and the change from 24 hours earlier. Args: location: County, district (narrowed to its county) or monitoring station name. Taiwan county or city, optionally with a district or township, in Traditional or Simplified Chinese, English (Taipei, Xinyi District, Taipei City), Japanese, Korean or Vietnamese. Unknown names return 404 with the closest matches. Omit for all stations.
airQualityForecast (Air quality forecast for Taiwan): Latest air quality forecast from the Ministry of Environment for each air quality area: AQI, level and main pollutants for the coming days (whole day, and morning and afternoon for today), with the forecast text in Chinese. Args: area: Air quality area (Northern, Hsinchu-Miaoli, Central, Yunlin-Chiayi-Tainan, Kaohsiung-Pingtung, Yilan, Hualien-Taitung, Penghu, Kinmen, Matsu, or the Chinese names), or a county or district to use its area. Omit for all areas.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"method": "<method>"
},
"name": "get_air_quality"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | No | Arguments of the method, as listed in the tool description | |
| lang | No | Language for data labels (industries, statement items, categories) and links: en, ja, ko or vi; default en | |
| method | Yes | Method from the list in the tool description | |
| offset | No | Position in the longest list of the response to start from. A response whose list is longer than fits carries page.nextOffset for the next part; default 0 |