fabsbags avatar

Swisstrip Mcp

fabsbags/swisstrip-mcp

Connects Claude and other MCP clients to Swiss Federal Railways (SBB/CFF/FFS) data through SwissTrip's hosted service. Exposes six tools: station search, connection lookups, detailed trip itineraries with intermediate stops, earlier/later departure queries, ticket pricing with discount options (Halbtax, GA, Sparbillet), and direct purchase links to SBB.ch. Works over stdio via npx or as a remote server for ChatGPT. Tool descriptions and responses support nine languages including German, French, and Italian. Reach for this when you need programmatic access to Swiss rail schedules and ticketing without dealing with SBB's official APIs directly. Independent third party implementation, not affiliated with SBB AG.

tools
6
transport
STDIO, HTTP
env var
1
last updated
Apr 28, 2026

Tools

6 tools

Public tool metadata for what this MCP can expose to an agent.

search_stationsfind Swiss stations, addresses, and points of interest

find Swiss stations, addresses, and points of interest

No parameter schema in public metadata yet.

search_connectionstrain schedules between two stations

train schedules between two stations

No parameter schema in public metadata yet.

get_trip_detailsdetailed trip with all intermediate stops

detailed trip with all intermediate stops

No parameter schema in public metadata yet.

get_more_connectionsearlier or later trains for a previous search

earlier or later trains for a previous search

No parameter schema in public metadata yet.

get_pricesticket prices with Halbtax / GA / Sparbillet discounts

ticket prices with Halbtax / GA / Sparbillet discounts

No parameter schema in public metadata yet.

get_ticket_linkdirect purchase link to SBB.ch

direct purchase link to SBB.ch

No parameter schema in public metadata yet.

Sponsors

Configuration

SWISSTRIP_MCP_URL

Override the hosted server URL. Default: https://mcp.swisstrip.app/mcp.

Readme

swisstrip-mcp

The canonical SwissTrip MCP client. Connects AI assistants to Swiss Federal Railways (SBB / CFF / FFS) data: train schedules, station search, ticket prices, and direct ticket purchase links.

Backed by SwissTrip's hosted MCP service at https://mcp.swisstrip.app/mcp. Independent third-party implementation; not the official SBB MCP.

Install

Claude Desktop

Add to claude_desktop_config.json:

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

Cursor

Add to ~/.cursor/mcp.json:

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

Gemini CLI / Continue / other stdio MCP clients

Same pattern: command: npx, args: ["-y", "swisstrip-mcp"].

ChatGPT (Plus / Pro / Business / Enterprise with Developer Mode)

No install required. Add a custom connector pointing at:

https://mcp.swisstrip.app/mcp

Tools


View the full README on GitHub

Details

Repository
github.com/fabsbags/swisstrip-mcp
Package
swisstrip-mcp
Transport
STDIO, HTTP
Registry
MCP registry, active