Skip to main content
Glama

Hong Kong Transportation MCP Server

by hkopenai

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

  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
-
security - not tested
A
license - permissive license
-
quality - not tested

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

An MCP server providing access to Hong Kong transportation data, including passenger traffic statistics at control points and real-time bus arrival information for KMB and Long Win Bus services.

  1. Features
    1. Passenger Traffic Statistics
    2. Real time Arrival Data of Kowloon Motor Bus and Long Win Bus Services
    3. Land Boundary Control Points Waiting Times
  2. Data Source
    1. Examples
      1. Setup
        1. Running Options
      2. Cline Integration
        1. Testing

          Related MCP Servers

          • -
            security
            A
            license
            -
            quality
            A Model Context Protocol server that provides real-time access to Hong Kong's KMB and Long Win Bus route information and arrival times, enabling Language Models to answer user questions about bus routes, stops, and ETAs.
            Last updated -
            3
            Python
            Apache 2.0
            • Linux
            • Apple
          • -
            security
            A
            license
            -
            quality
            A hub server that connects to and manages other MCP (Model Context Protocol) servers.
            Last updated -
            131
            26
            TypeScript
            MIT License
          • -
            security
            F
            license
            -
            quality
            An MCP Server that enables interaction with Maharashtra's Motor Vehicle Department API, allowing users to access transportation-related services through natural language requests.
            Last updated -
            Python

          View all related MCP servers

          MCP directory API

          We provide all the information about MCP servers via our MCP API.

          curl -X GET 'https://glama.ai/api/mcp/v1/servers/hkopenai/hk-transportation-mcp-server'

          If you have feedback or need assistance with the MCP directory API, please join our Discord server