Malaysia Transit MCP
平台与服务by hithereiamaliff
提供马来西亚12座城市的实时公交与火车信息,支持到站、车辆追踪和线路查询,覆盖 Rapid KL、Rapid Penang 与 BAS.MY 等服务。
什么是 Malaysia Transit MCP?
提供马来西亚12座城市的实时公交与火车信息,支持到站、车辆追踪和线路查询,覆盖 Rapid KL、Rapid Penang 与 BAS.MY 等服务。
核心功能 (43 个工具)
list_service_areasList all available transit service areas in Malaysia (e.g., Klang Valley, Penang, Kuantan)
detect_location_areaAutomatically detect which transit service area a location belongs to using geocoding. Use this when the user mentions a place name without specifying the area (e.g., "KTM Alor Setar", "Komtar", "KLCC"). IMPORTANT: After detecting the area, use find_nearby_stops_with_arrivals or find_nearby_stops with the location parameter - these tools handle geocoding automatically and are more reliable than using coordinates from this tool.
get_area_infoGet detailed information about a specific transit service area
search_stopsSearch for bus or train stops by name in a specific area. The middleware will automatically geocode place names (like "Ideal Foresta") and find nearby stops if no exact stop name match is found. IMPORTANT: If you are unsure which area a location belongs to, use detect_location_area first to automatically determine the correct area.
get_stop_detailsGet detailed information about a specific bus or train stop
get_stop_arrivalsGet real-time arrival predictions for buses/trains at a specific stop
find_nearby_stopsFind bus or train stops near a specific location AND get all routes serving those stops. You can provide EITHER coordinates (lat/lon) OR a location name - the middleware will geocode place names automatically.
find_nearby_stops_with_arrivalsFind bus stops near a location AND get real-time arrival predictions in one call. RECOMMENDED: Use this tool when users ask about nearby bus stops and arrival times together. Accepts a place name (e.g., "Ideal Foresta") - the middleware handles geocoding automatically.
find_nearby_stops_with_routesFind bus stops near a location AND get all routes serving those stops in one call. Accepts a place name (e.g., "Ideal Foresta") - the middleware handles geocoding automatically.
list_routesList all available bus or train routes in a specific area
get_route_stopsGet all stops on a specific route. Use this to find which stops a bus/train route serves. IMPORTANT: First call list_routes to get the correct route_id.
get_route_detailsGet detailed information about a specific route including stops and geometry. IMPORTANT: First call list_routes to get the correct route_id.
get_route_geometryGet the geographic path and stops for a specific route (for map visualization)
get_live_vehiclesGet real-time positions of all buses and trains in a specific area
get_provider_statusCheck the operational status of transit providers in a specific area
get_route_departuresGet the next N departures for a specific route (both directions). Useful for showing upcoming bus/train times. IMPORTANT: Use route_short_name (e.g., "K10", "A32", "R10", "101") NOT the numeric route_id. Works for: penang, ipoh, seremban, kangar, alor-setar, kota-bharu, kuala-terengganu, melaka, johor, kuching.
get_next_departureGet the single next departure for a route in a specific direction. Quick way to find when the next bus/train leaves. IMPORTANT: Use route_short_name (e.g., "101", "K10", "A32") NOT numeric route_id. Works for: penang, ipoh, seremban, kangar, alor-setar, kota-bharu, kuala-terengganu, melaka, johor, kuching.
get_stop_routesGet all routes serving a specific stop with their next departures. Shows which buses/trains stop here and when. Works for: penang, ipoh, seremban, kangar, alor-setar, kota-bharu, kuala-terengganu, melaka, johor, kuching.
get_route_scheduleGet the complete daily schedule for a route. Shows all departure times throughout the day. IMPORTANT: Use route_short_name (e.g., "101", "K10", "A32") NOT numeric route_id. Works for: penang, ipoh, seremban, kangar, alor-setar, kota-bharu, kuala-terengganu, melaka, johor, kuching.
get_route_originGet the origin stop name for a route in a specific direction. Useful for showing where the bus/train starts. IMPORTANT: Use route_short_name (e.g., "101", "K10", "A32") NOT numeric route_id. Works for: penang, ipoh, seremban, kangar, alor-setar, kota-bharu, kuala-terengganu, melaka, johor, kuching.
get_route_statusCheck if a route is currently operating based on its schedule. Shows if buses/trains are running now. IMPORTANT: Use route_short_name (e.g., "101", "K10", "A32") NOT numeric route_id. Works for: penang, ipoh, seremban, kangar, alor-setar, kota-bharu, kuala-terengganu, melaka, johor, kuching.
get_fare_routesGet all routes available for fare calculation in a specific area. MUST call this FIRST before calculate_fare to get valid route_id values. Supports: ipoh, seremban, kangar, alor-setar, kota-bharu, kuala-terengganu, melaka, johor, kuching, penang.
get_route_stops_for_fareGet all stops on a route with their distances for fare calculation. MUST call this SECOND (after get_fare_routes) to get valid stop_id values for calculate_fare. Returns stop IDs and names.
calculate_fareCalculate the bus fare between two stops on a route. IMPORTANT: You MUST first call get_fare_routes to get route_id, then get_route_stops_for_fare to get valid stop_id values. Do NOT guess IDs.
calculate_journey_fareCalculate the total fare for a multi-leg journey with bus transfers. Each leg is a separate fare since BAS.MY does not have integrated transfers.
get_route_directions_for_fareGet available directions for a route when calculating fares. Use this to determine which direction (outbound/inbound) to use for fare calculation.
get_ktm_komuter_stationsGet all 23 KTM Komuter Utara stations (Padang Besar - Butterworth - Ipoh line). Returns station codes, names, and coordinates.
calculate_ktm_komuter_fareCalculate KTM Komuter Utara fare between two stations. Use station codes (e.g., "BU" for Butterworth, "IP" for Ipoh, "PB" for Padang Besar).
get_ktm_komuter_fare_matrixGet the full KTM Komuter Utara fare matrix showing fares between all station pairs.
get_ktm_station_departuresGet departure times for a specific KTM station. Supports both KTM Komuter Utara and KTM Intercity schedules.
get_ktm_stationsGet all KTM stations for a specific schedule type (Komuter Utara or Intercity).
get_ktm_schedulesGet full KTM schedule data for a specific schedule type. Returns complete timetable information.
find_nearby_ktm_stationsFind KTM stations near a specific location. You can provide EITHER coordinates (lat/lon) OR a location name - the middleware will geocode place names automatically.
get_penang_ferry_overviewGet Penang Ferry service overview including terminals, operating hours, frequency, and contact information. The ferry operates between Butterworth and George Town.
get_penang_ferry_scheduleGet full Penang Ferry schedule with departure times. Supports filtering by direction and day type.
get_penang_ferry_next_departureGet next ferry departures from both Butterworth and George Town terminals in real-time. Shows minutes until departure.
get_penang_ferry_terminalsGet detailed information about Penang Ferry terminals including facilities, connections, parking, and nearby attractions.
get_penang_ferry_fareGet Penang Ferry fare information, payment methods, and terminal coordinates.
get_system_healthCheck the health status of the Malaysia Transit middleware service
get_debug_infoGet comprehensive debug information about the middleware service including memory usage and initialized areas
get_api_analyticsGet API usage analytics and statistics from the middleware. Shows total requests, requests per hour, error rates, and usage by service area. Useful for monitoring API health and usage patterns.
get_area_analyticsGet detailed API usage analytics for a specific service area. Shows which endpoints are most used for that area.
helloA simple test tool to verify that the MCP server is working correctly
常见问题
Malaysia Transit MCP 是什么?
提供马来西亚12座城市的实时公交与火车信息,支持到站、车辆追踪和线路查询,覆盖 Rapid KL、Rapid Penang 与 BAS.MY 等服务。
Malaysia Transit MCP 提供哪些工具?
提供 43 个工具,包括 list_service_areas、detect_location_area、get_area_info 等。
相关 Skills
Slack动图
by anthropics
面向Slack的动图制作Skill,内置emoji/消息GIF的尺寸、帧率和色彩约束、校验与优化流程,适合把创意或上传图片快速做成可直接发送的Slack动画。
✎ 帮你快速做出适配 Slack 的动图,内置约束规则和校验工具,少踩上传与播放坑,做表情包和演示都更省心。
MCP构建
by anthropics
聚焦高质量 MCP Server 开发,覆盖协议研究、工具设计、错误处理与传输选型,适合用 FastMCP 或 MCP SDK 对接外部 API、封装服务能力。
✎ 想让 LLM 稳定调用外部 API,就用 MCP构建:从 Python 到 Node 都有成熟指引,帮你更快做出高质量 MCP 服务器。
接口测试套件
by alirezarezvani
扫描 Next.js、Express、FastAPI、Django REST 的 API 路由,自动生成覆盖鉴权、参数校验、错误码、分页、上传与限流场景的 Vitest 或 Pytest 测试套件。
✎ 帮你把API与集成测试自动化跑顺,减少回归漏测;能力全面,尤其适合复杂接口场景的QA团队。
相关 MCP Server
Slack 消息
编辑精选by Anthropic
Slack 是让 AI 助手直接读写你的 Slack 频道和消息的 MCP 服务器。
✎ 这个服务器解决了团队协作中需要 AI 实时获取 Slack 信息的痛点,特别适合开发团队让 Claude 帮忙汇总频道讨论或发送通知。不过,它目前只是参考实现,文档有限,不建议在生产环境直接使用——更适合开发者学习 MCP 如何集成第三方服务。
by netdata
io.github.netdata/mcp-server 是让 AI 助手实时监控服务器指标和日志的 MCP 服务器。
✎ 这个工具解决了运维人员需要手动检查系统状态的痛点,最适合 DevOps 团队让 Claude 自动分析性能数据。不过,它依赖 NetData 的现有部署,如果你没用过这个监控平台,得先花时间配置。
by d4vinci
Scrapling MCP Server 是专为现代网页设计的智能爬虫工具,支持绕过 Cloudflare 等反爬机制。
✎ 这个工具解决了爬取动态网页和反爬网站时的头疼问题,特别适合需要批量采集电商价格或新闻数据的开发者。不过,它依赖外部浏览器引擎,资源消耗较大,不适合轻量级任务。