Skip to main content
Glama

DNDzgz MCP Server

by danilat

DNDzzgz MCP サーバー

これは、 DNDzgz API を使用してリアルタイムの路面電車到着予測や駅情報など、サラゴサ路面電車システムに関する情報を提供する MCP (モデル コンテキスト プロトコル) サーバーです。

インストール

  1. リポジトリをクローンします。
git clone https://github.com/danilat/mcp-dndzgz.git cd mcp-dndzgz
  1. 依存関係をインストールします:
npm install

アプリケーションの実行

有効なGoogleマップAPIキーを持つ環境変数を追加します

GOOGLE_MAPS_API_KEY=your-api-key

サーバーを起動するには:

npm start

または、MCP クライアントで次のように構成します。

{ "mcpServers": { "dndzgz": { "command": "node", "args": [ "/Users/danilat/workspace/mcp-dndzgz/index.js" ], "env": { "GOOGLE_MAPS_API_KEY": "your-api-key" } } } }

サーバーが起動し、MCP トランスポート層に接続します。

利用可能なツール

サーバーは次のツールを提供します。

  1. zaragoza-tram-estimations : 特定のトラム駅の到着予定時刻をリアルタイムで取得します
    • パラメータ:
      • station (番号):路面電車駅のID
    • 戻り値: 両方向の到着予定時刻を含むJSON
  2. zaragoza-tram-stations : サラゴサのすべてのトラム駅のリストを取得します
    • パラメータ:
      • latitude (数値):駅を近い順に並べ替える緯度
      • longitude (数値):駅を近い順に並べ替えるための経度
    • 戻り値: 場所、名前、IDを含むステーション情報を含むJSON
  3. zaragoza-bus-stops : サラゴサのすべてのバス停を取得します
    • パラメータ:
      • latitude (数値):停留所を近い順に並べ替える緯度
      • longitude (数値):停留所を近い順に並べ替える経度
    • 戻り値: バス停の位置、名前、ID、路線を含むJSON
  4. zaragoza-bus-estimations : 特定のバス停の到着予定時刻をリアルタイムで取得します
    • パラメータ:
      • stop (番号): バス停のID
    • 戻り値: 各停留所に停車する各路線の到着予定時刻を含むJSON
  5. zaragoza-bizi-stations : サラゴサのすべての Bizi ステーション (公共自転車レンタルサービス) を取得します
    • パラメータ:
      • latitude (数値):駅を近い順に並べ替える緯度
      • longitude (数値):駅を近い順に並べ替えるための経度
    • 戻り値: Biziステーションの場所、名前、IDを含むJSON
  6. zaragoza-bizi-estimations : ビジステーションの自転車の空き状況と空きスロットをリアルタイムで確認
    • パラメータ:
      • station (番号):BiziステーションのID
    • 戻り値: 自転車と駐車スペースの空き状況を含むJSON
  7. google-maps-link : 特定の場所の Google マップ リンクを取得します
    • パラメータ:
      • latitude (数値):場所の緯度
      • longitude (数値):場所の経度
    • 戻り値: 指定された場所を示す Google マップの URL
  8. geolocation-from-address : 住所から地理位置情報(緯度と経度)を取得し、見つかったフォーマットされた住所を取得します。
    • パラメータ:
      • address (文字列): 位置情報を取得する住所(例:"Plaza de San Francisco, Zaragoza, Spain")
    • 戻り値: 緯度、経度、信頼度、フォーマットされた住所を含むJSON

依存関係

  • @modelcontextprotocol/sdk: ^1.9.0

Claude Desktopを使用した例のスクリーンショットがあります

Claude Desktop を使用して、スペイン語で Romareda 駅の路面電車の所要時間の見積もりを取得する例のスクリーンショット

-
security - not tested
F
license - not found
-
quality - not tested

hybrid server

The server is able to function both locally and remotely, depending on the configuration or use case.

DNDzgz API を通じて、到着予想時刻や駅の詳細など、サラゴサの路面電車システムに関するリアルタイム情報を提供する MCP サーバー。

  1. インストール
    1. アプリケーションの実行
      1. 利用可能なツール
        1. 依存関係

            Related MCP Servers

            • -
              security
              F
              license
              -
              quality
              An MCP server providing timezone conversions and time-related operations via RESTful API endpoints, featuring comprehensive error handling and timezone database integration.
              Last updated -
              Python
            • A
              security
              A
              license
              A
              quality
              A server that connects to SK TMAP API, providing access to public transit routing and geocoding functionality through a standardized interface.
              Last updated -
              2
              Python
              MIT License
            • -
              security
              F
              license
              -
              quality
              An MCP Server that enables interaction with Maharashtra's Motor Vehicle Department API, allowing users to access transportation-related services through natural language requests.
              Last updated -
              Python

            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/danilat/mcp-dndzgz'

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