sbb-mcp
Independent MCP client for Swiss Federal Railways (SBB/CFF/FFS) — schedules, prices, and ticket links via SBB's SMAPI. Third-party implementation by SwissTrip; not the official SBB MCP.
Documentation
sbb-mcp
> **This package is now an alias for `swisstrip-mcp`.**
> New users should install `swisstrip-mcp` directly: it is the canonical SwissTrip MCP client.
> The `sbb-mcp` name continues to work — it spawns `swisstrip-mcp` as a child process — so existing integrations don't break.
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.
Thin client. All SBB API access, ticketing, and profile sync run on the hosted SwissTrip server at `https://mcp.swisstrip.app/mcp`.
Install (recommended: use the canonical name)
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"]
}
}
}ChatGPT (Plus / Pro / Business / Enterprise with Developer Mode)
No install required. Add a custom connector pointing at:
https://mcp.swisstrip.app/mcpExisting `sbb-mcp` configurations
Already running `npx -y sbb-mcp`? Nothing changes — it still works and forwards to the same hosted service. To migrate to the canonical name, swap `sbb-mcp` → `swisstrip-mcp` in your client config when convenient.
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 discounts
- `get_ticket_link` — direct purchase link to SBB.ch
- `save_profile` / `get_profile` — save your travel profile locally
- `list_travelers` — multi-traveler family pricing (requires `SWISSTRIP_TOKEN`)
Optional configuration
| Environment variable | Purpose |
|---|---|
| `SWISSTRIP_TOKEN` | Sync your traveler profile from your SwissTrip account. Mint at https://swisstrip.app/settings/developer. |
| `SWISSTRIP_MCP_URL` | Override the hosted server URL. Default: `https://mcp.swisstrip.app/mcp`. |
| `SBB_MCP_URL` | Same as above (legacy name, still supported). |
Why was this renamed?
`sbb-mcp` started as the canonical npm package. To protect against future trademark conflicts (the SBB acronym belongs to Schweizerische Bundesbahnen) the canonical implementation now lives at `swisstrip-mcp`, which is registered under the SwissTrip™ trademark. `sbb-mcp` and 8 other npm names (`sbb-mcp-official`, `sbb-cff-ffs-mcp`, `swiss-rail-mcp`, `swiss-railways-mcp`, `swiss-train-mcp`, `swisstrip`, `swisstrip-ai`, `swisstrip-server`) are 1-line spawners that depend on `swisstrip-mcp`.
This means: if any one of the SBB-themed names ever needs to be transferred or removed, every existing integration keeps running unchanged because they all forward to the canonical `swisstrip-mcp`.
License
Proprietary. See LICENSE. © 2026 SwissTrip.
For commercial licensing inquiries: fabsforward2@gmail.com.
Frequently asked questions
What is sbb-mcp?
sbb-mcp is Independent MCP client for Swiss Federal Railways (SBB/CFF/FFS) — schedules, prices, and ticket links via SBB's SMAPI. Third-party implementation by SwissTrip; not the official SBB MCP.
How do I install sbb-mcp?
Open the GitHub repository and follow its README. Most MCP servers are added to your client's MCP config, then called by your agent.
Is sbb-mcp open source?
Yes — it is hosted on GitHub at https://github.com/Fabsbags/sbb-mcp and has 3 stars.
Related MCP tools
Official remote MCP server for Atlassian. Securely connect Jira, Confluence, Jira Service Management, Bitbucket, and Compass to Claude, ChatGPT, Cursor, VS Code, and other AI tools using OAuth 2.1 or API tokens.
AI Skills, MCP Tools, and CLI for Unity Engine. Full AI develop and test loop. Use cli for quick setup. Efficient token usage, advanced tools. Any C# method may be turned into a tool by a single line. Works with Claude Code, Gemini, Copilot, Cursor and any other absolutely for free.
🔥 Official Firecrawl MCP Server - Adds powerful web scraping and search to Cursor, Claude and any other LLM clients.
A powerful Zotero AI and MCP plugin with ChatGPT, Gemini 3.7, Claude Fable 5, Claude Opus 5, DeepSeek V4, Grok, OpenRouter, Kimi k3, GLM 5.3, SiliconFlow, GPT-oss, Gemma 4, Qwen 3.8
Unity MCP acts as a bridge between AI assistants and your Unity Editor. Give your LLM tools to manage assets, control scenes, edit scripts, and automate tasks within Unity.
Expose your FastAPI endpoints as Model Context Protocol (MCP) tools, with Auth! Python-based implementation. Trusted by 11000+ developers.
Run your own MCP server? See who uses it and what to fix.
Measure it with TrackMCP