protogrid

Search / io.github.vbhjckfd/lviv-public-transport

Lviv Public Transport

R0· no sign-in

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

v1.8.38 · active · repository · website · descriptor JSON · versions

An agent can connect right now, no human step.Remote endpoint, no authentication, reachable on the last probe.
Quality97new
Trust96of 100
Uptime, 30 days96%
Latency p50767 msp95 836 ms

Connect

8 clients · secrets stay placeholders
Add to CursorAdd to VS Codeopens the client, which asks before adding the server
{
  "mcpServers": {
    "lviv-public-transport": {
      "type": "http",
      "url": "https://api.lad.lviv.ua/mcp"
    }
  }
}
claude mcp add --transport http lviv-public-transport https://api.lad.lviv.ua/mcp
[mcp_servers.lviv-public-transport]
url = "https://api.lad.lviv.ua/mcp"
{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "lviv-public-transport": {
      "type": "remote",
      "url": "https://api.lad.lviv.ua/mcp",
      "enabled": true
    }
  }
}
{
  "mcpServers": {
    "lviv-public-transport": {
      "type": "http",
      "url": "https://api.lad.lviv.ua/mcp"
    }
  },
  "deeplink": "cursor://anysphere.cursor-deeplink/mcp/install?name=lviv-public-transport&config=eyJ0eXBlIjoiaHR0cCIsInVybCI6Imh0dHBzOi8vYXBpLmxhZC5sdml2LnVhL21jcCJ9"
}
{
  "servers": {
    "lviv-public-transport": {
      "type": "http",
      "url": "https://api.lad.lviv.ua/mcp"
    }
  },
  "deeplink": "vscode:mcp/install?%7B%22name%22%3A%22lviv-public-transport%22%2C%22type%22%3A%22http%22%2C%22url%22%3A%22https%3A%2F%2Fapi.lad.lviv.ua%2Fmcp%22%7D"
}
{
  "mcpServers": {
    "lviv-public-transport": {
      "httpUrl": "https://api.lad.lviv.ua/mcp"
    }
  }
}
extensions:
  "lviv-public-transport":
    enabled: true
    name: "lviv-public-transport"
    type: streamable_http
    uri: "https://api.lad.lviv.ua/mcp"
    timeout: 300

Quality 97 / 100new

protocol100 · weight 25
  • pass
    protocol.modernsupports 2026-07-28 (server/discover)
  • pass
    protocol.statelessanswers without a session
  • pass
    protocol.transportstreamable HTTP
  • pass
    protocol.list_ttltool list is cacheable (ttlMs 3600000)
authorizationn/a · weight 15
  • n/a
    auth.prm, auth.as_metadata, auth.cimdno remote uses OAuth
  • n/a
    auth.secret_in_urlno templated URL
tool hygiene94 · weight 30
  • pass
    tools.descriptionsevery tool has a description
  • warn
    tools.description_length1 tools have descriptions over 1,024 characters, which crowds the context
  • pass
    tools.schemasevery tool has an object input schema
  • pass
    tools.annotations9 of 9 tools declare readOnlyHint or destructiveHint
  • pass
    tools.directory_hintsevery tool declares readOnlyHint, destructiveHint, idempotentHint and openWorldHint
  • pass
    tools.token_costabout 2,987 tokens to load every tool
  • pass
    tools.api_dumptools are not a one-to-one API dump
  • pass
    tools.hidden_textno hidden text in tool, prompt or resource definitions
  • pass
    tools.poisoningno instructions aimed at the model in tool, prompt or resource definitions
stabilityn/a · weight 15
  • n/a
    stability.changes, stability.rug_pull, stability.new_linkstool history recorded for 6 of the 7 days needed
dependenciesn/a · weight 15
  • n/a
    deps.known_vulns, deps.mcp_sdk_version, deps.resolvableno npm or PyPI package

9 tools, about 2,987 tokens to load them all · tool set 34586ce1158f · checked 2026-11-29 15:30 UTC

Definition changes

No changes to tool, prompt or resource template definitions recorded. A server's first observation is its baseline; later probes record what changes.

Checks run on what our credential-free, read-only probes observe; tools are never called and no code audit is performed. How it is computed.

Trust 96 / 100

provenance90
liveness98
freshness100
hygiene100

+repository +namespace-matches-repo +website +reachable +uptime-96% +updated-1d-ago

Derived from observable signals (official registry feed and our own credential-free probes); no code audit performed. How it is computed.

Endpoints

Last 30 days96% of probes answered
remoteauthreachableuptime 30dp50p95protocollast ok
https://api.lad.lviv.ua/mcp streamable-httpnoneyes96%767 ms836 ms2026-07-282026-11-29

Tools (9)

find_routes_betweenread-onlyLists 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`.
get_disruptionsread-onlyLists 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.
get_nearby_vehiclesread-onlyReturns 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).
get_route_realtimeread-onlyReturns 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.
get_route_staticread-onlyReturns 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.
get_stop_realtimeread-onlyReturns 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.
get_stops_around_locationread-onlyFinds 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.
get_vehicle_inforead-onlyReturns 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.
search_stopsread-onlyFinds 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.

Schemas: list_tools.

Prompts and resources (5 prompts, 4 resources, 2 resource templates)

Prompts

plan-trip3 argumentsPlan a Trip. Find routes (direct or with one transfer) between two places in Lviv, the next live departures and when to leave.
route-status1 argumentRoute Status. Where the vehicles of one route are right now.
transit-arrival-list1 argumentTransit Arrival List. Render upcoming arrivals list for a stop.
transit-hybrid-view1 argumentTransit Hybrid View. Render map and arrival list together with synchronized ETA values.
transit-map-view1 argumentTransit Map View. Render live vehicles on map for a stop.

Resources

timetable://abouttext/markdownAbout Lviv Public Transport MCP. Scope, usage, and data caveats for this server.
timetable://reference/promptstext/markdownPrompts reference. Catalog of prompt templates and their arguments.
timetable://reference/toolstext/markdownTools reference. What each MCP tool returns and when to use it.
timetable://routesapplication/jsonAll routes. Every route's short name, long name, vehicle type and the terminus of each direction. Names here are what the route tools take.

Resource templates

timetable://route/{name}application/jsonRoute static info. Static metadata for a route by short name (e.g. timetable://route/T30). Returns stop counts and color.
timetable://stop/{code}application/jsonStop static info. Static info for a stop by numeric code (name, routes served). Use timetable://stop/707 for stop 707.

Definitions only, never their content. Full lists: prompts, resources.

Also listed as

1 other active names share this repository: io.github.vbhjckfd/timetable-api-node

Similar MCP servers

More from io.github.vbhjckfd

Official server.json
{
  "name": "io.github.vbhjckfd/lviv-public-transport",
  "icons": [
    {
      "src": "https://raw.githubusercontent.com/vbhjckfd/timetable-api-node/master/mcp/mcp-icon.svg",
      "mimeType": "image/svg+xml"
    },
    {
      "src": "https://raw.githubusercontent.com/vbhjckfd/timetable-api-node/master/favicon.png",
      "sizes": [
        "48x48"
      ],
      "mimeType": "image/png"
    }
  ],
  "title": "Lviv Public Transport",
  "$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json",
  "remotes": [
    {
      "url": "https://api.lad.lviv.ua/mcp",
      "type": "streamable-http"
    }
  ],
  "version": "1.8.38",
  "repository": {
    "url": "https://github.com/vbhjckfd/timetable-api-node",
    "source": "github"
  },
  "websiteUrl": "https://lad.lviv.ua",
  "description": "Lviv public transport MCP: stops, timetables, routes, and live vehicle positions. No API key."
}