Overview
What is mcp-server-taiwan-aqi?
mcp-server-taiwan-aqi is an MCP server that retrieves current and past 24 hour air quality monitoring station data for Taiwan (R.O.C). It is intended for users of Claude Desktop who need access to real-time or historical air quality information.
How to use mcp-server-taiwan-aqi?
Install PHP 8.2.x, download the packaged server file, and extract it. Modify claude_desktop_config.json with the command "php" and arguments pointing to client.php along with your API key. Restart Claude Desktop; three tools will appear: aqi-health-guidance, aqi-query, and aqi-query-recent.
Key features of mcp-server-taiwan-aqi
- Retrieves current air quality data for Taiwan stations
- Retrieves past 24 hours of air quality data
- Provides health guidance based on AQI
- Query specific station data
- Query recent station data
Use cases of mcp-server-taiwan-aqi
- Check real-time air quality before outdoor activities in Taiwan
- Review the past day’s air quality trends at a specific monitoring station
- Obtain health recommendations based on current AQI levels
FAQ from mcp-server-taiwan-aqi
What PHP version is required?
PHP 8.2.x is required.
How do I configure the server in Claude Desktop?
Add an entry to claude_desktop_config.json with command "php" and arguments pointing to the extracted client.php file and your API key (e.g., "D:\\[YOUR_PATH_FOLDER]\\client.php", "api_key=YOUR_API_KEY").
What tools does the server provide?
It provides three tools: aqi-health-guidance, aqi-query, and aqi-query-recent.
What data does the server return?
It returns current and past 24 hours of air quality monitoring station data for Taiwan.
Is an API key required?
Yes, you must provide an API key as a command-line argument when configuring the server.