Skip to main content

Hong Kong transportation Data MCP Server

GitHub Repository License: MIT

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

  1. Clone this repository
  2. Install Python dependencies:
    pip install -r requirements.txt
    
  3. Run the server:
    python server.py
    

Running Options

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

Source distribution for iflow-mcp_hkopenai.hk_transportation_mcp_server 0.2.8
File Size Uploaded
iflow_mcp_hkopenai_hk_transportation_mcp_server-0.2.8.tar.gz 8.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for iflow-mcp_hkopenai.hk_transportation_mcp_server 0.2.8
File Interpreter ABI Platform
iflow_mcp_hkopenai_hk_transportation_mcp_server-0.2.8-py3-none-any.whl Python 3 none any Details

Total release size: 13.5 kB

Release files / iflow_mcp_hkopenai_hk_transportation_mcp_server-0.2.8.tar.gz

Download URL iflow_mcp_hkopenai_hk_transportation_mcp_server-0.2.8.tar.gz
Size 8.4 kB
Tags Source
SHA-256 checksum
How to use checksums
1d63b3008ef7c781b186d2277636156f6632d8cbe7ab408287639caa14bb96c6
BLAKE2b-256 checksum
How to use checksums
756f1c8e8a553c71958cfc9bcd46091267df0adb219791bef56a3a6dd70b5575
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.6.9

Release files / iflow_mcp_hkopenai_hk_transportation_mcp_server-0.2.8-py3-none-any.whl

Download URL iflow_mcp_hkopenai_hk_transportation_mcp_server-0.2.8-py3-none-any.whl
Size 5.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
558b051c7393b24edfa59b2820d4bd0b27890c285aef855a0fdcad1132d39fc7
BLAKE2b-256 checksum
How to use checksums
961ca0b72bef71559a6ba60fa2f038c4960be6bfb9ef5892ed46fa20393ee08a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.6.9

Release history Release notifications | RSS feed

This release

0.2.8 This release

2 release files

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