Skip to main content

Hong Kong City MCP Server providing city data tools

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

hkopenai_hk_city_mcp_server-0.1.8.tar.gz (5.3 kB view details)

Uploaded Source

File details

Details for the file hkopenai_hk_city_mcp_server-0.1.8.tar.gz.

File metadata

File hashes

Hashes for hkopenai_hk_city_mcp_server-0.1.8.tar.gz
Algorithm Hash digest
SHA256 2b10f3614ecc331416c8869ffb2b064d211e1bfb86edd5abdd51c722dd7037c2
MD5 c0c2c570e6fd72fed9773f1ba562139d
BLAKE2b-256 9f1b6dc1779149388dd13027589e00783d716b51e4ef42c9f5a4e064188eea79

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page