ktmb

ZhunHao/ktmb
★ 0 stars TypeScript 🔌 API Integration Updated today
Unofficial read-only TypeScript library, REST API, and MCP server for KTMB rail data (Malaysia GTFS + live booking site). Live demo on Deno Deploy.
View on GitHub →

Quick Install

Copy the config for your editor. Some servers may need additional setup — check the README.

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "ktmb": {
      "command": "npx",
      "args": [
        "-y",
        "ZhunHao/ktmb"
      ]
    }
  }
}

README Excerpt

Read-only TypeScript library, REST API, and MCP server for KTMB rail data. > **Live demo:** <https://ktmb-demo.zhunhao.deno.net/> — deployed to Deno Deploy². Both the live REST API at `/v1/*` and the static one-pager at `/` ship from the same origin. The realtime tile polls `/v1/realtime/vehicles` every 6 s for actually-live vehicle positions. See [Demo](#demo) for the deploy pipeline.