Sbb Transport
БесплатноНе проверенEnables querying Swiss public transport (trains, buses, trams, boats) for stations, connections, and station boards via the opendata.ch API.
Описание
Enables querying Swiss public transport (trains, buses, trams, boats) for stations, connections, and station boards via the opendata.ch API.
README
MCP server for Swiss public transport queries via the opendata.ch Transport API. Covers trains, buses, trams, and boats across Switzerland — no API key required.
Status: Ready
Prerequisites
- Bun runtime (
curl -fsSL https://bun.sh/install | bash) - No API keys needed — uses the public opendata.ch transport API
Install
git clone [email protected]:McCullonas/mcp-sbb-transport.git
cd mcp-sbb-transport
bun install
Available Tools
sbb_search_stations
Search for Swiss public transport stations by name.
Parameters:
query— Station name (e.g."Zürich HB","Bern","Luzern")limit(optional) — Max results (default 10)
Returns: station ID, name, and coordinates.
sbb_get_connections
Get train/public transport connections between two Swiss stations.
Parameters:
from— Origin station name or IDto— Destination station name or IDdate(optional) — Date asYYYY-MM-DD(default: today)time(optional) — Time asHH:MM(default: now)isArrivalTime(optional) — If true,timeis the desired arrival timelimit(optional) — Number of connections to return (default 4)
Returns: departure/arrival times, duration, number of transfers, platform numbers, journey sections.
sbb_get_stationboard
Get the departure or arrival board for a Swiss station.
Parameters:
station— Station name or IDdatetime(optional) — ISO 8601 datetime (default: now)type(optional) —"departure"or"arrival"(default: departure)limit(optional) — Number of entries (default 10)
Returns: transport category (IC, IR, S, Bus, etc.), line number, destination/origin, scheduled time, platform.
MCP Client Configuration
Add to your settings.json:
{
"mcpServers": {
"sbb-transport": {
"command": "bun",
"args": ["run", "/path/to/mcp-sbb-transport/src/index.ts"]
}
}
}
No environment variables required.
Development
bun run src/index.ts
bun build src/index.ts --outdir dist --target node
Data Source
Uses the opendata.ch Swiss Transport API, a community-run open data service. Free to use, no registration required. Data comes from SBB, PostBus, cantonal operators, and other Swiss public transport providers.
Licence
MIT
Установка Sbb Transport
У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.
▸ github.com/McCullonas/mcp-sbb-transportFAQ
Sbb Transport MCP бесплатный?
Да, Sbb Transport MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для Sbb Transport?
Нет, Sbb Transport работает без API-ключей и переменных окружения.
Sbb Transport — hosted или self-hosted?
Доступен hosted-вариант: Unyly запускает сервер в облаке, локальная установка не обязательна.
Как установить Sbb Transport в Claude Desktop, Claude Code или Cursor?
Открой Sbb Transport на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
GitHub
PRs, issues, code search, CI status
автор: GitHubFilesystem
Secure file operations with configurable access controls.
Memory
Knowledge graph-based persistent memory system.
Template MCP Server
A CLI tool to create a new Model Context Protocol server project with TypeScript support, dual transport options, and an extensible structure
автор: mcpdotdirectCompare Sbb Transport with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории development
