SBB Connections MCP Server

Access Swiss public transport connections through MCP. Simple, fast, and reliable.

Connect to this Server

Use the following command to connect to this server:

npx -y mcp-remote loading...

Available Tools

Find Connection Tool

Find train, bus, and other public transport connections between any two locations in Switzerland.

// Input parameters:
{
  "from": string,    // Departure location (e.g., "Zurich HB")
  "to": string,      // Arrival location (e.g., "Bern")
  "date": string?,   // Optional: Date in YYYY-MM-DD format
  "time": string?,   // Optional: Time in HH:mm format
  "isArrivalTime": boolean?  // Optional: If true, treats time as arrival time (default: false)
}

// Example usage (finding connections arriving at 14:30):
{
  "from": "Zurich HB",
  "to": "Bern",
  "date": "2024-03-20",
  "time": "14:30",
  "isArrivalTime": true
}

// Response:
[
  {
    "from": {
      "station": "Zürich HB",
      "departure": "2024-03-20T13:32:00+01:00",
      "platform": "11"
    },
    "to": {
      "station": "Bern",
      "arrival": "2024-03-20T14:30:00+01:00",
      "platform": "7"
    },
    "duration": "00d00:58:00"
  }
]

Real-time Data

Get up-to-date connection information directly from the Swiss public transport API.

Simple Integration

Easy to use with any MCP client - perfect for building travel applications.

Comprehensive Coverage

Access connections for trains, buses, trams, and other public transport across Switzerland.