sbb-mcp
Swiss Federal Railways (SBB/CFF/FFS) MCP server — real-time train schedules, ticket prices with Half-Fare/GA support, and direct purchase links via official SBB SMAPI
sbb-mcp
This package is now an alias for
swisstrip-mcp. New users should installswisstrip-mcpdirectly: it is the canonical SwissTrip MCP client. Thesbb-mcpname continues to work — it spawnsswisstrip-mcpas 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/mcp
Existing 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 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 discountsget_ticket_link— direct purchase link to SBB.chsave_profile/get_profile— save your travel profile locallylist_travelers— multi-traveler family pricing (requiresSWISSTRIP_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: [email protected].
Related Servers
Admit Coach — University Finder
Search 3,500+ US universities, estimate admission chances, check financial aid by income bracket, and build balanced college lists. Free MCP server, no API key required. Data from IPEDS and College Scorecard
Kali MCP Server
A Python MCP Server that connects Large Language Models natively to a comprehensive suite of offensive security tools.
MCP Location Services for LLM
Provides geocoding, reverse geocoding, routing, and driving distance calculations for LLMs using pgGeocoder and pgrServer.
MCP Trakt
Access real-time entertainment data and personal viewing history from the Trakt.tv API.
Meme MCP Server
Generate memes using the ImgFlip API. Requires ImgFlip account credentials.
FinancialData.Net MCP Server
Stock Market & Financial Data MCP Server – FinancialData.Net
Stock Analysis
An MCP server for stock analysis, offering tools for chip distribution, pattern analysis, trend reversal detection, and market scanning.
humanMCP Marketplace
Federated search across personal humanMCP servers. Find listings, offers, trades by humans. SQLite + FTS5, 3 MCP tools: search_marketplace, list_servers, get_server.
PiAPI
PiAPI MCP server makes user able to generate media content with Midjourney/Flux/Kling/Hunyuan/Udio/Trellis directly from Claude or any other MCP-compatible apps.
ClawPay MCP
Non-custodial x402 payment layer for AI agents. Agents sign transactions locally on Base — no custodial infrastructure, no API keys, no KYC.