Faceabot Transit Switzerland (SBB/CFF)
Swiss trains and public transport: live connections and departures. Official data, free, no key.
我该使用它吗
质量与安全性
基于对工具定义和协议合规性的自动分析。
上下文开销
这是每次将服务器的工具加载到模型上下文窗口时所消耗的大致 token 数。数值越高,可用于其他任务的注意力就越少。
安装
一键安装
将以下内容添加到你的 `claude_desktop_config.json` 文件中:
{
"mcpServers": {
"transit-switzerland": {
"url": "https://faceabot.com/tools-mcp/ch-rail"
}
}
}远程端点
https://faceabot.com/tools-mcp/ch-railstreamable-http它能做什么
工具清单
工具(3)
🟢ch_connections(from, to, date, time, time_is, ...)
Journeys between two places in Switzerland by train, bus, tram or boat (SBB/CFF/FFS, PostBus and all Swiss operators): departure and arrival times, platforms, transfers, live delays. Use when: someone needs to travel by public transport in Switzerland (e.g. Zürich to Geneva). Example: {"from":"Zürich HB","to":"Genève"}
输入模式
{
"type": "object",
"properties": {
"from": {
"type": "string",
"description": "Departure station or stop (Zürich HB, Genève, Lausanne, Bern, Basel SBB, Lugano…)"
},
"to": {
"type": "string",
"description": "Arrival station or stop"
},
"date": {
"type": "string",
"description": "Optional day, YYYY-MM-DD (Swiss time). Default: today"
},
"time": {
"type": "string",
"description": "Optional time HH:MM (Swiss time). Default: now"
},
"time_is": {
"type": "string",
"enum": [
"departure",
"arrival"
],
"default": "departure"
},
"results": {
"type": "integer",
"minimum": 1,
"maximum": 6,
"default": 3
}
},
"required": [
"from",
"to"
],
"additionalProperties": false
}🟢ch_station_departures(station, results)
Next departures (train, bus, tram) from one Swiss station or stop: time, line, destination, platform, live delay. Use when: someone is at (or going to) a Swiss station and wants the next departures. Example: {"station":"Bern"}
输入模式
{
"type": "object",
"properties": {
"station": {
"type": "string",
"description": "Station or stop name"
},
"results": {
"type": "integer",
"minimum": 1,
"maximum": 20,
"default": 8
}
},
"required": [
"station"
],
"additionalProperties": false
}🟢ch_find_station(query)
Finds the exact Swiss station or stop names matching a word (German, French or Italian names). Use when: a place name is ambiguous or misspelled. Example: {"query":"Lausanne"}
输入模式
{
"type": "object",
"properties": {
"query": {
"type": "string",
"description": "Part of the station or stop name"
}
},
"required": [
"query"
],
"additionalProperties": false
}社区
证据