Hong Kong transportation MCP Server providing transportation data tools
Project description
Hong Kong transportation Data MCP Server
This is an MCP server that provides access to transportation related data in Hong Kong through a FastMCP interface.
Features
- Get daily passenger traffic statistics at Hong Kong control points
- Filter data by date ranges
- Breakdown statistics by visitor types (Hong Kong Residents, Mainland Visitors, Other Visitors)
Data Source
- Passenger traffic data from Hong Kong Immigration Department
Examples
- How many hong kong arrival yesterday through high speed railway.
Data Source
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-transportation": {
"disabled": false,
"timeout": 3,
"type": "stdio",
"command": "uvx",
"args": [
"hkopenai.hk-transportation-mcp-server"
]
}
}
Testing
Tests are available in the tests/ directory. Run with:
pytest
Project details
Release history Release notifications | RSS feed
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_transportation_mcp_server-0.1.7.tar.gz.
File metadata
- Download URL: hkopenai_hk_transportation_mcp_server-0.1.7.tar.gz
- Upload date:
- Size: 6.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
27efbc83a7879b59b574161ae8a98eeae1505cb3fbc2a011e182521733e09fc7
|
|
| MD5 |
c4989aa37b36e7c4583083c70edad7e1
|
|
| BLAKE2b-256 |
8b3d28016e716dca5dac763179be0e408ba71918b3a5343c9d5091835cde32eb
|