
Malaysia Transit MCP
Connects Claude to Malaysia's public transit network across 12 cities, pulling real-time bus and train data from Rapid KL, Rapid Penang, and BAS.MY services. You get live arrivals with shape-based predictions, vehicle tracking, route discovery, and fare calculation. It hits the Malaysia Transit Middleware API which wraps GTFS static and realtime feeds from the Malaysia Open Data Portal. The server includes a journey planner that composes multi-modal trips (bus, rail, ferry, walking) and uses Google Maps for location detection to auto-identify which transit area you're querying. Useful when you need to check arrival times, calculate fares, or plan trips without switching to separate transit apps. Covers Klang Valley, Penang, Ipoh, Johor Bahru, and eight other Malaysian cities.
- tools
- 40
- transport
- HTTP
- last updated
- Nov 6, 2025
Tools
40 toolsPublic tool metadata for what this MCP can expose to an agent.
list_service_areasList all available transit areas in Malaysia.
List all available transit areas in Malaysia.
No parameter schema in public metadata yet.
get_area_infoGet detailed information about a specific area.
Get detailed information about a specific area.
No parameter schema in public metadata yet.
detect_location_areaAutomatically detect which transit service area a location belongs to using geocoding.
Automatically detect which transit service area a location belongs to using geocoding.
No parameter schema in public metadata yet.
search_stopsSearch for stops by name. Use `detect_location_area` first if unsure about the area.
Search for stops by name. Use `detect_location_area` first if unsure about the area.
No parameter schema in public metadata yet.
get_stop_detailsGet detailed information about a stop.
Get detailed information about a stop.
No parameter schema in public metadata yet.
get_stop_arrivalsGet real-time arrival predictions at a stop.
Get real-time arrival predictions at a stop.
No parameter schema in public metadata yet.
find_nearby_stopsFind nearby stops and the routes that serve them.
Find nearby stops and the routes that serve them.
No parameter schema in public metadata yet.
find_nearby_stops_with_arrivalsFind nearby stops and get real-time arrivals in one call.
Find nearby stops and get real-time arrivals in one call.
No parameter schema in public metadata yet.
find_nearby_stops_with_routesFind nearby stops and get all routes serving those stops in one call.
Find nearby stops and get all routes serving those stops in one call.
No parameter schema in public metadata yet.
list_routesList all routes in an area.
List all routes in an area.
No parameter schema in public metadata yet.
get_route_stopsGet all stops served by a specific route.
Get all stops served by a specific route.
No parameter schema in public metadata yet.
get_route_detailsGet detailed route information.
Get detailed route information.
No parameter schema in public metadata yet.
get_route_geometryGet route path for map visualization.
Get route path for map visualization.
No parameter schema in public metadata yet.
get_live_vehiclesGet real-time vehicle positions.
Get real-time vehicle positions.
No parameter schema in public metadata yet.
get_provider_statusCheck provider operational status.
Check provider operational status.
No parameter schema in public metadata yet.
get_route_departuresGet the next N departures for a specific route (both directions).
Get the next N departures for a specific route (both directions).
No parameter schema in public metadata yet.
get_next_departureGet the single next departure for a route in a specific direction.
Get the single next departure for a route in a specific direction.
No parameter schema in public metadata yet.
get_stop_routesGet all routes serving a specific stop with their next departures.
Get all routes serving a specific stop with their next departures.
No parameter schema in public metadata yet.
get_route_scheduleGet the complete daily schedule for a route.
Get the complete daily schedule for a route.
No parameter schema in public metadata yet.
get_route_originGet the origin stop name for a route in a specific direction.
Get the origin stop name for a route in a specific direction.
No parameter schema in public metadata yet.
get_route_statusCheck if a route is currently operating based on its schedule.
Check if a route is currently operating based on its schedule.
No parameter schema in public metadata yet.
get_fare_routesGet all routes available for fare calculation in a specific area.
Get all routes available for fare calculation in a specific area.
No parameter schema in public metadata yet.
get_route_stops_for_fareGet all stops on a route with their distances for fare calculation.
Get all stops on a route with their distances for fare calculation.
No parameter schema in public metadata yet.
calculate_fareCalculate the bus fare between two stops on a route.
Calculate the bus fare between two stops on a route.
No parameter schema in public metadata yet.
calculate_journey_fareCalculate the total fare for a multi-leg journey with bus transfers.
Calculate the total fare for a multi-leg journey with bus transfers.
No parameter schema in public metadata yet.
get_route_directions_for_fareGet available directions for a route when calculating fares.
Get available directions for a route when calculating fares.
No parameter schema in public metadata yet.
get_ktm_komuter_stationsGet all 23 KTM Komuter Utara stations (Padang Besar - Butterworth - Ipoh line).
Get all 23 KTM Komuter Utara stations (Padang Besar - Butterworth - Ipoh line).
No parameter schema in public metadata yet.
calculate_ktm_komuter_fareCalculate KTM Komuter Utara fare between two stations.
Calculate KTM Komuter Utara fare between two stations.
No parameter schema in public metadata yet.
get_ktm_komuter_fare_matrixGet the full KTM Komuter Utara fare matrix showing fares between all station pairs.
Get the full KTM Komuter Utara fare matrix showing fares between all station pairs.
No parameter schema in public metadata yet.
get_ktm_station_departuresGet departure times for a specific KTM station.
Get departure times for a specific KTM station.
No parameter schema in public metadata yet.
get_ktm_stationsGet all KTM stations for a specific schedule type.
Get all KTM stations for a specific schedule type.
No parameter schema in public metadata yet.
get_ktm_schedulesGet full KTM schedule data for a specific schedule type.
Get full KTM schedule data for a specific schedule type.
No parameter schema in public metadata yet.
find_nearby_ktm_stationsFind KTM stations near a specific location.
Find KTM stations near a specific location.
No parameter schema in public metadata yet.
get_penang_ferry_overviewGet Penang Ferry service overview including route, operator, and general info.
Get Penang Ferry service overview including route, operator, and general info.
No parameter schema in public metadata yet.
get_penang_ferry_scheduleGet the full Penang Ferry schedule with operating hours and frequency.
Get the full Penang Ferry schedule with operating hours and frequency.
No parameter schema in public metadata yet.
get_penang_ferry_next_departureGet the next upcoming Penang Ferry departures from both terminals.
Get the next upcoming Penang Ferry departures from both terminals.
No parameter schema in public metadata yet.
get_penang_ferry_terminalsGet Penang Ferry terminal information including locations and facilities.
Get Penang Ferry terminal information including locations and facilities.
No parameter schema in public metadata yet.
get_penang_ferry_fareGet Penang Ferry fare information and payment methods.
Get Penang Ferry fare information and payment methods.
No parameter schema in public metadata yet.
get_system_healthCheck the health status of the Malaysia Transit middleware service.
Check the health status of the Malaysia Transit middleware service.
No parameter schema in public metadata yet.
get_debug_infoGet comprehensive debug information about the middleware service.
Get comprehensive debug information about the middleware service.
No parameter schema in public metadata yet.
Sponsors
Readme
Malaysia Transit MCP
MCP (Model Context Protocol) server for Malaysia's public transit system, providing real-time bus and train information across 10+ cities in Malaysia.
MCP Endpoint: https://mcp.techmavie.digital/malaysiatransit/mcp
Analytics Dashboard: https://mcp.techmavie.digital/malaysiatransit/analytics/dashboard
Data Source: Malaysia Transit Middleware
Table of Contents
- Features
- Architecture
- Quick Start
- Installation
- Configuration
- Available Tools
- Usage Examples
- AI Integration Guide
- Supported Service Areas
- Deployment
- Troubleshooting
- Contributing
Features
Details
- Repository
- github.com/hithereiamaliff/mcp-malaysiatransit
- Website
- techmavie.digital/mcp-malaysiatransit
- Category
- Documents & Knowledge
- Transport
- HTTP