MCP.so
登录

KMB Bus MCP Server

@kennyckk

基本信息

分类

其他

许可证

Apache-2.0

传输方式

stdio

作者

kennyckk

关于 KMB Bus MCP Server

A MCP server which can query bus info, routes, eta, etc.

#mcp-hkbus#bus-info#transportation-assistant

KMB Bus MCP Server 配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "mcp_hkbus": {
      "command": "npx",
      "args": [
        "-y",
        "@smithery/cli",
        "install",
        "@kennyckk/mcp_hkbus",
        "--client",
        "claude"
      ]
    }
  }
}

KMB Bus MCP Server 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

点击上方按钮,在临时沙箱中运行此服务器并实时获取工具列表。

概览

What is KMB Bus MCP Server?

A Model Context Protocol (MCP) server that provides real-time access to Hong Kong's KMB (九龍巴士) and Long Win Bus (龍運巴士) route information and arrival times. It enables Language Models to query Hong Kong bus service information to answer user questions about bus routes, stops, and estimated arrival times.

How to use KMB Bus MCP Server?

Install via Smithery (npx -y @smithery/cli install @kennyckk/mcp_hkbus --client claude) or manually using uv. Configure the server in your MCP client (e.g., Claude Desktop) with the path to uv and the server script. Language Models can then call tools such as get_eta(), get_route_list(), get_stop_list(), get_route_stops(), find_stops_by_name(), and get_all_routes_at_stop().

Key features of KMB Bus MCP Server

  • Real-time bus arrival information (ETA)
  • Comprehensive bus route queries
  • Bus stop information and searches
  • Route-stop mapping
  • Caching system to optimize API calls
  • Bilingual support (English and Traditional Chinese)

Use cases of KMB Bus MCP Server

  • Get estimated arrival times for a specific bus stop and route.
  • Search for bus stops by name (English or Traditional Chinese).
  • Retrieve all bus routes that serve a given stop.
  • Look up the list of stops for a particular bus route.
  • Obtain a full list of available bus routes or stops.

常见问题

1

What data source does KMB Bus MCP Server use?

It uses the official KMB/LWB Open Data API hosted at `https://data.etabus.gov.hk/v1/transport/kmb`.

2

What are the prerequisites for running KMB Bus MCP Server?

Python 3.10 or higher and the `uv` package manager are required.

3

How can I install KMB Bus MCP Server?

You can install it automatically via Smithery or manually by cloning the repository and running `uv sync`.

4

Does KMB Bus MCP Server support both English and Chinese?

Yes, it supports bilingual queries in English and Traditional Chinese for bus stop names and route information.

5

Are there any API rate limits?

The server relies on the KMB/LWB Open Data API. Users should be mindful of rate limits and implement appropriate error handling in production.

评论

其他 分类下的更多 MCP 服务器