Skip to content
Eden Engine

Swiss Locations: Station, Stop and Address Search by Name or Coordinates

opendatachtransport/locations

Search Swiss public transport locations by name: stations, stops, points of interest and addresses with id, name, coordinates and an icon for the transport type, best match first. Give a search text (2 to 100 characters) and optionally the kind of location (station, poi, address or all; default all). Use the returned ids with the stationboard and connections tools. No match returns an empty list. Swiss Transport API data (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/locations" })

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

// 4. run: price the exact call first, then run it
omnial_execute({ tool: "opendatachtransport/locations", input: { /* see input_schema */ }, dry_run: true })
omnial_execute({ tool: "opendatachtransport/locations", 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": [
    "query"
  ],
  "properties": {
    "type": {
      "enum": [
        "all",
        "station",
        "poi",
        "address"
      ],
      "type": "string",
      "description": "Kind of location to return: all (the default), station, poi or address."
    },
    "query": {
      "type": "string",
      "maxLength": 100,
      "minLength": 2,
      "description": "Name to search, for example Basel or Zurich Hauptbahnhof."
    }
  },
  "additionalProperties": false
}
Output schema
output_schema.json
{
  "type": "object",
  "required": [
    "stations"
  ],
  "properties": {
    "stations": {
      "type": "array",
      "items": {
        "type": "object",
        "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": "A station, stop, point of interest or address.",
        "additionalProperties": true
      }
    }
  },
  "description": "The matching locations, best match first. The key is `stations` whatever the type.",
  "additionalProperties": true
}