rozklad-mcp
Polish train, bus & city transit timetables: journeys, departures, live delays, fares
Sollte ich dies verwenden
Qualität und Sicherheit
Basierend auf einer automatisierten Analyse der Tool-Definitionen und der Einhaltung des Protokolls.
Kontextkosten
Dies ist die ungefähre Anzahl der Tokens, die jedes Mal verbraucht werden, wenn die Tools des Servers in den Kontext eines Modells geladen werden. Höhere Werte verringern die Aufmerksamkeit, die für andere Aufgaben verfügbar ist.
Installieren
Installation mit einem Klick
Fügen Sie dies Ihrer Datei `claude_desktop_config.json` hinzu:
{
"mcpServers": {
"rozklad-mcp": {
"command": "npx",
"args": [
"rozklad-mcp"
]
}
}
}Ausführbare Pakete
0.3.4stdioRemote-Endpunkte
https://rozklad.compabase.com/mcpstreamable-httpWas es kann
Tool-Inventar
Tools (7)
🟢plan_journey(from, to, date, time, arrive_by, ...)
Find connections between two places in Poland, including changes between trains and buses (PKS). from/to accept a station name ("Poznań Główny"), a town ("Zakopane" = all its stops) or coordinates "52.40,16.91". Returns several options with times, platforms, operators, changes and live delays (today).
Eingabe-Schema
{
"type": "object",
"properties": {
"from": {
"type": "string",
"description": "Origin: station, town or 'lat,lon'"
},
"to": {
"type": "string",
"description": "Destination: station, town or 'lat,lon'"
},
"date": {
"type": "string",
"description": "Date: \"YYYY-MM-DD\", \"today\", \"tomorrow\", a weekday (\"friday\", \"piątek\") or \"DD.MM\". Default: today."
},
"time": {
"type": "string",
"description": "Local time \"HH:MM\" (Europe/Warsaw). Default: now (today) or 04:00 (other days)."
},
"arrive_by": {
"type": "boolean",
"description": "If true, `time` is the latest arrival time instead of the earliest departure."
},
"max_transfers": {
"type": "integer",
"minimum": 0,
"maximum": 6,
"description": "Maximum number of changes (default 3, 0 = direct only)."
},
"min_transfer_minutes": {
"type": "number",
"minimum": 0,
"maximum": 60,
"description": "Minimum time for a change (default 4)."
},
"modes": {
"type": "array",
"items": {
"type": "string",
"enum": [
"train",
"bus",
"tram",
"metro",
"ferry",
"all"
]
},
"description": "Restrict to these modes, e.g. [\"train\"] or [\"train\",\"bus\"]. Default: all loaded."
},
"results": {
"type": "integer",
"minimum": 1,
"maximum": 10,
"description": "Number of options (default 5)."
},
"live": {
"type": "boolean",
"description": "Include live delays (default true)."
}
},
"required": [
"from",
"to"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢departures(station, date, time, duration_minutes, direction, ...)
Departure (or arrival) board for a station or stop: time, live delay, train/bus line, platform, destination and main stops. Optionally only services going towards a given place.
Eingabe-Schema
{
"type": "object",
"properties": {
"station": {
"type": "string",
"description": "Station or stop name, e.g. 'Kraków Główny', 'Zbąszyń'"
},
"date": {
"type": "string",
"description": "Date: \"YYYY-MM-DD\", \"today\", \"tomorrow\", a weekday (\"friday\", \"piątek\") or \"DD.MM\". Default: today."
},
"time": {
"type": "string",
"description": "Local time \"HH:MM\" (Europe/Warsaw). Default: now (today) or 04:00 (other days)."
},
"duration_minutes": {
"type": "integer",
"minimum": 10,
"maximum": 1440,
"description": "Time window (default 120)."
},
"direction": {
"type": "string",
"description": "Only services that later call at this place, e.g. 'Poznań'."
},
"arrivals": {
"type": "boolean",
"description": "Show arrivals instead of departures."
},
"modes": {
"type": "array",
"items": {
"type": "string",
"enum": [
"train",
"bus",
"tram",
"metro",
"ferry",
"all"
]
},
"description": "Restrict to these modes, e.g. [\"train\"] or [\"train\",\"bus\"]. Default: all loaded."
},
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 100,
"description": "Max rows (default 30)."
},
"live": {
"type": "boolean"
}
},
"required": [
"station"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢trip_details(ref, train, date, live)
All stops of one train or bus run with times, platforms and live delays/cancellations. Identify it by `ref` (from plan_journey/departures) or by train number/name (e.g. '3510', 'IC 3510', 'Podhalanin') plus date.
Eingabe-Schema
{
"type": "object",
"properties": {
"ref": {
"type": "string",
"description": "Trip ref like 'polish-trains:PLK_IC_2026_123@2026-10-20'"
},
"train": {
"type": "string",
"description": "Train number or name"
},
"date": {
"type": "string",
"description": "Date: \"YYYY-MM-DD\", \"today\", \"tomorrow\", a weekday (\"friday\", \"piątek\") or \"DD.MM\". Default: today."
},
"live": {
"type": "boolean"
}
},
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢find_stops(query, limit, modes)
Search stations/stops by name (fuzzy, diacritics optional). Shows modes, coordinates and source feeds.
Eingabe-Schema
{
"type": "object",
"properties": {
"query": {
"type": "string",
"description": "Name or part of it, e.g. 'warszawa centr', 'Szklarska'"
},
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 50
},
"modes": {
"type": "array",
"items": {
"type": "string",
"enum": [
"train",
"bus",
"tram",
"metro",
"ferry",
"all"
]
},
"description": "Restrict to these modes, e.g. [\"train\"] or [\"train\",\"bus\"]. Default: all loaded."
}
},
"required": [
"query"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢nearby_stops(lat, lon, radius_m, modes)
Stations and stops within a radius of coordinates (e.g. after geocoding an address).
Eingabe-Schema
{
"type": "object",
"properties": {
"lat": {
"type": "number",
"minimum": 48,
"maximum": 56
},
"lon": {
"type": "number",
"minimum": 13,
"maximum": 25
},
"radius_m": {
"type": "integer",
"minimum": 50,
"maximum": 5000,
"description": "Default 800 m"
},
"modes": {
"type": "array",
"items": {
"type": "string",
"enum": [
"train",
"bus",
"tram",
"metro",
"ferry",
"all"
]
},
"description": "Restrict to these modes, e.g. [\"train\"] or [\"train\",\"bus\"]. Default: all loaded."
}
},
"required": [
"lat",
"lon"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢data_sources
Which carriers/feeds are loaded, their validity dates, licences and required attribution; which feeds can be enabled.
Eingabe-Schema
{
"type": "object",
"properties": {},
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢rail_disruptions(query, limit)
Current and upcoming disruptions on Polish railway lines from PKP PLK: track closures, replacement buses (ZKA), cancellations, diversions. Optional `query` filters by station name or text (e.g. "Kraków", "ZKA"). plan_journey, departures and trip_details already flag affected trains.
Eingabe-Schema
{
"type": "object",
"properties": {
"query": {
"type": "string",
"description": "Station name or text to filter by"
},
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 50,
"description": "Max results (default 15)"
}
},
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}Community
Nachweis