Malaysia Transit MCP — Claude Code MCP server, how to install
Malaysia Transit MCP — an MCP server with live bus and train data for 12 Malaysian cities: stop arrivals, vehicle positions, routes and fares.
MIT 7,889 installs ★ 4 updated 2026-05-11
claude mcp add --transport http mcp-malaysiatransit https://mcp-malaysiatransit--hithereiamaliff.run.toolsWhat Malaysia Transit MCP does
This server gives an agent live public transport data for Malaysia: buses and trains, plus the Penang ferry. The agent can look up a stop by name or by coordinates, check upcoming arrivals there, pull route details and geometry, and see where vehicles are right now. It covers 12 cities, including Klang Valley and Penang. Operators include Rapid KL and Rapid Penang, plus the BAS.MY services.
Schedules, next departures and route status are covered too. Bus fares are calculated only for BAS.MY and Rapid Penang routes. KTM Komuter Utara has its own tools for the station list, fare calculation and fare matrix. To find out which city a place belongs to, detect_location_area geocodes a name such as Komtar.
The server is unofficial: Prasarana Malaysia, APAD, KTM Berhad and the BAS.MY operators have no part in it. Kuantan is under maintenance and Kota Kinabalu is not live yet. If you host your own copy, production needs an INTERNAL_AUTH_TOKEN that matches the middleware's token. Without GOOGLE_MAPS_API_KEY, place lookup falls back to Nominatim, which is less accurate.
What it helps with
- check when the next bus reaches a stop
- find stops near a given point
- track live positions of buses and trains on a route
- work out a BAS.MY bus fare or a KTM Komuter Utara fare between stations
- tell which city a place like
Komtarbelongs to
Example prompts for the agent
- Use Malaysia Transit MCP to find stops near KLCC and show the next arrivals.
- List the service areas in Malaysia Transit MCP and open the details for Penang.
- Calculate the KTM Komuter Utara fare between two stations with Malaysia Transit MCP.
How to install Malaysia Transit MCP
Platform CLI: remote server
claude mcp add --transport http mcp-malaysiatransit https://mcp-malaysiatransit--hithereiamaliff.run.toolsPlatform CLI: remote server
codex mcp add malaysia-transit-mcp --url https://mcp-malaysiatransit--hithereiamaliff.run.toolsConfig file
{
"mcpServers": {
"malaysia-transit-mcp": {
"url": "https://mcp-malaysiatransit--hithereiamaliff.run.tools"
}
}
}Config file
{
"servers": {
"malaysia-transit-mcp": {
"type": "http",
"url": "https://mcp-malaysiatransit--hithereiamaliff.run.tools"
}
}
}Platform CLI: remote server
gemini mcp add -t http malaysia-transit-mcp https://mcp-malaysiatransit--hithereiamaliff.run.toolsStep by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more
Questions about Malaysia Transit MCP
How do I install Malaysia Transit MCP in Claude Code?
Run claude mcp add --transport http mcp-malaysiatransit https://mcp-malaysiatransit--hithereiamaliff.run.tools, then claude mcp add --transport http malaysia-transit-mcp https://mcp-malaysiatransit--hithereiamaliff.run.tools.
What does Malaysia Transit MCP do?
It gives an agent Malaysian transit data: stop search, arrivals, routes, live vehicle positions, schedules and fare calculation.
Which cities does Malaysia Transit MCP cover?
Among them are Klang Valley, Penang, Ipoh, Melaka, Kuching and Johor Bahru. Kuantan is under maintenance and Kota Kinabalu is not live yet.