European Trains
БесплатноНе проверенSearch train schedules, find stations, and check disruptions across European rail networks.
Описание
Search train schedules, find stations, and check disruptions across European rail networks.
README
Real-time European train search for AI assistants. Search any route the Deutsche Bahn network knows about, that's most of Europe.
What it does
search_trains- find journeys with times, prices, duration, changes, and a booking linkfind_station- search for stations by name with IDs and available servicesget_disruptions- check current delays and cancellations at any station
Tested routes
Berlin > München, Budapest > Wien, Prague > Berlin
Amsterdam > Brussels, Copenhagen > Hamburg, Zagreb > Wien
Budapest > Zell am See, Bucharest > Budapest, Zurich > Milan
Prices available on DB-operated services (ICE, IC, RE). Timetables available for ÖBB, MÁV, DSB, SNCB, NS, and more.
Setup
Claude Code
claude mcp add european-trains -- npx -y european-trains-mcp
Claude Desktop
Add to ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"european-trains": {
"command": "npx",
"args": ["-y", "european-trains-mcp"]
}
}
}
Cursor
Add to .cursor/mcp.json:
{
"mcpServers": {
"european-trains": {
"command": "npx",
"args": ["-y", "european-trains-mcp"]
}
}
}
Windsurf
Add to ~/.codeium/windsurf/mcp_config.json:
{
"mcpServers": {
"european-trains": {
"command": "npx",
"args": ["-y", "european-trains-mcp"]
}
}
}
Example
"Find me trains from Budapest to Zell am See tomorrow"
Journey 1 of 5
Budapest-Keleti > Zell am See
Depart: 06:40, Arrive: 13:42
Duration: 7h 2min, 2 changes, EC 342 > RJX 262 > IR 716
Price unavailable
Book: https://www.trainline.com/search?...&outward_time=06:40
Journey 2 of 5
...
"Any delays at Berlin Hbf?"
Disruptions at Berlin Hbf: 12 affected departures
FLX 1238 > Hamburg Hbf: +133min (planned 15:08)
ICE 1101 > München Hbf: +5min (planned 15:36)
...
Requirements
Node.js 22 or later. Check with node -v. If you use nvm: nvm install 22 && nvm alias default 22.
No API key needed
Uses db-vendo-client to talk directly to Deutsche Bahn's API. No registration, no key.
How it works
The Deutsche Bahn API covers train routes across most of Europe, not just Germany. One query can return journeys from Budapest to Prague, Copenhagen to Hamburg, or Brussels to Amsterdam.
This server wraps that API with caching, retry logic, Zod validation, and booking links.
Affiliate disclosure
Journey results include a Trainline booking link. These don't affect search results or rankings. Data comes from the Deutsche Bahn API.
To disable booking links:
{
"mcpServers": {
"european-trains": {
"command": "npx",
"args": ["-y", "european-trains-mcp"],
"env": { "DISABLE_AFFILIATE": "true" }
}
}
}
Roadmap
- SNCF API for better French coverage and pricing
- NS API for Dutch pricing
- Seat availability
- Return ticket search
Contributing
PRs welcome. Open an issue first for major changes.
License
MIT
Установить European Trains в Claude Desktop, Claude Code, Cursor
unyly install european-trainsСтавит в Claude Desktop, Claude Code, Cursor и VS Code — сам разбирается с npx, uvx и сборкой из исходников.
Впервые? Поставь CLI: curl -fsSL https://unyly.org/install | sh
Или настроить вручную
Выполни в терминале:
claude mcp add european-trains -- npx -y european-trains-mcpПошаговые гайды: как установить European Trains
FAQ
European Trains MCP бесплатный?
Да, European Trains MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для European Trains?
Нет, European Trains работает без API-ключей и переменных окружения.
European Trains — hosted или self-hosted?
Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.
Как установить European Trains в Claude Desktop, Claude Code или Cursor?
Открой European Trains на 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 European Trains with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории development
