Malaysia Transit MCP Server
MCP server for Malaysia's public transit system, providing real-time vehicle locations, shape-based arrival predictions (40-60% more accurate), departure schedules, and fare calculator across 12 cities in Malaysia. Features live bus/train tracking, stop search, route discovery, automatic location detection, and provider status monitoring.
https://mcp.techmavie.digital/malaysiatransit/mcpUse this endpoint directly in your MCP client (Claude Desktop/Mobile App, Cursor, Windsurf, etc.)
Need help setting up? Follow my interactive setup guides:
Features
12 Operational Service Areas across Malaysia
Live Vehicle Tracking - Current positions of buses and trains
Shape-Based Arrival Predictions - 40-60% more accurate ETAs
Departure Schedules - Get next departures and route operating status
Fare Calculator - Calculate fares for BAS.MY and Rapid Penang
Stop Search & Information - Find stops by name or location
Route Discovery - Browse available routes with destinations
Multi-Modal Support - Both bus and rail services
Location Detection - Automatically detect service areas
Provider Status Monitoring - Check operational status
Data Source
This MCP server connects to Malaysia Transit, a transit API that aggregates GTFS data from multiple Malaysian transit operators. The middleware provides route information, stop details, and live vehicle positions that powers this MCP.
The middleware handles all the complexity of parsing transit feeds and normalizing data across different operators, so that your AI can simply ask questions like "What bus routes serve this area?" and get accurate answers.
Available Tools
list_service_areasList all available transit areas
detect_location_areaDetect transit service area from location
search_stopsSearch for stops by name
get_stop_arrivalsGet real-time arrivals with confidence levels
get_live_vehiclesGet live vehicle positions
list_routesList all routes in an area
get_route_detailsGet detailed route information
get_route_departuresGet next N departures for a route
get_next_departureGet single next departure
get_route_scheduleGet complete daily schedule
get_route_statusCheck if route is operating
get_fare_routesGet routes for fare calculation
calculate_fareCalculate fare between stops
calculate_journey_fareCalculate multi-leg journey fares
get_provider_statusCheck provider operational status
Highlights
Requirements
- Node.js 18+
- Malaysia Transit running instance
- Optional: Google Maps API key for location detection