swisstrip-mcp
by Fabsbags
README.md
# 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`:
```json
{
"mcpServers": {
"swisstrip": {
"command": "npx",
"args": ["-y", "swisstrip-mcp"]
}
}
}
```
### Cursor
Add to `~/.cursor/mcp.json`:
```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 variable | Purpose |
|---|---|
| `SWISSTRIP_MCP_URL` | Override the hosted server URL. Default: `https://mcp.swisstrip.app/mcp`. |
| `SBB_MCP_URL` | Same 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](./LICENSE). © 2026 SwissTrip.
For commercial licensing inquiries: fabsforward2@gmail.com.
TDQS
A4.5/5.0
Scored across 6 tools
Disambiguation5/5
Each tool has a clearly distinct purpose: station search, connection search, trip details, pagination, pricing, and ticket purchase. No overlap or ambiguity between them.
Naming Consistency5/5
All tools follow a consistent verb_noun pattern (search_* for queries, get_* for retrievals) with clear and predictable names.
Tool Count5/5
6 tools is well-scoped for a Swiss railway information and ticket purchase server, covering essential operations without excess.
Completeness5/5
The tool set covers the full user journey: station lookup, connection search, details, pagination, pricing, and purchase link. No obvious gaps given the domain.
Maintenance
ActivityInactive
ResponsivenessNo issues