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
Passenger Traffic Statistics
- 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)
Real time Arrival Data of Kowloon Motor Bus and Long Win Bus Services
- Get all bus routes of Kowloon Motor Bus (KMB) and Long Win Bus Services. Filter by language (English, Traditional Chinese, Simplified Chinese)
Land Boundary Control Points Waiting Times
- Fetch current waiting times at land boundary control points in Hong Kong. Filter by language (English, Traditional Chinese, Simplified Chinese)
Data Source
- Passenger traffic data from Hong Kong Immigration Department
- Bus route data from Kowloon Motor Bus and Long Win Bus Services
Examples
- How many hong kong arrival yesterday through high speed railway.
- Get all KMB/LWB bus routes in Traditional Chinese.
- What are the current waiting times at Hong Kong land boundary control points?
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
Metadata
Release files for hkopenai.hk-transportation-mcp-server 0.2.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| hkopenai_hk_transportation_mcp_server-0.2.8.tar.gz | 11.3 kB | Without provenance | Details for hkopenai_hk_transportation_mcp_server-0.2.8.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| hkopenai_hk_transportation_mcp_server-0.2.8-py3-none-any.whl | Python 3 | none | any | Details for hkopenai_hk_transportation_mcp_server-0.2.8-py3-none-any.whl |
Total release size: 21.0 kB
Release files / hkopenai_hk_transportation_mcp_server-0.2.8.tar.gz
| Download URL | hkopenai_hk_transportation_mcp_server-0.2.8.tar.gz |
|---|---|
| Size | 11.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1e08df0b520019b354de633b1125798c81086170cb4c992ca9aea91b3186f223
|
|
BLAKE2b-256 checksum How to use checksums |
3cf4d262fb4c3a54fefdb6c884159e4ba8a6dd435334d40716a8bacaa05d90a4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.5
|
Release files / hkopenai_hk_transportation_mcp_server-0.2.8-py3-none-any.whl
| Download URL | hkopenai_hk_transportation_mcp_server-0.2.8-py3-none-any.whl |
|---|---|
| Size | 9.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
33383e29ad7ddc622be7f45013e1b0e44138da4204e9daf4d9005e6566ca2266
|
|
BLAKE2b-256 checksum How to use checksums |
a73b4c60fac272e3798efe54075ccfc1e3fd02b63c613b7c24c85757fed30ab3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.5
|
Security for hkopenai.hk-transportation-mcp-server 0.2.8
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.