TfNSW Realtime Alerts MCP Server
by piddlingtuna
A Model Context Protocol server for Transport for NSW's (TfNSW) Realtime Alerts API. This server provides tools to access and interact with real-time transport alerts and information via Large Language Models.
Last updated: N/A
What is TfNSW Realtime Alerts MCP Server?
This TypeScript-based MCP server integrates with Transport for NSW's Realtime Alerts system, enabling AI assistants to access up-to-date information about transport disruptions, planned works, and other important alerts across the NSW transport network.
How to use TfNSW Realtime Alerts MCP Server?
To use this server, you need to register for an API key at the TfNSW Open Data Hub. Then, configure your API key as an environment variable and install the server using npm. Finally, configure the server in your Claude Desktop config file.
Key features of TfNSW Realtime Alerts MCP Server
List and access transport alerts via
nsw-transport://
URIsFilter alerts by transport mode (buses, trains, ferries, etc.)
Plain text format for easy consumption by AI assistants
get-transport-alerts
tool to retrieve current transport alerts with filteringtransport-disruption-summary
prompt to generate summaries of current transport alerts
Use cases of TfNSW Realtime Alerts MCP Server
Providing real-time transport updates to users via AI assistants
Summarizing major transport disruptions for quick understanding
Filtering alerts by transport mode to focus on relevant information
Integrating transport alerts into other applications and services
FAQ from TfNSW Realtime Alerts MCP Server
How do I get a TfNSW API key?
How do I get a TfNSW API key?
Register at the TfNSW Open Data Hub: https://opendata.transport.nsw.gov.au/
What transport modes are supported?
What transport modes are supported?
All, buses, ferries, lightrail, metro, nswtrains, regionbuses, and sydneytrains are supported.
How do I install the server?
How do I install the server?
Follow the installation instructions in the README, including setting up your API key and using npm.
How do I debug the server?
How do I debug the server?
Use the MCP Inspector, available as a package script: npm run inspector
.
What is the license for this project?
What is the license for this project?
This project is licensed under the MIT License.