HK Bus ETA MCP
Provides a get_[mtr](/mcp/integrations/mtr)_eta(stop_id, route, bound) tool that retrieves Hong Kong MTR (Mass Transit Railway) estimated arrival times for a given station and route direction, alongside the server's other operator-specific ETA tools (KMB, CTB, GMB, Light Rail, NLB).
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
HK Bus ETA MCP
香港交通 ETA 的 MCP 伺服器(FastMCP + hk-bus-eta)。
本版本重點:
移除不必要與重複代碼。
工具命名改為「一語言一工具」(
_zh/_en)。API 以簡單、低參數、快速回應為優先。
快速開始
pip install -r requirements.txt
python src/server.py本地 MCP 端點:http://localhost:8000/mcp
Related MCP server: SG Bus Arrivals
設計原則
語言分離:中文與英文使用不同工具,避免
language參數混淆。快速回應:搜尋與批量工具都有
limit或max_stops上限。明確命名:工具名稱直接表達用途,不需要閱讀長文檔才能用。
工具總覽
路線搜尋
search_routes_zh(keyword="", operator="", limit=50)search_routes_en(keyword="", operator="", limit=50)search_routes_by_operator_zh(operator="gmb", keyword="", limit=50)search_routes_by_operator_en(operator="gmb", keyword="", limit=50)find_route_ids_by_number(route_number, operator="", limit=20)
ETA(通用)
get_eta_zh(route_id, seq=0)get_eta_en(route_id, seq=0)
路線站點
get_route_stops_zh(route_id, limit=9999)get_route_stops_en(route_id, limit=9999)get_route_all_stops_eta_zh(route_id, max_stops=20)get_route_all_stops_eta_en(route_id, max_stops=20)
站點搜尋
search_stops_zh(keyword, limit=20)search_stops_en(keyword, limit=20)
營運商專用 ETA
get_kmb_eta(stop_id, route, service_type="1", bound="O")get_ctb_eta(stop_id, route, bound="outbound", seq=0)get_gmb_eta(gtfs_id, stop_id, bound="1", seq=0)get_mtr_eta(stop_id, route, bound="1")get_lightrail_eta(stop_id, route, dest_zh="", dest_en="")get_lrtfeeder_eta_zh(stop_id, route)get_lrtfeeder_eta_en(stop_id, route)get_nlb_eta(stop_id, nlb_id)
其他資料工具
get_route_details(route_id)get_all_routes(limit=50)get_all_stops(limit=50)get_stop_info(stop_id)get_stop_mapping(stop_id)get_holidays()get_server_info()
建議工作流
用
search_routes_zh或find_route_ids_by_number找route_id。用
get_route_stops_zh看站序(seq)。用
get_eta_zh(route_id, seq)查單站 ETA。若要快速總覽,用
get_route_all_stops_eta_zh(route_id, max_stops=20)。
Streaming 端點
/stream:SSE 單路線串流/batch:SSE 批量/附近站點/Live 更新
詳見:STREAMING_API.md
部署
Vercel:已包含
api/mcp.py、api/stream.py、api/batch_stream.py。若要接 Claude Desktop,將伺服器 URL 指向
/mcp。
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
660+ data tools for agents: TikTok, Douyin, Instagram, YouTube, X, weather, GitHub. Pay per call.
Indonesian public data, QRIS, rupiah and AI model status tools. No API key needed.
16 AI-native tools with dual SSE + streamable-http transport. Free tier available.
YouTube transcripts, search, channel/playlist listings and upload tracking for AI agents.
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 gradedqualityBmaintenanceEnables real-time Singapore bus arrival lookups, bus stop search, and nearby stop discovery through plain-language queries.MIT

transcapi-mcpofficial
AlicenseAqualityBmaintenanceConnects AI assistants to live public transport data across Great Britain, enabling searches for stops and stations, real-time bus and rail departures, live vehicle positions, service disruptions, and door-to-door journey planning. All tools are read-only and require an API key.10MIT- AlicenseAqualityCmaintenanceEnables LLMs to query realtime bus and metro data across Chinese cities without any login or API key, covering keyword search, nearby stops, stop and line details, live vehicle positions and ETAs, and bus-plus-metro transfer planning. Departure predictions at a line's first stop cover the full service day, including last departures and the next bus after a specified time.152MIT