swisstrip-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| SBB_MCP_URL | No | Same as SWISSTRIP_MCP_URL (legacy name, still supported). Default: https://mcp.swisstrip.app/mcp. | https://mcp.swisstrip.app/mcp |
| SWISSTRIP_MCP_URL | No | Override the hosted server URL. Default: https://mcp.swisstrip.app/mcp. | https://mcp.swisstrip.app/mcp |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {} |
| prompts | {} |
| resources | {
"subscribe": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| search_stationsA | 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. |
| search_connectionsA | 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. |
| get_trip_detailsA | Get detailed information about a specific train connection including all intermediate stops, platforms, and occupancy. Use a trip ID from search_connections results. |
| get_more_connectionsA | Load earlier or later train connections for a previous search. Use the collection ID from search_connections results. |
| get_pricesA | 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. |
| get_ticket_linkA | 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. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
| plan_journey | Plan a train journey in Switzerland — finds connections, compares prices, and provides ticket links |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| widget-stations-list | Card view of Swiss train station search results. |
| widget-connection-list | Card list of Swiss train connections with times, duration, and transfers. |
| widget-trip-details | Timeline view of a single train journey with stops, platforms, and occupancy. |
| widget-prices-table | Table view of 1st- and 2nd-class ticket prices for selected trips. |
| widget-ticket-card | SBB ticket purchase card with deep link that opens SBB.ch or the SBB mobile app. |
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Fabsbags/swisstrip-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server