Back to Directory/Developer Tools

io.github.Fabsbags/swisstrip-mcp

Canonical SwissTrip MCP — independent SBB/CFF/FFS schedules, prices, and ticket links by SwissTrip.

Developer ToolsJavaScriptv0.6.3

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

  • 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 / Sparbillet discounts
  • get_ticket_link — direct purchase link to SBB.ch

Languages

Tool descriptions and natural-language responses available in 9 languages: English, German, French, Italian, Spanish, Portuguese, Dutch, Polish, Russian.

Optional configuration

Environment variablePurpose
SWISSTRIP_MCP_URLOverride the hosted server URL. Default: https://mcp.swisstrip.app/mcp.
SBB_MCP_URLSame as above (legacy name, still supported).

Aliases (also published, all spawn this canonical package)

The following npm packages are brand-protective aliases that spawn swisstrip-mcp:

  • swisstrip, swisstrip-ai, swisstrip-server — SwissTrip-branded
  • sbb-mcp, sbb-mcp-official, sbb-cff-ffs-mcp — SBB-themed (may transfer to SBB AG on request)
  • swiss-rail-mcp, swiss-railways-mcp, swiss-train-mcp — generic descriptive

Recommended: install swisstrip-mcp directly. The aliases exist for discoverability and brand protection.

License

Proprietary. See LICENSE. © 2026 SwissTrip.

For commercial licensing inquiries: fabsforward2@gmail.com.

Installation

Source-derived launch command. Check the maintainer’s required arguments and credentials before running:

bash
npx -y swisstrip-mcp

Set up in your AI client

Merge this template into ~/Library/Application Support/Claude/claude_desktop_config.json. Keep existing servers. Add any arguments, credentials, and permissions required by the maintainer; this template has not been install-tested.

json
{
  "mcpServers": {
    "io-github-fabsbags-swisstrip-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "swisstrip-mcp"
      ]
    }
  }
}

Restart Claude Desktop completely for changes to take effect. Confirm the server appears connected in the client’s tool list, then try a read-only example from its documentation.

Claude Desktop setup reference

Package

swisstrip-mcpnpm

Compatible MCP Clients

io.github.Fabsbags/swisstrip-mcp works with any MCP-compatible client. Copy the config snippet from the Configuration section above and add it to the file shown for your client, then restart the application.

  • Claude Desktop~/Library/Application Support/Claude/claude_desktop_config.jsonRestart Claude Desktop completely for changes to take effect.
  • Cursor~/.cursor/mcp.jsonRestart Cursor for changes to take effect.
  • VS Code.vscode/mcp.jsonReload VS Code window for changes to take effect.
  • Windsurf~/.codeium/windsurf/mcp_config.jsonRestart Windsurf for changes to take effect.
  • Claude Code.mcp.jsonSave at the project root, then start Claude Code in that project and review the MCP server approval prompt. Keep real credentials out of shared files.

Learn More