Skip to main content
Glama

sbb-mcp

SwissTrip SBB MCP 서비스를 위한 MCP 클라이언트입니다. AI 어시스턴트를 스위스 연방 철도(SBB / CFF / FFS)의 실시간 데이터(열차 시간표, 역 검색, 티켓 가격, 직접 구매 링크)에 연결합니다.

이 패키지는 경량 클라이언트입니다. 모든 SBB API 액세스, 티켓팅 및 프로필 동기화는 호스팅된 SwissTrip 서버(https://mcp.swisstrip.app/mcp)에서 실행됩니다.

설치

Claude Desktop

claude_desktop_config.json에 추가하세요:

{
  "mcpServers": {
    "sbb": {
      "command": "npx",
      "args": ["-y", "sbb-mcp"]
    }
  }
}

Cursor

~/.cursor/mcp.json에 추가하세요:

{
  "mcpServers": {
    "sbb": {
      "command": "npx",
      "args": ["-y", "sbb-mcp"]
    }
  }
}

ChatGPT (Plus / Pro / Business / Enterprise with Developer Mode)

설치가 필요 없습니다. 다음을 가리키는 사용자 지정 커넥터를 추가하세요:

https://mcp.swisstrip.app/mcp

Related MCP server: swiss-rail-mcp

도구

  • search_stations — 스위스 역, 주소 및 관심 지점 검색

  • search_connections — 두 역 간의 열차 시간표

  • get_trip_details — 모든 중간 정차역을 포함한 상세 여정

  • get_more_connections — 이전 검색에 대한 이전 또는 이후 열차

  • get_prices — Halbtax / GA 할인이 적용된 티켓 가격

  • get_ticket_link — SBB.ch 직접 구매 링크

  • save_profile / get_profile — 여행 프로필을 로컬에 저장

  • list_travelers — 다인승 가족 요금 (SWISSTRIP_TOKEN 필요)

선택적 구성

환경 변수

목적

SWISSTRIP_TOKEN

SwissTrip 계정에서 여행자 프로필을 동기화합니다. https://swisstrip.app/settings/developer 에서 발급받으세요.

SBB_MCP_URL

호스팅된 서버 URL을 재정의합니다. 기본값: https://mcp.swisstrip.app/mcp.

라이선스

독점 소프트웨어입니다. LICENSE를 참조하세요. © 2026 SwissTrip.

상업적 라이선스 문의: fabsforward2@gmail.com.

Available Tools

9 tools
get_more_connectionsGet More ConnectionsA
Read-onlyIdempotent

Load earlier or later train connections for a previous search. Use the collection ID from search_connections results.

Inputs: collection_id (required), direction (required).

get_pricesGet PricesA
Read-onlyIdempotent

Get ticket prices for one or more train connections. Supports Half-Fare card (Halbtax) and GA travelcard discounts. When connected to SwissTrip (SWISSTRIP_TOKEN), pass traveler_names to get family pricing for multiple travelers.

Inputs: trip_ids (required), traveler_type, reduction_card, traveler_names.

get_profileGet Travel ProfileA
Read-onlyIdempotent

Read the user's saved travel profile. Check this before showing prices to use correct reduction card. If no profile exists, ask the user for their details.

Inputs: no named parameters.

get_trip_detailsGet Trip DetailsA
Read-onlyIdempotent

Get detailed information about a specific train connection including all intermediate stops, platforms, and occupancy. Use a trip ID from search_connections results.

Inputs: trip_id (required).

list_travelersList TravelersA
Read-onlyIdempotent

List all travelers in the user's SwissTrip account (self, partner, kids). Each traveler has their own reduction card. Use their names with get_prices for family trip pricing. Requires SWISSTRIP_TOKEN.

Inputs: no named parameters.

save_profileSave Travel ProfileA
Idempotent

Save the user's travel profile locally for future sessions. Call this after asking the user for their details (name, date of birth, reduction card). Data is stored at ~/.sbb-mcp/profile.json.

Inputs: first_name, last_name, date_of_birth, reduction_card, +1 more.

search_connectionsSearch ConnectionsA
Read-onlyIdempotent

Find train connections between two Swiss stations. Returns schedules with departure/arrival times, duration, transfers, and trip IDs for pricing.

Inputs: from (required), to (required), date, time, +1 more.

search_stationsSearch StationsA
Read-onlyIdempotent

Search for Swiss train stations, addresses, or points of interest by name. Returns station IDs needed for other tools.

Inputs: query (required), limit.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4.3/5.0

    Scored across 9 tools

    Disambiguation5/5

    Each tool targets a distinct aspect: station search, connection search, trip details, pricing, ticket link, loading more connections, profile read/save, and traveler listing. No overlapping purposes.

    Naming Consistency5/5

    All tools follow a consistent verb_noun pattern with underscores (e.g., search_connections, get_prices, list_travelers), making them predictable and easy to navigate.

    Tool Count5/5

    9 tools is well-scoped for a Swiss railway assistant, covering search, planning, pricing, purchase, and profile management without bloat or deficiency.

    Completeness4/5

    Covers core workflows: station search, connection search, trip details, pricing, purchase link, and profile. Minor gap in real-time delay information, but overall complete for travel planning and purchasing.

    Maintenance

    ActivityInactive
    ResponsivenessLimited data

    Related MCP Connectors

    Related MCP Servers