Skip to main content
Glama

Lviv Public Transport

Server Details

Lviv public transport MCP: stops, timetables, routes, and live vehicle positions. No API key.

If you are the author of this connector, you can claim ownership. Claimed connector authors can inspect health checks, view analytics, and manage their listing.
Status
Healthy
Uptime
100.0% over the last 24 hours
Last Tested
Transport
Streamable HTTP · MCP 2025-11-25
URL
Repository
vbhjckfd/timetable-api-node
GitHub Stars
3
Server Listing
mcp-lad-lviv-ua
ChatGPT
–
Claude
–

TDQS

A4.5/5.0

Scored across 9 tools

Disambiguation5/5

Each tool targets a distinct scope: trip planning (find_routes_between), static vs live route data (get_route_static / get_route_realtime), stop arrivals (get_stop_realtime), point-based vehicle proximity (get_nearby_vehicles), and single-vehicle tracking (get_vehicle_info). Descriptions explicitly disambiguate the closest pairs (e.g. 'prefer get_route_realtime for a whole route', 'use search_stops when you have a stop name'), and stop lookups are cleanly split by name vs coordinates.

Naming Consistency4/5

Nearly all tools follow a get_<resource>_<qualifier> snake_case pattern (get_route_realtime, get_stop_realtime, get_stops_around_location). Minor deviations are find_routes_between and search_stops, which use different verbs but remain semantically predictable and readable.

Tool Count5/5

Nine tools is well within the ideal 3-15 range and each earns its place: search/locate stops, plan trips, static route info, live vehicles by route/point/vehicle, live arrivals, and disruptions. No redundant or filler tools.

Completeness4/5

The surface covers the full transit workflow: locating stops, planning trips, static schedules, live vehicle/arrival tracking, and disruptions. Minor gaps exist — no tool to browse or search routes by name/number (callers must already know a route short name for get_route_static/get_route_realtime), and no per-stop/route alert beyond get_disruptions — but these are workable around.

Available Tools

9 tools
find_routes_betweenFind Routes Between StopsA
Read-onlyIdempotent
Inspect

Lists the routes from one place to another: which stop to board, where to get off, the direction's destination, stops in between, and the walk at each end — best first, walking counted. Each end is a stop ID (from_stop_id) or coordinates (from_lat + from_lng), e.g. an address the user gave; a point covers every stop within a 600 m walk of it. options are direct routes. transfer_options have exactly one interchange (never more): ride legs[0], walk transfer_walk_meters (within a 300 m stop cluster, 0 when it is the same stop) to legs[1].board_stop, ride legs[1]. They are listed when there is no direct route or when they beat the best direct one. Every option carries schedule: by the timetable, when to leave, when each leg boards and alights, when you arrive, and total_minutes door to door. Plan for now by default, or pass depart_at or arrive_by ("HH:MM" Lviv time today, or ISO 8601). When planning for now, options also carry next_departures: the live next departures of the first leg from its boarding stop, so no separate get_stop_realtime call is needed. map_stops holds the best trip's stops in riding order, each with a role (board, transfer — or transfer_alight + transfer_board when the interchange is a walk — and alight). Use when the user asks how to get from A to B, which bus/tram goes from one place to another, how long it takes, or when to leave to be somewhere on time. A stop end covers every stop within a 300 m walk of it, since a line's two directions often stop on opposite sides of a street under different names; board_stop says where to actually wait. Routes the city has suspended, and stops a detour skips, are left out. walk_meters is set when the two ends are within a 300 m walk of each other: no ride is searched then, so tell the user to walk. Otherwise both lists empty means the trip needs two or more transfers. Get stop IDs with search_stops or get_stops_around_location.

Inputs: to_lat, to_lng, from_lat, from_lng, +4 more. Returns: data, view, ui_blocks

get_disruptionsGet DisruptionsA
Read-onlyIdempotent
Inspect

Lists closures, detours and moved stops the city announced that are in force today: affected routes, the streets a detour uses, routes to take instead of a suspended one, reason, dates and source. The GTFS stop lists and timetables do not reflect any of this. Use when the user asks about road works, closures, detours, or why a route is not running or a vehicle is off its usual path. Pass route and/or stop_id to get only the entries touching them; omit both for the whole city.

Inputs: route, stop_id. Returns: data, view, ui_blocks

get_nearby_vehiclesGet Nearby VehiclesA
Read-onlyIdempotent
Inspect

Returns live vehicles near a point, nearest first, each with its route, destination, and distance. Use when the user asks "what transport is near me right now?" or wants a live map around a location. Narrow with route when the user cares about one line; prefer get_route_realtime for a whole route and get_stop_realtime for arrival times at a stop. Requires decimal latitude and longitude (WGS84).

Inputs: latitude (required), longitude (required), limit, route, +2 more. Returns: data, view, ui_blocks

get_route_realtimeGet Route RealtimeA
Read-onlyIdempotent
Inspect

Returns every vehicle currently running on a route: position, the destination it is heading to, and its next stop with estimated arrival. headways sums up each direction: how many vehicles run, the live gaps between consecutive vehicles in minutes (front to back), and how often the timetable says it should run right now. Use when the user asks "where is my tram/bus right now?", how many vehicles are running, how far the next one is, or how often a route runs. Pass direction (0 or 1, as in get_route_static's stops) to get only one way. Prefer get_stop_realtime when the user is at a stop and wants arrival times there. Requires a route short name (e.g. "T30", "32A") or numeric external ID.

Inputs: route_name (required), direction. Returns: data, view, ui_blocks

get_route_staticGet Route StaticA
Read-onlyIdempotent
Inspect

Returns static route data: name, long name, vehicle type, colour, the ordered stop list for both directions, and the timetable of departures from the first stop (workday, Saturday and Sunday). Use when the user asks which stops a route serves, where it goes, or its scheduled departure times. Set include_shapes only when you will draw the route on a map — the polylines are large and carry nothing a text answer needs. Do NOT use this for live vehicle positions — use get_route_realtime instead. Requires a route short name (e.g. "T30", "32A") or numeric external ID.

Inputs: route_name (required), include_shapes. Returns: data, view, ui_blocks

get_stop_realtimeGet Stop RealtimeA
Read-onlyIdempotent
Inspect

Returns live arrivals at a stop: route, destination, vehicle type, minutes until arrival, and each vehicle's position. Use this as the default tool when the user asks about arrivals, departures, or the next bus/tram at a specific stop. Requires a numeric stop ID (shown on stop signage); use search_stops when you have a stop name, or get_stops_around_location when you have coordinates.

Inputs: stop_id (required), lowfloor_only. Returns: data, view, ui_blocks

get_stops_around_locationGet Stops Around LocationA
Read-onlyIdempotent
Inspect

Finds stops near a geographic point, returning each stop's numeric ID, name, coordinates, walking distance, and the routes serving it. Use this as the first step when the user gives an address or coordinates and you need stop IDs for get_stop_realtime or find_routes_between. Use search_stops instead when the user gives a stop name. Default radius is 500 m (about a 6-minute walk), enough in the city centre; widen it to 1 000–3 000 m in suburbs or rural areas where stops are sparse.

Inputs: latitude (required), longitude (required), radius_meters. Returns: data, view, ui_blocks

get_vehicle_infoGet Vehicle InfoA
Read-onlyIdempotent
Inspect

Returns details for one vehicle by ID: position, route, destination, license plate, and its upcoming stops with names and estimated arrival times. Use when the user wants to follow a particular vehicle, e.g. "where does this tram go next?" or "when will it reach X?". Vehicle IDs come from get_route_realtime, get_nearby_vehicles, or get_stop_realtime results. Do NOT use this to get all vehicles on a route — use get_route_realtime instead.

Inputs: vehicle_id (required). Returns: data, view, ui_blocks

search_stopsSearch StopsA
Read-onlyIdempotent
Inspect

Finds stops by name (Ukrainian or English transliteration, case-insensitive, partial match) and returns each stop's numeric ID, coordinates, and the routes serving it. Use this as the first step when the user names a stop or landmark stop (e.g. "Опера", "Rynok", "Головний вокзал") and you need a stop ID for get_stop_realtime or find_routes_between. One name usually covers both sides of the street under different IDs; each is returned, and the routes list tells them apart. Use get_stops_around_location instead when you have coordinates rather than a name.

Inputs: query (required), limit. Returns: data, view, ui_blocks

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    Try in Browser

    Glama MCP Gateway

    Add one secure layer between your agents and this server.