Skip to main content

Hong Kong transportation MCP Server providing transportation data tools

Project description

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

  • 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

  1. Clone this repository
  2. Install Python dependencies:
    pip install -r requirements.txt
    
  3. 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:

  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

Project details


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

File hashes

Hashes for hkopenai_hk_transportation_mcp_server-0.1.7.tar.gz
Algorithm Hash digest
SHA256 27efbc83a7879b59b574161ae8a98eeae1505cb3fbc2a011e182521733e09fc7
MD5 c4989aa37b36e7c4583083c70edad7e1
BLAKE2b-256 8b3d28016e716dca5dac763179be0e408ba71918b3a5343c9d5091835cde32eb

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page