Skip to main content
Glama
hkopenai

Hong Kong Government Environment MCP Server

by hkopenai

Hong Kong Government Environment MCP Server

GitHub Repository License: MIT

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

  1. Clone this repository to your local machine.

  2. Install Python dependencies:

    pip install -r requirements.txt
  3. Run the server:

    python server.py

Running Options

  • Default stdio mode: python server.py

  • SSE mode (port 8000): python server.py --sse

Cline Integration

To connect this MCP server to Cline using stdio:

  1. 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:

pytest
A
license - permissive license
-
quality - not tested
D
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    A
    quality
    C
    maintenance
    Enables 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.
    8
    5
    MIT
  • A
    license
    B
    quality
    D
    maintenance
    Provides access to Hong Kong Observatory weather data APIs, enabling retrieval of forecasts, earthquake info, tide data, and more via natural language.
    20
    2
    MIT

View all related MCP servers

Related MCP Connectors

  • Air Quality MCP — wraps air-quality-api.open-meteo.com (free, no auth)

  • Hong Kong Census and Statistics Department (C&SD) open-data MCP.

  • Find air-quality stations and read pollutant observations from government monitors via OpenAQ v3.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/hkopenai/hk-environment-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server