DNDzzgz MCP サーバー
これは、 DNDzgz API を使用してリアルタイムの路面電車到着予測や駅情報など、サラゴサ路面電車システムに関する情報を提供する MCP (モデル コンテキスト プロトコル) サーバーです。
インストール
リポジトリをクローンします。
依存関係をインストールします:
アプリケーションの実行
有効なGoogleマップAPIキーを持つ環境変数を追加します
サーバーを起動するには:
または、MCP クライアントで次のように構成します。
サーバーが起動し、MCP トランスポート層に接続します。
利用可能なツール
サーバーは次のツールを提供します。
zaragoza-tram-estimations
: 特定のトラム駅の到着予定時刻をリアルタイムで取得しますパラメータ:
station
(番号):路面電車駅のID
戻り値: 両方向の到着予定時刻を含むJSON
zaragoza-tram-stations
: サラゴサのすべてのトラム駅のリストを取得しますパラメータ:
latitude
(数値):駅を近い順に並べ替える緯度longitude
(数値):駅を近い順に並べ替えるための経度
戻り値: 場所、名前、IDを含むステーション情報を含むJSON
zaragoza-bus-stops
: サラゴサのすべてのバス停を取得しますパラメータ:
latitude
(数値):停留所を近い順に並べ替える緯度longitude
(数値):停留所を近い順に並べ替える経度
戻り値: バス停の位置、名前、ID、路線を含むJSON
zaragoza-bus-estimations
: 特定のバス停の到着予定時刻をリアルタイムで取得しますパラメータ:
stop
(番号): バス停のID
戻り値: 各停留所に停車する各路線の到着予定時刻を含むJSON
zaragoza-bizi-stations
: サラゴサのすべての Bizi ステーション (公共自転車レンタルサービス) を取得しますパラメータ:
latitude
(数値):駅を近い順に並べ替える緯度longitude
(数値):駅を近い順に並べ替えるための経度
戻り値: Biziステーションの場所、名前、IDを含むJSON
zaragoza-bizi-estimations
: ビジステーションの自転車の空き状況と空きスロットをリアルタイムで確認パラメータ:
station
(番号):BiziステーションのID
戻り値: 自転車と駐車スペースの空き状況を含むJSON
google-maps-link
: 特定の場所の Google マップ リンクを取得しますパラメータ:
latitude
(数値):場所の緯度longitude
(数値):場所の経度
戻り値: 指定された場所を示す Google マップの URL
geolocation-from-address
: 住所から地理位置情報(緯度と経度)を取得し、見つかったフォーマットされた住所を取得します。パラメータ:
address
(文字列): 位置情報を取得する住所(例:"Plaza de San Francisco, Zaragoza, Spain")
戻り値: 緯度、経度、信頼度、フォーマットされた住所を含むJSON
依存関係
@modelcontextprotocol/sdk: ^1.9.0
例
Claude Desktopを使用した例のスクリーンショットがあります
hybrid server
The server is able to function both locally and remotely, depending on the configuration or use case.
Tools
DNDzgz API を通じて、到着予想時刻や駅の詳細など、サラゴサの路面電車システムに関するリアルタイム情報を提供する MCP サーバー。
Related MCP Servers
- AsecurityAlicenseAqualityAn MCP server that provides access to NS (Dutch Railways) travel information.Last updated -842MIT License
- -securityFlicense-qualityAn MCP server providing timezone conversions and time-related operations via RESTful API endpoints, featuring comprehensive error handling and timezone database integration.Last updated -
- -securityFlicense-qualityAn MCP server that allows users to get global time information via Interzoid's GetGlobalTime API, enabling access to time data across different regions through natural language.Last updated -
- -securityAlicense-qualityAn MCP server providing access to Hong Kong transportation data, including passenger traffic statistics at control points and real-time bus arrival information for KMB and Long Win Bus services.Last updated -3MIT License