# Lviv Public Transport MCP server

> Lets an AI client access Lviv public transport stops, timetables, routes, and live vehicle positions via GTFS and GTFS-RT feeds.

- Repository: https://github.com/vbhjckfd/timetable-api-node
- Page: https://hostedmcp.org/servers/vbhjckfd/timetable-api-node
- Transport: remote
- Stars: 3
- License: WTFPL
- Latest version: 1.8.19

## Install

### Claude Code

```sh
claude mcp add --transport http timetable-api-node https://api.lad.lviv.ua/mcp
```

### Cursor (`~/.cursor/mcp.json`)

```json
{
  "mcpServers": {
    "timetable-api-node": {
      "url": "https://api.lad.lviv.ua/mcp"
    }
  }
}
```

### VS Code (`.vscode/mcp.json`)

```json
{
  "servers": {
    "timetable-api-node": {
      "type": "http",
      "url": "https://api.lad.lviv.ua/mcp"
    }
  }
}
```

### VS Code CLI

```sh
code --add-mcp '{"name":"timetable-api-node","type":"http","url":"https://api.lad.lviv.ua/mcp"}'
```

### Codex

```sh
codex mcp add timetable-api-node --url https://api.lad.lviv.ua/mcp
```

### Codex config.toml (`~/.codex/config.toml`)

```toml
[mcp_servers.timetable-api-node]
url = "https://api.lad.lviv.ua/mcp"
```

### Gemini CLI

```sh
gemini mcp add -s user --transport http timetable-api-node https://api.lad.lviv.ua/mcp
```

### Gemini settings.json (`~/.gemini/settings.json`)

```json
{
  "mcpServers": {
    "timetable-api-node": {
      "url": "https://api.lad.lviv.ua/mcp",
      "type": "http"
    }
  }
}
```

## Tools (9)

- `search_stops`
- `get_stops_around_location`
- `get_stop_realtime`
- `find_routes_between`
- `get_route_static`
- `get_route_realtime`
- `get_nearby_vehicles`
- `get_vehicle_info`
- `get_disruptions`

## FAQ

### What kind of data can I retrieve from the tools?

You can search for stops, find stops near a location, get real-time arrivals, plan routes between stops, and view live vehicle positions.
