Skip to content
Eden Engine

Swiss Stationboard: Next Departures or Arrivals at a Station

opendatachtransport/stationboard

The next departures (or arrivals) at one Swiss public transport station, from the national timetable with real-time delay: for each service the line name, category (train, bus, tram, boat), operator, destination, scheduled and expected time, delay in minutes, platform and the pass list of stops. Give the station name or number, optionally departures or arrivals (default departures), and how many services to return (1 to 20, default 5). The station is matched to the best location; the matched station is returned in `station`, and an unknown name returns a null station and an empty list. Swiss Transport API data (timetable from opentransportdata.swiss), passed through unmodified and served by Eden Engine; not an official SBB or Opendata.ch product.

activeper callv1

Price

$0.0026 per call

You pay the price shown. If a call turns out to cost more than its quote, you pay the actual price, capped at twice the quote. No monthly minimum. Top-ups start at $0.50.

Data source

Swiss Transport API (Opendata.ch, data from opentransportdata.swiss)

Swiss public transport timetable data from opentransportdata.swiss, via the Swiss Transport API (transport.opendata.ch, operated by Opendata.ch), passed through unmodified; walking-route data is (c) OpenStreetMap contributors. Served by Eden Engine; not an official SBB, opentransportdata.swiss or Opendata.ch product.

Use it

Five steps: search, inspect, learn, run, settle. No per-tool setup; your agent reaches this tool through the meta-tools it already has.

Connect once and your AI can find and run this tool, and any other it needs.

agent
// 1. search: find the tool
omnial_search({ query: "what you need" })

// 2. inspect: price and input schema
omnial_inspect({ tool: "opendatachtransport/stationboard" })

// 3. learn: read the usage guide at runtime
omnial_learn({ tool: "opendatachtransport/stationboard" })

// 4. run: price the exact call first, then run it
omnial_execute({ tool: "opendatachtransport/stationboard", input: { /* see input_schema */ }, dry_run: true })
omnial_execute({ tool: "opendatachtransport/stationboard", input: { /* ... */ } })

// 5. settle: the call is charged when it finishes, nothing to do

Not connected yet? Point your MCP client at https://mcp.eden-engine.com/mcp, then copy a config for your client.

Pricing

Every charge this tool can incur.

ChargePrice
Per call
$0.0026
Updated
Oct 21, 2026

Input and output schemas

Input schema
input_schema.json
{
  "type": "object",
  "required": [
    "station"
  ],
  "properties": {
    "type": {
      "enum": [
        "departure",
        "arrival"
      ],
      "type": "string",
      "description": "departure (the default) or arrival."
    },
    "limit": {
      "type": "integer",
      "default": 5,
      "maximum": 20,
      "minimum": 1,
      "description": "How many services to return, 1 to 20; defaults to 5. The service may return more when several leave at the same minute."
    },
    "station": {
      "type": "string",
      "maxLength": 100,
      "minLength": 2,
      "description": "Station name or number, for example Zurich, Bern or 8503000. The best match is used."
    }
  },
  "additionalProperties": false
}
Output schema
output_schema.json
{
  "type": "object",
  "required": [
    "stationboard"
  ],
  "properties": {
    "station": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "id": {
          "type": [
            "string",
            "null"
          ],
          "description": "UIC station id; null for an address or point of interest."
        },
        "icon": {
          "type": [
            "string",
            "null"
          ]
        },
        "name": {
          "type": [
            "string",
            "null"
          ]
        },
        "score": {
          "type": [
            "number",
            "null"
          ]
        },
        "distance": {
          "type": [
            "number",
            "null"
          ]
        },
        "coordinate": {
          "type": "object",
          "description": "WGS84; note that `x` is the latitude and `y` the longitude.",
          "additionalProperties": true
        }
      },
      "description": "The station the name was matched to; null when nothing matched.",
      "additionalProperties": true
    },
    "stationboard": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "to": {
            "type": [
              "string",
              "null"
            ],
            "description": "Final destination."
          },
          "name": {
            "type": [
              "string",
              "null"
            ],
            "description": "Line or train name."
          },
          "stop": {
            "type": "object",
            "description": "This service at the requested station: scheduled `departure`, `delay`, `platform` and `prognosis`.",
            "additionalProperties": true
          },
          "number": {
            "type": [
              "string",
              "null"
            ]
          },
          "category": {
            "type": [
              "string",
              "null"
            ],
            "description": "Product category code, for example S, IC, B, T."
          },
          "operator": {
            "type": [
              "string",
              "null"
            ]
          },
          "passList": {
            "type": "array",
            "items": {
              "type": "object",
              "additionalProperties": true
            },
            "description": "The stops of the service."
          }
        },
        "additionalProperties": true
      },
      "description": "One object per service, in time order."
    }
  },
  "description": "The matched station and its board.",
  "additionalProperties": true
}