Hong Kong Government Data MCP Server
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
- Clone this repository
- Install Python dependencies:
pip install -r requirements.txt
- 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:
- 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
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file hkopenai_hk_city_mcp_server-0.1.8.tar.gz.
File metadata
- Download URL: hkopenai_hk_city_mcp_server-0.1.8.tar.gz
- Upload date:
- Size: 5.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.1.0 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2b10f3614ecc331416c8869ffb2b064d211e1bfb86edd5abdd51c722dd7037c2
|
|
| MD5 |
c0c2c570e6fd72fed9773f1ba562139d
|
|
| BLAKE2b-256 |
9f1b6dc1779149388dd13027589e00783d716b51e4ef42c9f5a4e064188eea79
|