# rozklad-mcp

Find routes across Poland by train, bus, and city transit, then check departures and delays. Useful for planning a trip or checking a station’s live board.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · ★ 33
- Author: ContentWriterco
- License: MIT · policy=link-only · description only; the file stays with the author
- Source: https://github.com/ContentWriterco/rozklad-mcp
- Updated: 2026-10-23
- HTML: https://affpapa.org/en/nevibecode/mcp/rozklad-mcp

## What it does

The server searches journeys between stations and cities, including trips that change between trains and buses. It can return departure boards, station-by-station train delays, cancellations, diversions, and weather alerts. City transit coverage spans about 25 cities; live transit updates are available for Kraków, Poznań, Gdańsk, and Szczecin.

For several rail operators, journey results include a fare calculated from the operator’s published tariff. That figure is the maximum standard-ticket price, before discounts; a Koleo link provides a route for checking current prices and buying a ticket. Rail disruption data works on the public server without setup, but a local deployment needs the free `ROZKLAD_PLK_API_KEY` for that feature.

## Requirements
- Needs: Node.js (commands run via npx)
- Remote server: `https://rozklad.compabase.com/mcp`
- Environment variables: `ROZKLAD_FEEDS` — keys and tokens: ask the human for the values, never commit them or put them in shared files.

## Install

### Claude Code (native platform)

1. **Platform CLI: remote server**
```bash
claude mcp add --transport http rozklad-mcp https://rozklad.compabase.com/mcp
```

2. **Platform CLI**
```bash
claude mcp add --env ROZKLAD_FEEDS=<ROZKLAD_FEEDS> --transport stdio rozklad-mcp -- npx -y rozklad-mcp
```
Replace <…> with your own values

### Codex

1. **Platform CLI: remote server**
```bash
codex mcp add rozklad-mcp --url https://rozklad.compabase.com/mcp
```

2. **Platform CLI**
```bash
codex mcp add rozklad-mcp --env ROZKLAD_FEEDS=<ROZKLAD_FEEDS> -- npx -y rozklad-mcp
```
Replace <…> with your own values

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "rozklad-mcp": {
            "url": "https://rozklad.compabase.com/mcp"
        }
    }
}
```
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "rozklad-mcp": {
            "command": "npx",
            "args": [
                "-y",
                "rozklad-mcp"
            ],
            "env": {
                "ROZKLAD_FEEDS": "<ROZKLAD_FEEDS>"
            }
        }
    }
}
```
Replace <…> with your own values

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "rozklad-mcp": {
            "type": "http",
            "url": "https://rozklad.compabase.com/mcp"
        }
    }
}
```
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "rozklad-mcp": {
            "type": "stdio",
            "command": "npx",
            "args": [
                "-y",
                "rozklad-mcp"
            ],
            "env": {
                "ROZKLAD_FEEDS": "<ROZKLAD_FEEDS>"
            }
        }
    }
}
```
Replace <…> with your own values

### Gemini CLI

1. **Platform CLI: remote server**
```bash
gemini mcp add -t http rozklad-mcp https://rozklad.compabase.com/mcp
```

2. **Platform CLI**
```bash
gemini mcp add -e ROZKLAD_FEEDS=<ROZKLAD_FEEDS> rozklad-mcp npx -y rozklad-mcp
```
Replace <…> with your own values

## When to use it
- find a Polish journey with a train-to-bus transfer
- check departures and delays at a station
- see whether a train is cancelled or diverted
- check a rail journey’s tariff-based fare
- locate stops near a chosen point

## Example prompts
- Find a route from Wrocław to Zakopane for tomorrow, arriving by 9:00, and include transfers.
- Show current departures from Kraków Rondo Mogilskie.
- Check the delay and stops for the Podhalanin train.

## Similar
- [REA](https://affpapa.org/en/nevibecode/mcp/rea.md) — MCP server · ★ 386989
- [GitHub](https://affpapa.org/en/nevibecode/mcp/github.md) — MCP server · ★ 33918
- [Netdata](https://affpapa.org/en/nevibecode/mcp/netdata.md) — MCP server · ★ 81115
- [browser-use](https://affpapa.org/en/nevibecode/mcp/browser-use.md) — MCP server · ★ 119160
- [Codebase Memory](https://affpapa.org/en/nevibecode/mcp/codebase-memory.md) — MCP server · ★ 47392
- [mcp-server](https://affpapa.org/en/nevibecode/mcp/mcp-server.md) — MCP server · ★ 43872

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
