sbb-mcp
v0.6.3
Published
Brand-protective alias for swisstrip-mcp. Independent MCP client by SwissTrip; not the official SBB MCP. Use swisstrip-mcp directly.
Maintainers
Readme
sbb-mcp
Independent MCP client by SwissTrip™ — connects AI assistants to Swiss Federal Railways (SBB / CFF / FFS) data: train schedules, station search, ticket prices with Halbtax / GA discounts, and direct purchase links via SBB's SMAPI.
Try it live (no install) → Add https://mcp.swisstrip.app/mcp as a custom connector in ChatGPT (Plus / Pro / Business / Enterprise with Developer Mode).
The package itself is a thin client. All SBB API access, ticketing, and profile sync run on the hosted SwissTrip server at https://mcp.swisstrip.app/mcp.
What it can do — example questions you can ask your AI
Once connected, ask in any supported language:
- "When's the next train from Zurich HB to Bern?"
- "Find me an evening connection from Geneva to Lugano next Friday for 2 adults with Halbtax."
- "How much is a 2nd class ticket from Basel to Lausanne?"
- "Quand part le prochain train pour Genève?" (French)
- "Quanto costa un biglietto da Milano a Zurigo?" (Italian)
- "Wann fährt der nächste Zug nach Basel?" (German)
The AI calls the right MCP tool under the hood and returns a direct purchase link to sbb.ch.
Tools
search_stations— find Swiss stations, addresses, and points of interestsearch_connections— train schedules between two stationsget_trip_details— detailed trip with all intermediate stopsget_more_connections— earlier or later trains for a previous searchget_prices— ticket prices with Halbtax / GA / Sparbillet discountsget_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.
Install
Claude Desktop
Add to claude_desktop_config.json:
{
"mcpServers": {
"sbb": {
"command": "npx",
"args": ["-y", "sbb-mcp"]
}
}
}Cursor
Add to ~/.cursor/mcp.json:
{
"mcpServers": {
"sbb": {
"command": "npx",
"args": ["-y", "sbb-mcp"]
}
}
}ChatGPT (Plus / Pro / Business / Enterprise with Developer Mode)
No install required. Add a custom connector pointing at:
https://mcp.swisstrip.app/mcpOther MCP-compatible clients
The hosted endpoint at https://mcp.swisstrip.app/mcp follows the MCP HTTP transport spec, so any compliant client works. The npm proxy is only needed for clients that require stdio.
Optional configuration
| Environment variable | Purpose |
|---|---|
| SBB_MCP_URL | Override the hosted server URL. Default: https://mcp.swisstrip.app/mcp. |
Links
- Web app: https://swisstrip.app
- Live MCP endpoint: https://mcp.swisstrip.app/mcp
- Source (proxy): https://github.com/Fabsbags/sbb-mcp
- MCP Registry listing:
io.github.Fabsbags/sbb-mcp
License
Proprietary. See LICENSE. © 2026 SwissTrip™ (CH trademark Gesuchnummer 07184/2026, Wortmarke).
For commercial licensing inquiries: [email protected].
