Koleo MCP Server
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Koleo MCP ServerFind connections from Krakow to Warsaw for tomorrow morning"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
koleo-mcp
MCP server for the Koleo Polish train timetable API.
It exposes 14 tools you can call from Claude Desktop (or any MCP client) to search stations, departures/arrivals, connections, train routes, seat data, and realtime timetable.
Requirements
Python 3.12+
pip
Related MCP server: mcp-national-rail
Quick start (copy/paste)
git clone https://github.com/MBratkowski/koleo-mcp.git
cd koleo-mcp
python3 -m pip install -e .
python3 server.pyIf server.py starts without crashing, the server is ready.
How to test the server (easy mode)
Run the MCP inspector:
mcp dev server.pyThen in the inspector UI call these tools:
tool_search_stationswith:query:Krakow
tool_get_departureswith:station:Krakow Glowny
tool_search_connectionswith:start:Krakowend:Warszawalength:3
tool_get_brandstool_get_realtime_timetablewith:train_id: any integer (for example12345)
Each tool returns JSON with at least:
datasummarykoleo_url
On errors you also get an error key.
How to use with Claude Desktop
Add this to ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"koleo": {
"command": "python3",
"args": ["/absolute/path/to/koleo-mcp/server.py"]
}
}
}Replace /absolute/path/to/koleo-mcp/server.py with your real path.
Restart Claude Desktop.
Authentication (optional, needed for realtime tool)
Create ~/.config/koleo-mcp/config.json:
{
"email": "your@email.com",
"password": "yourpassword"
}You can override the config path with KOLEO_MCP_CONFIG.
If auth is missing, tool_get_realtime_timetable returns a friendly auth_required error.
Available tools
Tool | Description |
| Search stations by name |
| Station address, opening hours, facilities |
| Departures from a station |
| Arrivals at a station |
| All trains (departures + arrivals) at a station |
| Find connections A->B |
| Train route by brand + number |
| Train route by Koleo train ID |
| Operating dates for a train |
| Live timetable (auth required) |
| Seat occupancy stats on a route |
| Raw seat map by connection ID |
| List train brands |
| List carriers |
Troubleshooting
ModuleNotFoundError: runpython3 -m pip install -e .again.SSL certificate errors on macOS/Python.org builds: install certificates for your Python installation and retry.
auth_requiredfor realtime tool: add~/.config/koleo-mcp/config.jsonas shown above.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseAqualityCmaintenanceAn MCP server that enables AI assistants to interact with the Netherlands Railways (NS) API for route planning, pricing, and real-time departure information. It provides tools for searching stations, planning trips with connections, and viewing real-time departure boards.Last updated31MIT
- Flicense-qualityFmaintenanceAn MCP server to retrieve train schedules from National Rail using the Realtime Trains API, providing tools for live departures and arrivals.Last updated7
- AlicenseAqualityAmaintenanceAn MCP server for Swiss Federal Railways (SBB) open data, enabling AI models to query real-time disruptions, passenger frequencies, station details, and more without an API key.Last updated101MIT
- Alicense-qualityDmaintenanceAn MCP server for real-time Italian railway data, enabling natural language queries about train schedules, delays, departures, arrivals, and live tracking via the Viaggiatreno API.Last updated4MIT
Related MCP Connectors
This MCP server provides seamless access to Malaysia's government open data, including datasets, w…
Geo-based flight search MCP server. Find more flights between any two places on earth
Hotel booking MCP server. Search, book, and manage reservations across 250K+ properties worldwide.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/MBratkowski/koleo-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server