MCP.so
ログイン

TfNSW Realtime Alerts MCP Server

@MCP-Mirror

基本情報

カテゴリ

その他

ライセンス

MIT license

トランスポート

stdio

作者

MCP-Mirror

TfNSW Realtime Alerts MCP Server について

Mirror of

#tfnsw#realtime-alerts#transport

TfNSW Realtime Alerts MCP Server の設定

以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。

{
  "mcpServers": {
    "tfnsw-realtime-alerts": {
      "command": "npx",
      "args": [
        "-y",
        "tfnsw-realtime-alerts-mcp-server"
      ],
      "env": {
        "NSW_TRANSPORT_API_KEY": "your_api_key_here"
      }
    }
  }
}

TfNSW Realtime Alerts MCP Server のツール

1

Retrieve current transport alerts

概要

What is TfNSW Realtime Alerts MCP Server?

A Model Context Protocol server that integrates with Transport for NSW’s Realtime Alerts API. It enables AI assistants to access up-to-date information about transport disruptions, planned works, and other alerts across the NSW transport network. Designed for developers and users of LLM applications who need real-time NSW transport status.

How to use TfNSW Realtime Alerts MCP Server?

Install and configure by adding the server config to your Claude Desktop settings file. Use the command npx -y tfnsw-realtime-alerts-mcp-server and set the environment variable NSW_TRANSPORT_API_KEY to your TfNSW Open Data API key. The server provides tools like get-transport-alerts (filterable by transport mode) and prompts such as transport-disruption-summary.

Key features of TfNSW Realtime Alerts MCP Server

  • Resources accessible via nsw-transport:// URIs
  • Filter alerts by transport mode (buses, trains, ferries, etc.)
  • Provides get-transport-alerts tool with formatted alert details
  • Offers transport-disruption-summary prompt for LLM summarisation
  • Plain text alert format for easy AI consumption
  • Supports eight transport modes including all modes

Use cases of TfNSW Realtime Alerts MCP Server

  • Check current disruptions on Sydney Trains before commuting
  • Summarise all major transport alerts in the NSW network
  • Filter alerts for a specific mode (e.g., ferries or metro)
  • Integrate live transport status into a virtual assistant or chatbot

よくある質問

1

What runtime dependencies does the server require?

It requires Node.js and npm (Node Package Manager) to run. The server is built with TypeScript.

2

How do I obtain a TfNSW API key?

You must register for an API key at the TfNSW Open Data Hub at https://opendata.transport.nsw.gov.au/.

3

What transport modes can I query?

The supported modes are: buses, ferries, lightrail, metro, nswtrains, regionbuses, sydneytrains, or all modes together.

4

Where do the transport alerts come from?

Alerts are fetched live from the TfNSW Realtime Alerts API maintained by Transport for NSW. No local data is stored.

5

How do I install and configure it for Claude Desktop?

Add a JSON entry with command `npx -y tfnsw-realtime-alerts-mcp-server` and environment variable `NSW_TRANSPORT_API_KEY` to your Claude Desktop configuration file. On macOS the path is `~/Library/Application Support/Claude/claude_desktop_config.json`; on Windows it is `%APPDATA%/Claude/claude_desktop_config.json`.

コメント

「その他」の他のコンテンツ