A
securityF
licenseA
qualityEnables Large Language Models to access real-time data on Vilnius public transport stops and routes through the Model Context Protocol.
Last updated -
2
1
Python
一个模型上下文协议 (MCP) 服务器,可实时访问香港九龙巴士 (KMB) 和龙运巴士 (Long Win Bus) 的路线信息和到达时间。该服务器支持语言模型查询香港公交服务信息,以解答用户关于公交路线、站点和预计到达时间的问题。
该项目利用 KMB/LWB 官方开放数据 API:
get_route_list()
:获取所有公交路线列表get_stop_list()
:获取所有公交车站列表get_route_stops()
:获取特定路线的站点find_stops_by_name()
:按名称搜索公交车站get_all_routes_at_stop()
:获取服务特定站点的所有路线get_eta()
:获取预计到达时间使用 pytest 运行测试套件:
httpx
:用于异步 HTTP 请求fastmcp
:用于 MCP 服务器实现pytest
:用于测试(仅限开发)欢迎贡献代码!欢迎提交 Pull 请求。
此服务依赖于 KMB/LWB 开放数据 API。请注意 API 的速率限制,并在生产环境中实施适当的错误处理。
This server cannot be installed
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
模型上下文协议服务器可实时访问香港九巴和龙运巴士的路线信息和到达时间,使语言模型能够回答用户关于公交路线、站点和预计到达时间的问题。
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/kennyckk/mcp_hkbus'
If you have feedback or need assistance with the MCP directory API, please join our Discord server