Inform of a train departure

Add MCP server to your AI tool

Allow AI tools and LLMs to interact with the API documentation portal through MCP.

MCP server URL

https://demo.bump.sh/doc/trains-stream/mcp

Standard setup for AI tools providing an mcp.json file

mcp.json
{
  "trains/stream MCP server": {
    "url": "https://demo.bump.sh/doc/trains-stream/mcp"
  }
}

Close
PUB trains/departures
PUBLISH trains/departures

Train has left a station

Attributes of a train leaving a station.

Payload

  • event string

    Type of the event.

    Values are left or arrived.

  • sent_at string(date-time)
  • train_code string

    Train's code.

  • train_passengers_count integer

    Current number of passengers in the train.

  • station_code string

    Station's code.

  • station_name string

    Station's full name.

Payload examples
{
  "event": "left",
  "sent_at": "2026-05-04T09:42:00Z",
  "train_code": "string",
  "train_passengers_count": 42,
  "station_code": "string",
  "station_name": "string"
}