Hong Kong Government Environment MCP Server
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Hong Kong Government Environment MCP Server What's the current Air Quality Health Index in Hong Kong?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Hong Kong Government Environment MCP Server
This is an MCP server that provides access to Hong Kong government environment data through a FastMCP interface.
Features
Air Quality Health Index (AQHI): Retrieve current AQHI data from general and roadside air quality monitoring stations across Hong Kong. The AQHI is reported on a scale of 1 to 10 and 10+, grouped into five health risk categories with corresponding health advice.
Related MCP server: mcp-hko
Data Source
Hong Kong Environmental Protection Department (EPD): For AQHI and other environmental data.
Prompt Examples
Here are some example prompts you can use to interact with this MCP server through Cline or other compatible interfaces:
AQHI Data: "What is the current Air Quality Health Index in Hong Kong?"
Setup
Clone this repository to your local machine.
Install Python dependencies:
pip install -r requirements.txtRun the server:
python server.py
Running Options
Default stdio mode:
python server.pySSE mode (port 8000):
python server.py --sse
Cline Integration
To connect this MCP server to Cline using stdio:
Add this configuration to your Cline MCP settings (cline_mcp_settings.json):
{
"hk-environment": {
"disabled": false,
"timeout": 3,
"type": "stdio",
"command": "uvx",
"args": [
"hkopenai.hk-environment-mcp-server"
]
}
}This configuration allows Cline to communicate with the server and utilize its tools for data retrieval.
Testing
Tests are available in the tests/ directory. Run with:
pytestAvailable Tools
1 toolget_current_aqhiGet Current AqhiA
Current Air Quality Health Index (AQHI) at individual general and roadside Air Quality Monitoring stations in Hong Kong. The AQHIs are reported on a scale of 1 to 10 and 10+ and are grouped into five AQHI health risk categories with health advice provided.
Inputs: no named parameters. Returns: result
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 1 tool
With only a single tool, there is no possibility of confusion between tools. The tool's purpose is clearly scoped to retrieving the current AQHI.
The lone tool name follows a clear verb_noun pattern: get_current_aqhi. There is no other tool to create inconsistency.
The server presents itself as a general environment MCP for Hong Kong, yet it exposes only one tool for air quality. This is too few for the apparent scope, making the server feel extremely thin.
Only current AQHI readings are provided, with no historical data, forecasts, or coverage of other environmental domains. The surface is severely incomplete for an environment-focused server.
Maintenance
Related MCP Connectors
Access UK air quality data, monitoring sites, and hourly pollutant measurements across regions
Unofficial Air Quality MCP — wraps air-quality-api.open-meteo.com (free, no auth)
Free, keyless real-time air quality (US AQI plus PM2.5, PM10, ozone, NO2, SO2, CO) for any city.
Access UK flood warnings, river levels, water quality, Met Office forecasts, and carbon data
Related MCP Servers
- AlicenseAqualityDmaintenanceEnables access to Hong Kong government's official open data portal (DATA.GOV.HK) through natural language queries. Supports searching datasets, browsing categories, and retrieving detailed information about Hong Kong's public data resources.89MIT
- AlicenseBqualityDmaintenanceProvides access to Hong Kong Observatory weather data APIs, enabling retrieval of forecasts, earthquake info, tide data, and more via natural language.202MIT
- AlicenseBqualityCmaintenanceProvides access to Hong Kong climate and weather data from the Hong Kong Observatory, including current conditions, forecasts, warnings, tides, and more.1968 PyPI7MIT
- FlicenseNot gradedqualityDmaintenanceProvides tools to access Hong Kong Observatory open data, including weather forecasts, earthquake reports, climate datasets, lunar date conversion, and hourly rainfall.-