ODPT

liveTransport

ODPT — Japan rail timetables and live train/service status (Public Transportation Open Data Center).

4tools
0msauth
free tier50 calls/day

Tools

odpt_resolve_station

Find 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_timetable

Scheduled 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_timetable

Stop-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_status

Live 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.

List available tools
bash
curl -X POST https://gateway.pipeworx.io/odpt/mcp \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'
Call a tool
bash
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.

TypeScript
import { Pipeworx } from '@pipeworx/sdk';
const px = new Pipeworx();
const result = await px.call("odpt_resolve_station", {});
ask_pipeworx
// Or ask in plain English:
const answer = await px.ask("odpt — japan rail timetables and live train/service status (public transportation open data center)");