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_areas

List all available transit service areas in Malaysia (e.g., Klang Valley, Penang, Kuantan)

detect_location_area

Automatically 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_info

Get detailed information about a specific transit service area

search_stops

Search 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_details

Get detailed information about a specific bus or train stop

get_stop_arrivals

Get real-time arrival predictions for buses/trains at a specific stop

find_nearby_stops

Find 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_arrivals

Find 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_routes

Find 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_routes

List all available bus or train routes in a specific area

get_route_stops

Get 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_details

Get detailed information about a specific route including stops and geometry. IMPORTANT: First call list_routes to get the correct route_id.

get_route_geometry

Get the geographic path and stops for a specific route (for map visualization)

get_live_vehicles

Get real-time positions of all buses and trains in a specific area

get_provider_status

Check the operational status of transit providers in a specific area

get_route_departures

Get 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_departure

Get 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_routes

Get 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_schedule

Get 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_origin

Get 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_status

Check 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_routes

Get 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_fare

Get 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_fare

Calculate 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_fare

Calculate 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_fare

Get available directions for a route when calculating fares. Use this to determine which direction (outbound/inbound) to use for fare calculation.

get_ktm_komuter_stations

Get all 23 KTM Komuter Utara stations (Padang Besar - Butterworth - Ipoh line). Returns station codes, names, and coordinates.

calculate_ktm_komuter_fare

Calculate 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_matrix

Get the full KTM Komuter Utara fare matrix showing fares between all station pairs.

get_ktm_station_departures

Get departure times for a specific KTM station. Supports both KTM Komuter Utara and KTM Intercity schedules.

get_ktm_stations

Get all KTM stations for a specific schedule type (Komuter Utara or Intercity).

get_ktm_schedules

Get full KTM schedule data for a specific schedule type. Returns complete timetable information.

find_nearby_ktm_stations

Find 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_overview

Get Penang Ferry service overview including terminals, operating hours, frequency, and contact information. The ferry operates between Butterworth and George Town.

get_penang_ferry_schedule

Get full Penang Ferry schedule with departure times. Supports filtering by direction and day type.

get_penang_ferry_next_departure

Get next ferry departures from both Butterworth and George Town terminals in real-time. Shows minutes until departure.

get_penang_ferry_terminals

Get detailed information about Penang Ferry terminals including facilities, connections, parking, and nearby attractions.

get_penang_ferry_fare

Get Penang Ferry fare information, payment methods, and terminal coordinates.

get_system_health

Check the health status of the Malaysia Transit middleware service

get_debug_info

Get comprehensive debug information about the middleware service including memory usage and initialized areas

get_api_analytics

Get 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_analytics

Get detailed API usage analytics for a specific service area. Shows which endpoints are most used for that area.

hello

A 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

Universal
热门

面向Slack的动图制作Skill,内置emoji/消息GIF的尺寸、帧率和色彩约束、校验与优化流程,适合把创意或上传图片快速做成可直接发送的Slack动画。

帮你快速做出适配 Slack 的动图,内置约束规则和校验工具,少踩上传与播放坑,做表情包和演示都更省心。

平台与服务
未扫描158.9k

MCP构建

by anthropics

Universal
热门

聚焦高质量 MCP Server 开发,覆盖协议研究、工具设计、错误处理与传输选型,适合用 FastMCP 或 MCP SDK 对接外部 API、封装服务能力。

想让 LLM 稳定调用外部 API,就用 MCP构建:从 Python 到 Node 都有成熟指引,帮你更快做出高质量 MCP 服务器。

平台与服务
未扫描158.9k

接口测试套件

by alirezarezvani

Universal
热门

扫描 Next.js、Express、FastAPI、Django REST 的 API 路由,自动生成覆盖鉴权、参数校验、错误码、分页、上传与限流场景的 Vitest 或 Pytest 测试套件。

帮你把API与集成测试自动化跑顺,减少回归漏测;能力全面,尤其适合复杂接口场景的QA团队。

平台与服务
未扫描21.3k

相关 MCP Server

Slack 消息

编辑精选

by Anthropic

热门

Slack 是让 AI 助手直接读写你的 Slack 频道和消息的 MCP 服务器。

这个服务器解决了团队协作中需要 AI 实时获取 Slack 信息的痛点,特别适合开发团队让 Claude 帮忙汇总频道讨论或发送通知。不过,它目前只是参考实现,文档有限,不建议在生产环境直接使用——更适合开发者学习 MCP 如何集成第三方服务。

平台与服务
88.1k

by netdata

热门

io.github.netdata/mcp-server 是让 AI 助手实时监控服务器指标和日志的 MCP 服务器。

这个工具解决了运维人员需要手动检查系统状态的痛点,最适合 DevOps 团队让 Claude 自动分析性能数据。不过,它依赖 NetData 的现有部署,如果你没用过这个监控平台,得先花时间配置。

平台与服务
79.5k

by d4vinci

热门

Scrapling MCP Server 是专为现代网页设计的智能爬虫工具,支持绕过 Cloudflare 等反爬机制。

这个工具解决了爬取动态网页和反爬网站时的头疼问题,特别适合需要批量采集电商价格或新闻数据的开发者。不过,它依赖外部浏览器引擎,资源消耗较大,不适合轻量级任务。

平台与服务
68.3k

评论