DNDzgz MCP 服务器 logo

DNDzgz MCP 服务器

Community
danilat

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

Publisherdanilat
Repositorymcp-dndzgz
LanguageJavaScript
Forks
4
Stars
10
Available tools
8
Transport typestdio, streamable-http
Categories
Links
  • Connect tools to AI workflows

    DNDzgz MCP 服务器 exposes MCP capabilities that can be used by compatible AI clients and agents.

  • 8 available tools

    Browse the callable actions below, including names and descriptions when provided by the server.

  • Ready-to-copy setup

    Use the installation snippets to configure this server in your preferred MCP client.

  • Open source signals

    10 stars and 4 forks from the linked repository.

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
  1. 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

    • Parameters:
      • station (number): ID of the tram station
    • Returns: JSON with estimated arrival times for both directions
  2. zaragoza-tram-stations: Get a list of all tram stations in Zaragoza

    • Parameters:
      • latitude (number): Latitude to sort stations by proximity
      • longitude (number): Longitude to sort stations by proximity
    • Returns: JSON with station information including location, name, and ID
  3. zaragoza-bus-stops: Get all bus stops in Zaragoza

    • Parameters:
      • latitude (number): Latitude to sort stops by proximity
      • longitude (number): Longitude to sort stops by proximity
    • Returns: JSON with bus stop locations, names, IDs, and lines
  4. zaragoza-bus-estimations: Get real-time arrival estimations for a specific bus stop

    • Parameters:
      • stop (number): ID of the bus stop
    • Returns: JSON with estimated arrival times for each line serving that stop
  5. zaragoza-bizi-stations: Get all Bizi stations in Zaragoza (public bicycle rental service)

    • Parameters:
      • latitude (number): Latitude to sort stations by proximity
      • longitude (number): Longitude to sort stations by proximity
    • Returns: JSON with Bizi station locations, names, and IDs
  6. zaragoza-bizi-estimations: Get real-time availability of bikes and free slots in a Bizi station

    • Parameters:
      • station (number): ID of the Bizi station
    • Returns: JSON with bikes and parking slot availability
  7. google-maps-link: Get a Google Maps link for a specific location

    • Parameters:
      • latitude (number): Latitude of the location
      • longitude (number): Longitude of the location
    • Returns: Google Maps URL showing the specified location
  8. geolocation-from-address: Get the geolocation (latitude and longitude) from an address and the formatted address that was found

    • Parameters:
      • address (string): The address to geolocate (e.g., "Plaza de San Francisco, Zaragoza, Spain")
    • Returns: JSON with latitude, longitude, confidence level, and formatted address

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

Installation

TypingMind
Prerequisites:

Node.js 18+

{
  "mcpServers": {
    "danilat-mcp-dndzgz": {
      "command": "",
      "args": []
    }
  }
}

Available Tools

  • zaragoza-tram-estimations

    Get the estimation of when arrives to a tram station in Zaragoza in realtime

  • zaragoza-tram-stations

    Get all tram stations in Zaragoza

  • zaragoza-bus-stops

    Get all bus stops in Zaragoza

  • zaragoza-bus-estimations

    Get the estimation of when a bus arrives to a stop in Zaragoza in realtime

  • zaragoza-bizi-stations

    Get all Bizi stations in Zaragoza, the bicycle rental public service

  • zaragoza-bizi-estimations

    Get the estimation of bikes and free slots in a Bizi station in Zaragoza in realtime

  • google-maps-link

    Get a Google Maps link from coordinates to help people to find a station o stop

  • geolocation-from-address

    Get the geolocation (latitude and longitude) from an address and the formatted address that was found, only for Zaragoza. Can be used to find a bus stops, tram stations or bizi stations

Use DNDzgz MCP 服务器 MCP with multiple AI models

TypingMind connects MCP tools at the workspace level, so once DNDzgz MCP 服务器 is connected, you can use it with different AI models in TypingMind instead of setting it up separately for each model. You can run MCP locally on your device or connect to a remote MCP server URL.

Option 1: Use the local connector

Use this when the MCP server needs access to local files, apps, or private resources on your computer.

1

Open the MCP settings

In TypingMind, go to Settings, Advanced Settings, then Model Context Protocol and choose Setup Connector.

  1. Open TypingMind in your browser.
  2. Click the Settings icon.
  3. Go to Advanced Settings.
  4. Open the Model Context Protocol section.
  5. Click Setup Connector and choose This Device.
TypingMind MCP connector setup screen with This Device selected
2

Run the connector command

Choose This Device, copy the command from TypingMind, and run it in Terminal. Keep the process running while you use MCP.

  1. Copy the setup command shown by TypingMind.
  2. Open Terminal on macOS or Windows Terminal on Windows.
  3. Paste and run the command.
  4. Approve the package install if Terminal asks you to proceed.
  5. Keep the Terminal window running while using MCP tools.
3

Add DNDzgz MCP 服务器 as a server

When the connector status is Ready, click Edit Servers and paste the MCP server configuration.

  1. Wait until the connector status shows Ready.
  2. Click Edit Servers.
  3. Paste the DNDzgz MCP 服务器 MCP server configuration.
  4. Save the server list.
  5. Refresh if you want to confirm the connector is still ready.
TypingMind MCP settings showing active server and Edit Servers button
{
  "mcpServers": {
    "danilat-mcp-dndzgz": {
      "command": "npx",
      "args": [
        "-y",
        "@dndzgz/mcp"
      ]
    }
  }
}
4

Use it across models

Save the server list, open Plugins, enable the DNDzgz MCP 服务器 MCP tools, then select any supported AI model in TypingMind and use the tools in chat or assign them to an AI agent.

  1. Open the Plugins page in TypingMind.
  2. Enable the DNDzgz MCP 服务器 MCP tools.
  3. Start a chat and choose the AI model you want to use.
  4. Use the MCP tools in chat or assign them to an AI agent.
  5. Switch to another AI model whenever needed without reconnecting MCP.
TypingMind chat using enabled MCP tools with a selected AI model
Can you use DNDzgz MCP 服务器 to help me with this task?
DNDzgz MCP 服务器
Sure. I read it.
Here is what I found using DNDzgz MCP 服务器.

Option 2: Add an MCP server URL

Use this when DNDzgz MCP 服务器 is already hosted remotely or your team wants one shared connector that multiple users can access.

1

Open MCP connectors

In TypingMind, go to Plugins, open MCP connectors, then choose Add URL.

  1. Open TypingMind in your browser.
  2. Go to Plugins.
  3. Open MCP connectors.
  4. Click Add URL.
TypingMind Add Custom MCP Server URL form
2

Paste the server URL

Enter your server URL in the Server URL field. Add a connection name, description, icon, custom HTTP headers, or OAuth client settings if the server requires them.

  1. Paste your server URL into the Server URL field.
  2. Enter a connection name for DNDzgz MCP 服务器.
  3. Add a description and icon if you want it to be easier to identify.
  4. Add custom HTTP headers or OAuth client details if the server requires authentication.
3

Create the connection

Click Create connection, then return to the Plugins list and confirm the new MCP connection is active.

  1. Click Create connection.
  2. Return to the MCP connectors list.
  3. Confirm the DNDzgz MCP 服务器 connection appears as active.
  4. Refresh the plugin list if the connection does not appear immediately.
4

Switch models without reconnecting

Start a chat with your preferred model, enable the DNDzgz MCP 服务器 tools from Plugins, and switch to another model whenever needed. The MCP connection stays available to the TypingMind workspace.

  1. Start a new chat in TypingMind.
  2. Select the AI model you want to use.
  3. Enable the DNDzgz MCP 服务器 tools from Plugins.
  4. Ask the model to use the tool when needed.
  5. Switch to another AI model and reuse the same MCP connection.
TypingMind chat using enabled MCP tools with a selected AI model
Can you use DNDzgz MCP 服务器 to help me with this task?
DNDzgz MCP 服务器
Sure. I read it.
Here is what I found using DNDzgz MCP 服务器.

Frequently asked questions

What is the DNDzgz MCP 服务器 MCP server used for?

DNDzgz MCP 服务器 is an MCP server that lets compatible AI clients connect to external tools and context. In TypingMind, you can add this MCP server once and make its tools available in your AI workspace.

Can I use DNDzgz MCP 服务器 MCP with multiple AI models in TypingMind?

Yes. TypingMind connects MCP tools at the workspace level, so you can use DNDzgz MCP 服务器 with different AI models such as Claude, ChatGPT, Gemini, or other models you have configured in TypingMind without setting up the MCP server separately for each model.

Why use DNDzgz MCP 服务器 MCP with TypingMind?

TypingMind is one of the best frontends for LLM chat because it brings multiple AI models, prompts, plugins, AI agents, API keys, and MCP tools into one workspace. With DNDzgz MCP 服务器 connected, you can use its MCP tools across your preferred models while keeping your chat workflow organized in TypingMind.

How do I connect DNDzgz MCP 服务器 MCP to TypingMind?

DNDzgz MCP 服务器 can be connected in TypingMind with the local MCP connector or by adding a remote MCP server URL. Use the local connector when the server needs access to files, apps, or private resources on your device, and use a server URL when the MCP server is hosted remotely.

What tools does DNDzgz MCP 服务器 MCP provide in TypingMind?

DNDzgz MCP 服务器 exposes 8 MCP tools that can be enabled from the TypingMind Plugins page and used in chat or assigned to AI agents.

Do I need to share my API keys with TypingMind to use DNDzgz MCP 服务器 MCP?

No. TypingMind is local-first and lets you keep your model providers, API keys, prompts, and MCP configuration under your control. If DNDzgz MCP 服务器 requires authentication, add the required headers, OAuth settings, or local configuration for that MCP server when you create the connection.

Related MCP Servers

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇