Skip to main content

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

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 app.py
    

Running Options

  • Default stdio mode: python app.py
  • SSE mode (port 8000): python app.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

Metadata

Release files for hkopenai.hk-city-mcp-server 0.1.8

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for hkopenai.hk-city-mcp-server 0.1.8
File Size Uploaded
hkopenai_hk_city_mcp_server-0.1.8.tar.gz 5.3 kB Details

Release files / hkopenai_hk_city_mcp_server-0.1.8.tar.gz

Download URL hkopenai_hk_city_mcp_server-0.1.8.tar.gz
Size 5.3 kB
Tags Source
SHA-256 checksum
How to use checksums
2b10f3614ecc331416c8869ffb2b064d211e1bfb86edd5abdd51c722dd7037c2
BLAKE2b-256 checksum
How to use checksums
9f1b6dc1779149388dd13027589e00783d716b51e4ef42c9f5a4e064188eea79
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.11.9

Release history Release notifications | RSS feed

This release

0.1.8 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page