@pipeworx/transport-nsw

Connect: https://gateway.pipeworx.io/transport-nsw/mcp · Install: one-click buttons

No MCP client? Skip the connection: POST https://gateway.pipeworx.io/v1/tools/search_packs {"query":"..."} to find a tool below, GET /v1/tools/<name> for its schema, POST the same URL with arguments for the data — see For AI agents.

Tools: 4

Journey planning, live departures, service alerts and commuter car-park occupancy for Sydney and the whole of New South Wales — trains, metro, buses, ferries and light rail.

Requires an API key — free and self-service at https://opendata.transport.nsw.gov.au/.

  • Platform key: PLATFORM_TFNSW_KEY
  • Caller-supplied: _apiKey argument on any tool

Tools

ToolWhat it answers
tfnsw_departuresLive departures from a stop, station or wharf
tfnsw_trip_planA full multi-leg journey from A to B
tfnsw_alertsCurrent incidents and trackwork
tfnsw_carparksLive park-and-ride occupancy

Traps

The auth header is not a bearer token. It is literally the word apikey followed by the key: Authorization: apikey abc123. Sending Bearer abc123 returns 401 with a message about “the calling application”, which reads as a bad key rather than a bad scheme — and sends you off rotating a key that was fine.

The trip planner is EFA, not REST. /v1/tp/* is a hosted Mentz EFA instance, so the parameters are EFA’s (type_dm, name_dm, itdDate) and its “no results” answer is HTTP 200 with a systemMessages array explaining why — never an error status. efaComplaint() surfaces that message whenever the result list is empty, because a silent empty journey list is otherwise indistinguishable from “no trains run between these two places”.

Tools

  • tfnsw_departures — Live upcoming departures from one NSW stop, station or wharf — Sydney Trains, Metro, buses, ferries and light rail — with planned vs estimated time, line, destination and the delay in minutes. PREFER
  • tfnsw_trip_plan — Plan a public-transport journey anywhere in New South Wales — door to door, multi-leg, with every change, walking leg, line and departure/arrival time. AUTHORITATIVE for “how do I get from A to B on S
  • tfnsw_alerts — Current Transport for NSW service alerts and incidents — trackwork, delays, cancellations, road and stop closures — for one transport mode or all of them, with the affected lines and the validity peri
  • tfnsw_carparks — Live occupancy at Transport for NSW commuter car parks — spaces total, spaces taken and when the count was last updated. AUTHORITATIVE for “is there parking left at my park-and-ride station”; call wit

Tools

  • tfnsw_alerts — Current Transport for NSW service alerts and incidents — trackwork, delays, cancellations, road and stop closures — for one transport mode or all of them, with the affected lines and the validity peri
  • tfnsw_carparks — Live occupancy at Transport for NSW commuter car parks — spaces total, spaces taken and when the count was last updated. AUTHORITATIVE for is there parking left at my park-and-ride station ; call with
  • tfnsw_departures — Live upcoming departures from one NSW stop, station or wharf — Sydney Trains, Metro, buses, ferries and light rail — with planned vs estimated time, line, destination and the delay in minutes. PREFER
  • tfnsw_trip_plan — Plan a public-transport journey anywhere in New South Wales — door to door, multi-leg, with every change, walking leg, line and departure/arrival time. AUTHORITATIVE for how do I get from A to B on Sy

Regenerated from source · build September 18, 2026