# swisstrip-mcp MCP server

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

## Links
- Registry page: https://www.getdrio.com/mcp/io-github-fabsbags-swisstrip-mcp
- Repository: https://github.com/Fabsbags/swisstrip-mcp

## Install
- Command: `npx -y swisstrip-mcp`
- Endpoint: https://mcp.swisstrip.app/mcp
- Auth: Not captured

## Setup notes
- Package: Npm swisstrip-mcp v0.6.3
- Environment variable: SWISSTRIP_MCP_URL
- Remote endpoint: https://mcp.swisstrip.app/mcp

## Tools
- search_stations (Search Stations) - Search for Swiss train stations, addresses, or points of interest by name. Returns UIC station IDs (e.g. "8503000" for Zürich HB) used by the other tools. Note: search_connections accepts station names directly, so this tool is only needed when the user explicitly asks for station info or when you need disambiguation between multiple matches. Endpoint: https://mcp.swisstrip.app/mcp
- search_connections (Search Connections) - Find train connections between two Swiss stations. Accepts station names directly (e.g. "Zürich HB", "Bern") or UIC IDs — name resolution happens internally. Returns live schedules with departure/arrival times, duration, transfers, and trip IDs for downstream pricing/details/ticket calls. Live data: includes delays and cancellations for trains departing within 30 min. Endpoint: https://mcp.swisstrip.app/mcp
- get_trip_details (Get Trip Details) - Get detailed information about a specific train connection including all intermediate stops, platforms, and occupancy. Use a trip ID from search_connections results. Endpoint: https://mcp.swisstrip.app/mcp
- get_more_connections (Get More Connections) - Load earlier or later train connections for a previous search. Use the collection ID from search_connections results. Endpoint: https://mcp.swisstrip.app/mcp
- get_prices (Get Prices) - Get ticket prices in CHF for one or more train connections. Supports Half-Fare card (Halbtax) and GA travelcard discounts. Up to 10 trip_ids per call — batch them in a single request rather than calling once per connection. Use trip_ids from a recent search_connections result; do not invent IDs. Endpoint: https://mcp.swisstrip.app/mcp
- get_ticket_link (Get Ticket Link) - Get a direct purchase link to buy a train ticket on SBB.ch. Only call this when the user wants to buy a specific ticket. On mobile with SBB app installed, opens directly in the app with Halbtax/GA applied automatically. Endpoint: https://mcp.swisstrip.app/mcp

## Resources
- ui://widget/stations-list.html - Stations Card view of Swiss train station search results. MIME type: text/html+skybridge
- ui://widget/connection-list.html - Train connections Card list of Swiss train connections with times, duration, and transfers. MIME type: text/html+skybridge
- ui://widget/trip-details.html - Trip details Timeline view of a single train journey with stops, platforms, and occupancy. MIME type: text/html+skybridge
- ui://widget/prices-table.html - Ticket prices Table view of 1st- and 2nd-class ticket prices for selected trips. MIME type: text/html+skybridge
- ui://widget/ticket-card.html - Buy ticket SBB ticket purchase card with deep link that opens SBB.ch or the SBB mobile app. MIME type: text/html+skybridge

## Prompts
- plan_journey - Plan a train journey in Switzerland — finds connections, compares prices, and provides ticket links Arguments: from, to, date

## Metadata
- Owner: io.github.Fabsbags
- Version: 0.6.3
- Runtime: Npm
- Transports: STDIO, HTTP
- License: Not captured
- Language: Not captured
- Stars: Not captured
- Updated: Apr 28, 2026
- Source: https://registry.modelcontextprotocol.io
