← Registry

Data Collection

lad.lviv.ua

Provides real-time and static public transit data including arrivals, routes, vehicle positions, and stop geometry.

1 endpoint8 known toolsFirst detected June 5, 2026Last detected July 22, 2026

ENDPOINT 1

https://api.lad.lviv.ua/mcp

No auth detected

MCP server metadata

Name
com.lad.lviv/timetable-api
Version
1.3.4
Capabilities
tools.listChangedresources.listChangedprompts.listChanged
Server instructions

Lviv, Ukraine public transport assistant. Read-only. No authentication required. ## Tool selection - User asks about arrivals or "when is the next bus/tram at stop X" → `get_stop_realtime` - User asks "where is route X right now" or wants live vehicle positions on a route → `get_route_realtime` - User asks which stops a route serves, wants a route map, or asks about departure times → `get_route_static` - User needs route polylines overlaid on an existing map (no live data needed) → `get_stop_geometry` - User provides an address or coordinates instead of a stop ID → `get_stops_around_location` first, then use the returned stop IDs - User asks "what vehicles are near me" or wants live vehicles near a location → `get_nearby_vehicles` - User wants to track a specific vehicle by ID → `get_vehicle_info` - User asks "how do I get from A to B" or needs trip planning → `plan_trip` ## Input conventions - Stop IDs are **numeric codes** printed on physical stop signage (e.g. 707). Accept both integer and digits-only string. - Route names are **short names** as shown on vehicles and stops (e.g. "T30", "32A"). Numeric external IDs are also accepted. - Never guess a stop ID from a place name — always call `get_stops_around_location` first when only an address or coordinates are given. ## UI contract Every tool response is a JSON object with three top-level keys: - `view` — always `"transit_realtime"` - `data` — the raw structured payload (use for text summaries and extraction) - `ui_blocks` — ordered rendering hints for map-capable clients; process in array order Block types: - `map` — render a map centred on `data.center [lat, lng]` at `data.zoom`. Plot `stops` as markers, `vehicles` as moving icons with `bearing`, `polylines` as route shapes. - `arrival_list` — render arrivals sorted by `arrival_minutes` ascending. Show `route`, `direction`, `vehicle_type`, and ETA. Vehicles with no ETA have `eta_status: "unassigned"`. Consistency rule: every vehicle shown on a map must either match an arrival in the list (by `vehicle_id`) or carry `eta_status: "unassigned"`. ## Data caveats - Live positions and ETAs come from upstream GTFS-RT feeds; occasional gaps or stale positions are expected. - `get_route_static` departure times (`departures` and `schedule.workday`/`schedule.weekend`) are only populated for direction 0 (outbound, first stop). - `direction` in `get_route_realtime` vehicles corresponds to the index into `get_route_static`'s `stops` array (0 = outbound, 1 = return). - `plan_trip` returns static route graph options; it does not account for current service disruptions or realtime delays.

Known tools 8

get_stop_realtime

Returns live arrivals and vehicle positions for a stop, producing both a map UI block and a structured arrival list.

get_route_static

Returns static route metadata: short and long name, vehicle type, brand colour, ordered stop lists for both directions, and route polylines (shapes) for map rendering.

get_route_realtime

Returns live positions for all vehicles currently running on a route, optimised for map rendering.

get_stop_geometry

Returns static map context for a stop: its marker and polylines for every route that serves it.

get_stops_around_location

Discovers transit stops near a geographic point, returning each stop's numeric code, name, coordinates, and walking distance.

get_nearby_vehicles

Returns live positions for all transit vehicles within 1 km of given coordinates.

get_vehicle_info

Returns full details for a specific transit vehicle by its ID: current position, bearing, route, license plate, direction, and upcoming stop arrivals.

plan_trip

Plans a transit trip from an origin stop to a destination stop using the static route graph.