Skip to main content
MCP server CX Codex

KMB Bus — Claude Code MCP server: Hong Kong bus schedules and routes

KMB Bus — an MCP server for querying KMB and Long Win Bus routes and real-time arrival times in Hong Kong. Supports English and Traditional Chinese — useful when your agent answers questions about schedules and bus routes.

Apache-2.0 2,125 installs ★ 4 updated 2025-08-29

Install into Claude Code · Platform CLI: remote server All methods and platforms ↓
claude mcp add --transport http mcp-hkbus https://mcp_hkbus--kennyckk.run.tools
Open on GitHub

What KMB Bus does

The server connects models to the official KMB/LWB API through five tools: find next bus at a stop, search routes to a destination, get all stops on a route, search stops by name, and list all routes at a stop. Requests are cached to reduce API load.

Requires Python 3.10 and the uv package manager. Install on Claude Code in one command via Smithery, or on other platforms by adding the remote server URL https://mcp_hkbus--kennyckk.run.tools to your IDE config. The server relies on KMB/LWB open data — keep API rate limits in mind.

What it helps with

  • find the next bus arrival time at a specific stop
  • list all routes serving a destination
  • show every stop along a route
  • search for a bus stop by name
  • find which routes pass through a stop

Example prompts for the agent

  • What buses go to Kowloon Railway Station?
  • When is the next bus arriving at Central?
  • Show me all routes passing through Causeway Bay

How to install KMB Bus

Platform CLI: remote server

claude mcp add --transport http mcp-hkbus https://mcp_hkbus--kennyckk.run.tools

Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more

Questions about KMB Bus

How do I install KMB Bus in Claude Code?

Run npx -y @smithery/cli install @kennyckk/mcp_hkbus --client claude. The server installs automatically.

What does KMB Bus do?

It gives your agent access to real-time Hong Kong KMB and Long Win Bus schedules and routes. Your agent can search for routes, stops, arrival times, and list all buses serving a specific stop.

What do I need for manual installation?

Python 3.10 or later and the uv package manager. Clone the repository, run uv sync, then add the server to your IDE config using the remote URL.

Similar MCP servers

All MCP servers for Agent setup: memory, context, orchestration →

Project sponsors

Companies that keep this analytics open