ODPT
liveTransportODPT — Japan rail timetables and live train/service status (Public Transportation Open Data Center).
Tools
odpt_resolve_stationFind a Japan train station by name, in English or Japanese ("Shinjuku" or "新宿"), and return its ODPT station id(s), operator, railway and coordinates — for looking up Japanese railway/metro stations (
No parameters required.
Try it
odpt_station_timetableScheduled departure timetable at a Japanese train station (Tokyo Metro, JR East, Toei and other Japan railway operators): destination, departure time, train type and direction, for weekday/Saturday/ho
No parameters required.
Try it
odpt_train_timetableStop-by-stop scheduled timetable for one specific Japanese train run, by railway and train number: every station it calls at with arrival/departure time. Covers Tokyo Metro, JR East, Toei and other Ja
No parameters required.
Try it
odpt_service_statusLive service status (current train information) for a Japanese railway line: normal operation, delays, or suspension, with the operator's own status text in Japanese and English and when it was last u
No parameters required.
Try it
Test with curl
The gateway speaks JSON-RPC 2.0 over HTTP POST. You can test any pack directly from the terminal.
curl -X POST https://gateway.pipeworx.io/odpt/mcp \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'curl -X POST https://gateway.pipeworx.io/odpt/mcp \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"odpt_resolve_station","arguments":{}}}'Use with the SDK
Install @pipeworx/sdk to call tools from any TypeScript/Node project.
import { Pipeworx } from '@pipeworx/sdk';
const px = new Pipeworx();
const result = await px.call("odpt_resolve_station", {});// Or ask in plain English:
const answer = await px.ask("odpt — japan rail timetables and live train/service status (public transportation open data center)");