HK Bus MCP Server
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@HK Bus MCP ServerWhen is the next bus 968 from Central?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
HK Bus MCP Server
An MCP (Model Context Protocol) server that provides real-time Hong Kong public transport ETA information. It wraps the hk-bus-eta npm package, which aggregates data from DATA.GOV.HK and various transport providers.
Supported Transport
KMB / Long Win Bus (KMB)
Citybus (CTB)
New Lantao Bus (NLB)
Green Minibus (GMB)
MTR Light Rail Feeder Bus (lrtfeeder)
MTR Light Rail (lightRail)
MTR Heavy Rail (mtr)
Ferries (Sun Ferry, Fortune Ferry, HKKF)
Related MCP server: Hong Kong Transportation MCP Server
Tools
Tool | Description |
| Search bus routes by route number (e.g. "968", "A21") |
| Get all stops for a specific route |
| Get real-time ETA for a specific stop on a route |
| Search for bus stops by name (English or Chinese) |
| Find a specific route by number + origin/destination |
| Get real-time ETA across all stops on a route |
| List all available transport companies |
Setup
Install & Build
npm install
npm run buildConfigure with Claude Desktop
Add to your claude_desktop_config.json:
{
"mcpServers": {
"hk-bus": {
"command": "node",
"args": ["/path/to/hk-bus-mcp/dist/index.js"]
}
}
}Configure with Cursor / Windsurf
Add to your MCP settings:
{
"mcpServers": {
"hk-bus": {
"command": "node",
"args": ["/path/to/hk-bus-mcp/dist/index.js"]
}
}
}Usage Examples
Once connected, you can ask the AI things like:
"When is the next bus 968 from Causeway Bay?"
"Show me all stops for bus route A21"
"Find buses going to Tsim Sha Tsui"
"What's the ETA for KMB route 1 at Star Ferry stop?"
"List all routes for Citybus"
The AI will use the MCP tools to search routes, find stops, and fetch real-time ETAs.
Data Sources
Route/stop/fare data: data.hkbus.app (daily synced from hk-bus-crawling)
KMB ETA:
data.etabus.gov.hkCTB ETA:
rt.data.gov.hkMTR ETA:
rt.data.gov.hkNLB ETA:
rt.data.gov.hkGMB ETA:
data.hkbus.app
License
GPL-3.0-only (same as hk-bus-eta)
This server cannot be deployed
Maintenance
Related MCP Connectors
MCP server for China Railway 12306 ticket availability: schedules and seats by Chinese station name.
MCP server providing attendance data queries via the CloudTime API.
An MCP server that provides congressional transcripts
Related MCP Servers
- AlicenseAqualityDmaintenanceA 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.54Apache 2.0
- AlicenseNot gradedqualityDmaintenanceAn 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.4MIT
- AlicenseNot gradedqualityDmaintenanceMCP server that provides access to Hong Kong government city data, including ambulance service indicators, via a FastMCP interface.2MIT
- AlicenseAqualityCmaintenanceMCP server for Chelaile realtime public transit data in China, including bus and metro arrivals, vehicle positions, nearby stops, timetables, and route planning. It runs locally over stdio with no login or account configuration required.15115 npm18MIT