Skip to main content
Glama
danilat
by danilat

DNDzzgz MCP サーバー

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

インストール

  1. リポジトリをクローンします。

git clone https://github.com/danilat/mcp-dndzgz.git
cd mcp-dndzgz
  1. 依存関係をインストールします:

npm install

Related MCP server: Time Server

アプリケーションの実行

有効な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 駅の路面電車の所要時間の見積もりを取得する例のスクリーンショット

Install Server
A
security – no known vulnerabilities
F
license - not found
A
quality - confirmed to work

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Latest Blog Posts

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