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
}社群
證據