tfnsw_alerts

Pack: transport-nsw · Endpoint: https://gateway.pipeworx.io/transport-nsw/mcp

No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/tfnsw_alerts for the schema, then POST the same URL with its arguments for the data.

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 period. AUTHORITATIVE for “is anything disrupted on Sydney transport right now”.

Parameters

NameTypeRequiredDescription
modestringnoFilter by mode: ‘train’, ‘metro’, ‘bus’, ‘ferry’, ‘lightrail’, or omit for all.
limitnumbernoMax alerts to return (default 50).
_apiKeystringnoTransport for NSW API key. Free from ${SIGNUP}.

Example call

Arguments

{}

curl

curl -X POST https://gateway.pipeworx.io/transport-nsw/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"tfnsw_alerts","arguments":{}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('tfnsw_alerts', {});

More examples

{
  "mode": "train"
}

Connect

Add this to your MCP client config, or use one-click install buttons:

{
  "mcpServers": {
    "transport-nsw": {
      "url": "https://gateway.pipeworx.io/transport-nsw/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build September 18, 2026