Skip to main content
Glama
hkopenai

Hong Kong Government Data MCP Server

by hkopenai

Hong Kong Government Data MCP Server

GitHub Repository License: MIT

This is an MCP server that provides access to government city data through a FastMCP interface.

Features

Ambulance Service Indicators

  • Get monthly ambulance service indicators (emergency calls, hospital transfers, etc.)

  • Filter by year range

Related MCP server: Hong Kong Food Data MCP Server

Data Sources

  • Ambulance service data from Fire Services Department

Examples

  • Get ambulance service indicators for 2019-2020 in Hong Kong

Setup

  1. Clone this repository

  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-city": {
    "disabled": false,
    "timeout": 3,
    "type": "stdio",
    "command": "uvx",
    "args": [
      "hkopenai.hk-city-mcp-server"
    ]
  }
}

Testing

Tests are available in the tests/ directory. Run with:

pytest

Related MCP Connectors

Related MCP Servers