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,需开启开发者模式)

无需安装。添加一个指向以下地址的自定义连接器:

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

Install Server
A
license - permissive license
A
quality
D
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

View all related MCP servers

Related MCP Connectors

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

  • Swiss Transport MCP — wraps Transport Open Data API (free, no auth)

  • iRail MCP — Belgian rail (SNCB/NMBS) real-time via the community iRail API

View all MCP Connectors

Latest Blog Posts

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/sbb-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server