Real-time Swiss public transport data: train, bus, and tram schedules from SBB and regional operators.
Real-time Swiss public transport data: train, bus, and tram schedules from SBB and regional operators.
Real-time Swiss public transport data: train, bus, and tram schedules from SBB and regional operators.
直接复制以下提示词,发送给你的 AI 助手即可完成安装。
# Swiss Transport
Real-time Swiss public transport data: train, bus, and tram schedules from SBB and regional operators.
## search_stations
Find stations by name. Returns station ID, name, and coordinates.
## get_connections
Route planning between two locations. Returns departure/arrival times, duration, number of transfers, platform numbers, delays, and a breakdown of each journey section (which train/bus, intermediate stops).
## get_stationboard
Live departure board for any station. Shows the next departures with line name, category, destination, platform, and delay information.
## Example: Zurich to Bern connections
```bash
curl -X POST https://gateway.pipeworx.io/swisstransport/mcp \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"get_connections","arguments":{"from":"Zurich HB","to":"Bern","limit":3}}}'
```
## Example: departures from Geneva
```bash
curl -X POST https://gateway.pipeworx.io/swisstransport/mcp \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"get_stationboard","arguments":{"station":"Geneve","limit":5}}}'
```
```json
{
"mcpServers": {
"swisstransport": {
"url": "https://gateway.pipeworx.io/swisstransport/mcp"
}
}
}
```
文件内容直接读取自技能仓库,仅供安装前审阅;以实际下载的压缩包为准。