Skip to main content
Glama

TfNSW Realtime Alerts MCP Server

by piddlingtuna

TfNSW リアルタイムアラート MCP サーバー

ニューサウスウェールズ州交通局(TfNSW)のリアルタイムアラートAPI用のモデルコンテキストプロトコルサーバー。このサーバーは、大規模言語モデルを介してリアルタイムの交通アラートや情報にアクセスし、操作するためのツールを提供します。

概要

このTypeScriptベースのMCPサーバーは、ニューサウスウェールズ州交通局(Transport for NSW)のリアルタイムアラートシステムとの統合を実装しています。これにより、AIアシスタントはニューサウスウェールズ州の交通網全体にわたる交通混乱、計画工事、その他の重要なアラートに関する最新情報にアクセスできるようになります。

特徴

リソース

  • nsw-transport:// URI 経由でトランスポートアラートを一覧表示してアクセスする
  • 交通手段(バス、電車、フェリーなど)別にアラートをフィルタリングします
  • AIアシスタントが簡単に利用できるプレーンテキスト形式

ツール

  • get-transport-alerts - 現在の交通アラートを取得する
    • 輸送手段でフィルタリング
    • 影響を受けるルート、期間、影響の詳細を含むフォーマットされたアラート情報を返します。

プロンプト

  • transport-disruption-summary - 現在のトランスポートアラートの概要を生成します
    • 関連するアラートの詳細を埋め込みリソースとして含めます
    • 主要な混乱のLLM要約のための構造化されたプロンプトを返します

輸送モード

次のトランスポート モードがサポートされています。

  • all - すべての輸送モード
  • buses - シドニーメトロとアウターメトロバスサービス
  • ferries - シドニーフェリーとニューカッスルトランスポートフェリー
  • lightrail - ライトレールサービス
  • metro - シドニーメトロ
  • nswtrains - NSW Trainsの地域列車とコーチ
  • regionbuses - 地域バスサービス
  • sydneytrains - シドニー・トレインズの郊外および都市間ネットワーク

認証

このサーバーはTfNSWオープンデータAPIによる認証が必要です。TfNSWオープンデータハブでAPIキーを登録する必要があります。

インストール

Claude Desktop で使用するには、サーバー設定を追加します。

MacOSの場合: ~/Library/Application Support/Claude/claude_desktop_config.json

Windows の場合: %APPDATA%/Claude/claude_desktop_config.json

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

"your_api_key_here"を、 TfNSW Open Data Hubの TfNSW API キーに置き換えます。

発達

.envファイルで API キーを環境変数として設定します。

NSW_TRANSPORT_API_KEY="your_api_key_here"

依存関係をインストールします:

npm install

サーバーを構築します。

npm run build

自動リビルドを使用した開発の場合:

npm run watch

デバッグ

デバッグには、パッケージ スクリプトとして利用できるMCP Inspectorを使用できます。

npm run inspector

インスペクターは、ブラウザでデバッグ ツールにアクセスするための URL を提供します。

ライセンス

このプロジェクトは MIT ライセンスに基づいてライセンスされています - 詳細については LICENSE ファイルを参照してください。

-
security - not tested
A
license - permissive license
-
quality - not tested

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

このサーバーにより、大規模な言語モデルが、ニューサウスウェールズ州交通局のネットワークからのリアルタイムの交通警報にアクセスして対話できるようになり、交通モードによるフィルタリングをサポートし、混乱や計画中の工事に関するフォーマットされた警報情報を返すことができます。

  1. 概要
    1. 特徴
      1. リソース
      2. ツール
      3. プロンプト
    2. 輸送モード
      1. 認証
        1. インストール
          1. 発達
            1. デバッグ
          2. ライセンス

            Related MCP Servers

            • A
              security
              F
              license
              A
              quality
              Enables Large Language Models to access real-time data on Vilnius public transport stops and routes through the Model Context Protocol.
              Last updated -
              2
              1
              Python
            • -
              security
              A
              license
              -
              quality
              A Model Context Protocol server that integrates with Linear's issue tracking system, allowing LLMs to create, update, search, and comment on Linear issues through natural language interactions.
              Last updated -
              324
              288
              JavaScript
              MIT License
              • Apple
            • -
              security
              A
              license
              -
              quality
              An MCP service for interacting with Transport NSW's API that enables users to find transport stops around locations and retrieve information about transport alerts and disruptions.
              Last updated -
              Python
              MIT License
            • -
              security
              A
              license
              -
              quality
              A Model Context Protocol server enabling AI systems to send real-time notifications to phones, desktops, and other devices through the ntfy publish/subscribe service.
              Last updated -
              10
              8
              TypeScript
              Apache 2.0
              • Apple

            View all related MCP servers

            MCP directory API

            We provide all the information about MCP servers via our MCP API.

            curl -X GET 'https://glama.ai/api/mcp/v1/servers/piddlingtuna/tfnsw-realtime-alerts-mcp-server'

            If you have feedback or need assistance with the MCP directory API, please join our Discord server