# Public Transport

Access real-time public transport across Europe with live departures, connections, and vehicle details. Plan door-to-door trips, search stations and places, and find nearby stops with up-to-the-minut…

## Quick Start

```bash
# Connect this server (installs CLI if needed)
npx -y @smithery/cli@latest mcp add mirodn/mcp-server-public-transport

# Browse available tools
npx -y @smithery/cli@latest tool list mirodn/mcp-server-public-transport

# Get full schema for a tool
npx -y @smithery/cli@latest tool get mirodn/mcp-server-public-transport ch_search_connections

# Call a tool
npx -y @smithery/cli@latest tool call mirodn/mcp-server-public-transport ch_search_connections '{}'
```

## Direct MCP Connection

Endpoint: `https://mcp-server-public-transport--mirodn.run.tools`

## Tools (12)

- `ch_search_connections` — Search for train connections in Switzerland between two stations. Uses transport.opendata.ch API to provide real-time c…
- `ch_search_stations` — Search for Swiss train stations by name or location.
- `ch_get_departures` — Get departure board for a Swiss train station with real-time information.
- `ch_nearby_stations` — Find nearby Swiss train stations based on coordinates (latitude, longitude).
- `be_search_connections` — Search train connections in Belgium between two stations. Powered by iRail API for real-time routes and schedules.
- `be_search_stations` — Search for Belgian train stations by name.
- `be_get_departures` — Get live departure board for a Belgian train station.
- `be_get_vehicle` — Get details about a specific Belgian train vehicle by its ID.
- `no_search_places` — Autocomplete search across stops/addresses/POIs in Norway via Entur Geocoder.
- `no_stop_departures` — Upcoming departures for a StopPlace ID (e.g., 'NSR:StopPlace:58368').
- `no_trip` — Door-to-door trip planning between two StopPlaces (NSR IDs).
- `no_nearest_stops` — Find nearest StopPlaces for a coordinate (lat, lon) within a radius in meters.

```bash
# Get full input/output schema for a tool
npx -y @smithery/cli@latest tool get mirodn/mcp-server-public-transport <tool-name>
```

---

Source: https://github.com/mirodn/mcp-server-public-transport
