Melbourne PTV MCP Server
Sends push notifications through ntfy.sh topics via the optional ptv-watch watcher program, alerting users when their leave time shifts or a new disruption appears on their PTV route or stop; users subscribe to the same topic in the ntfy mobile app.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Melbourne PTV MCP Server
MCP server for Melbourne public transport, using the PTV Timetable API v3.
Tools
search_stops– find stop IDs by namestops_nearby– stops near a lat/longget_departures– next departures from a stop (real-time where available)get_disruptions– current or planned disruptionsleave_now_or_wait– when to leave home, given walk time, delays and disruptions
Related MCP server: PTV Transit MCP Server
Setup
Request a PTV developer ID and API key from PTV (see their Timetable API page).
Build:
npm install && npm run buildAdd to Claude Desktop config (Settings > Developer > Edit config):
{
"mcpServers": {
"ptv": {
"command": "node",
"args": ["/absolute/path/to/ptv-mcp/dist/index.js"],
"env": { "PTV_DEV_ID": "your_id", "PTV_API_KEY": "your_key" }
}
}
}Claude Code: claude mcp add ptv -e PTV_DEV_ID=... -e PTV_API_KEY=... -- node /absolute/path/to/ptv-mcp/dist/index.js
Demo mode (no API key needed)
Set PTV_DEMO=true instead of the PTV credentials to get fictional sample data in the same format.
Useful for trying the tools, demos and development. Responses are labelled as demo data.
Claude Code: claude mcp add ptv-demo -e PTV_DEMO=true -- node /absolute/path/to/ptv-mcp/dist/index.js
Attribution
Data from Public Transport Victoria, licensed under Creative Commons Attribution 3.0 Australia.
Licence
MIT
Leave-time alerts (optional watcher)
MCP is request/response, so Claude can't push notifications. ptv-watch is a separate small
program that polls PTV and sends a notification via ntfy.sh (free) when your
leave time shifts or a new disruption appears.
export PTV_DEV_ID=... PTV_API_KEY=... NTFY_TOPIC=some-long-random-string
node dist/watch.js --mode train --stop <stop_id> --walk 8 [--route <id>] [--every 120] [--threshold 3]Install the ntfy app on your phone and subscribe to the same topic.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Read-only public transit departures, stop search, and city coverage for bus and train users.
Plan San Francisco and Bay Area transit trips and check upcoming stop departures. Free, no API keys.
Live TTC and Hamilton HSR transit: stop search, next departures, service alerts, vehicle positions.
Transport for NSW MCP — journey planning, live departures, service alerts and commuter car-park…
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceEnables querying Swiss public transport (trains, buses, trams, boats) for stations, connections, and station boards via the opendata.ch API.-
- AlicenseAqualityDmaintenanceExposes Victoria's public transport (PTV) GTFS timetable data as MCP tools, allowing LLMs to answer natural-language questions about routes, stops, and departure times.4MIT
- AlicenseNot gradedqualityCmaintenanceEnables journey planning, live departures, service alerts, and commuter car-park occupancy for Sydney and New South Wales across trains, metro, buses, ferries, and light rail, accessible via natural language queries.67 npmMIT

@pipeworx/mcp-trimetofficial
AlicenseNot gradedqualityCmaintenanceProvides live TriMet transit data for Portland, Oregon, including real-time arrivals, nearby stops, vehicle positions, and service alerts for buses, MAX light rail, WES commuter rail, and Portland Streetcar.74 npmMIT