Sbb MCP Server

Brand-protective alias for swisstrip-mcp. Independent MCP client by SwissTrip; not the official SBB MCP. Use swisstrip-mcp directly.

Remote serverstreamable-http

What is the Sbb MCP MCP server?

Brand-protective alias for swisstrip-mcp. Independent MCP client by SwissTrip; not the official SBB MCP. Use swisstrip-mcp directly. Exposed over MCP by the sbb mcp mcp server, that capability becomes something an assistant can invoke while it works, not something you go and do afterwards.

What it actually does

Independent MCP client by SwissTrip — connects AI assistants to Swiss Federal Railways (SBB / CFF / FFS) data: train schedules, station search, ticket prices, and direct ticket purchase links via SBB's SMAPI.

Its toolset

Everything the assistant can do here goes through one of these:

  • search_stations — find Swiss stations, addresses, and points of interest
  • search_connections — train schedules between two stations
  • get_trip_details — detailed trip with all intermediate stops
  • get_more_connections — earlier or later trains for a previous search
  • get_prices — ticket prices with Halbtax / GA discounts
  • get_ticket_link — direct purchase link to SBB.ch
  • list_travelers — multi-traveler family pricing (requires SWISSTRIP_TOKEN)
  • Cursor — The Cursor tool exposed by this server

Adding it to your client

Being a remote server, there is no local install. You register the endpoint with your client, authorise it once, and the tools appear.

Configuration

You will need 3 environment variables: SWISSTRIP_TOKEN, SWISSTRIP_MCP_URL, SBB_MCP_URL. The server will not start without them, which is usually why the tools fail to appear on a first run. Keep credentials in your client's env block or a secrets manager rather than in a file you might commit.

When to reach for it

Plenty of developer tooling servers cover similar ground. The differences that matter in practice are scope of access and how much setup stands between you and a working tool call. Sbb MCP's toolset — search_stations, search_connections, get_trip_details and 5 more — is a fair guide to whether it matches your workflow. It is maintained by fabsbags; worth a glance at recent repository activity before you build anything load-bearing on it.

SyncDev reviews every entry in this directory against the project's own documentation before publishing, and revisits them as servers change.

Caveats

  • Your data travels to the provider's service, so the usual questions apply about what you send and what they retain.
  • Missing credentials fail quietly in some clients — if no tools show up, check the environment block first.
  • MCP clients confirm each tool call by default. Leave that on until you have watched what the sbb mcp mcp server does with a few real requests.

Available tools

ToolWhat it does
search_stationsfind Swiss stations, addresses, and points of interest
search_connectionstrain schedules between two stations
get_trip_detailsdetailed trip with all intermediate stops
get_more_connectionsearlier or later trains for a previous search
get_pricesticket prices with Halbtax / GA discounts
get_ticket_linkdirect purchase link to SBB.ch
list_travelersmulti-traveler family pricing (requires SWISSTRIP_TOKEN)
CursorThe Cursor tool exposed by this server.

How to install the Sbb MCP MCP server

{
  "mcpServers": {
    "swisstrip": {
      "command": "npx",
      "args": ["-y", "swisstrip-mcp"]
    }
  }
}

Configuration as documented by the project. Restart the client after saving.

Configuration

VariableDescriptionRequired
SWISSTRIP_TOKENCredential the server authenticates with.Yes
SWISSTRIP_MCP_URLEndpoint or connection string the server talks to.Yes
SBB_MCP_URLEndpoint or connection string the server talks to.Yes

Example prompts to try

  • Use Sbb MCP to search stations.
  • Use Sbb MCP to search connections.
  • Use Sbb MCP to get trip details.

Frequently asked questions

It connects Sbb MCP to MCP-compatible AI assistants such as Claude and Cursor, exposing 8 tools (search_stations, search_connections, get_trip_details, and more) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with Sbb MCP directly.