trackmcp
Back to directory
danilat

mcp-dndzgz

View on GitHub

A MCP Server to know about Zaragoza bus, tram and bizi services in realtime

9 stars JavaScriptAI & Machine Learning Updated Jun 8, 2025

Documentation

DNDzgz MCP Server

This is an MCP (Model Context Protocol) server that provides information about the Zaragoza tram system, including real-time tram arrival estimations and station information using the DNDzgz API.

Installation

1. Clone the repository:

bash
git clone https://github.com/danilat/mcp-dndzgz.git
cd mcp-dndzgz

2. Install dependencies:

bash
npm install

Running the Application

Add a the environment variable with a valid google maps api key and run it with the http transport

bash
GOOGLE_MAPS_API_KEY=your-api-key npm start:http

The server will start you should configure yout MCP client to connect.

Or start the server using stdio trasport:

Configure in your MCP client using `npx`, for example:

json
{
    "mcpServers": {
      "dndzgz": {
        "command": "npx @dndzgz/mcp",
        "env": {
          "GOOGLE_MAPS_API_KEY": "your-api-key"
        }
      }
    }
}

The server will start and connect to the MCP server.

Available Tools

The server provides the following tools:

1. `zaragoza-tram-estimations`: Get real-time arrival estimations for a specific tram station

    2. `zaragoza-tram-stations`: Get a list of all tram stations in Zaragoza

      3. `zaragoza-bus-stops`: Get all bus stops in Zaragoza

        4. `zaragoza-bus-estimations`: Get real-time arrival estimations for a specific bus stop

          5. `zaragoza-bizi-stations`: Get all Bizi stations in Zaragoza (public bicycle rental service)

            6. `zaragoza-bizi-estimations`: Get real-time availability of bikes and free slots in a Bizi station

              7. `google-maps-link`: Get a Google Maps link for a specific location

                8. `geolocation-from-address`: Get the geolocation (latitude and longitude) from an address and the formatted address that was found

                  Dependencies

                  • @modelcontextprotocol/sdk: ^1.9.0

                  Example

                  There is an screenshot with example using Claude Desktop

                  Screenshot of an example using Claude Desktop, asking in spanish to get the tram estimations for Romareda station

                  Frequently asked questions

                  What is mcp-dndzgz?

                  mcp-dndzgz is A MCP Server to know about Zaragoza bus, tram and bizi services in realtime

                  How do I install mcp-dndzgz?

                  Open the GitHub repository and follow its README. Most MCP servers are added to your client's MCP config, then called by your agent.

                  Is mcp-dndzgz open source?

                  Yes — it is hosted on GitHub at https://github.com/danilat/mcp-dndzgz and has 9 stars.

                  Related MCP tools

                  Run your own MCP server? See who uses it and what to fix.

                  Measure it with TrackMCP