- Explore MCP Servers
- hk-transportation-mcp-server
Hk Transportation Mcp Server
What is Hk Transportation Mcp Server
hk-transportation-mcp-server is an MCP server that provides access to transportation-related data in Hong Kong through a FastMCP interface.
Use cases
Use cases include querying daily passenger arrivals through specific transportation modes, analyzing trends in visitor traffic, and generating reports for government or business stakeholders.
How to use
To use hk-transportation-mcp-server, clone the repository, install the required Python dependencies, and run the server using the command ‘python app.py’. Optionally, you can run it in SSE mode on port 8000.
Key features
Key features include daily passenger traffic statistics at Hong Kong control points, data filtering by date ranges, and breakdown statistics by visitor types such as Hong Kong Residents, Mainland Visitors, and Other Visitors.
Where to use
hk-transportation-mcp-server can be used in transportation analysis, urban planning, tourism studies, and any application requiring access to transportation data in Hong Kong.
Clients Supporting MCP
The following are the main client software that supports the Model Context Protocol. Click the link to visit the official website for more information.
Overview
What is Hk Transportation Mcp Server
hk-transportation-mcp-server is an MCP server that provides access to transportation-related data in Hong Kong through a FastMCP interface.
Use cases
Use cases include querying daily passenger arrivals through specific transportation modes, analyzing trends in visitor traffic, and generating reports for government or business stakeholders.
How to use
To use hk-transportation-mcp-server, clone the repository, install the required Python dependencies, and run the server using the command ‘python app.py’. Optionally, you can run it in SSE mode on port 8000.
Key features
Key features include daily passenger traffic statistics at Hong Kong control points, data filtering by date ranges, and breakdown statistics by visitor types such as Hong Kong Residents, Mainland Visitors, and Other Visitors.
Where to use
hk-transportation-mcp-server can be used in transportation analysis, urban planning, tourism studies, and any application requiring access to transportation data in Hong Kong.
Clients Supporting MCP
The following are the main client software that supports the Model Context Protocol. Click the link to visit the official website for more information.
Content
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
DevTools Supporting MCP
The following are the main code editors that support the Model Context Protocol. Click the link to visit the official website for more information.