DNDzgz MCP Server
The repository is hosted on GitHub and can be cloned from there for installation.
Used for dependency management and running the application.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@DNDzgz MCP Server when is the next tram arriving at Romareda station?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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
Clone the repository:
git clone https://github.com/danilat/mcp-dndzgz.git
cd mcp-dndzgzInstall dependencies:
npm installRelated MCP server: MCP Trenitalia
Running the Application
Add a the environment variable with a valid google maps api key and run it with the http transport
GOOGLE_MAPS_API_KEY=your-api-key npm start:httpThe 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:
{
"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:
zaragoza-tram-estimations: Get real-time arrival estimations for a specific tram stationParameters:
station(number): ID of the tram station
Returns: JSON with estimated arrival times for both directions
zaragoza-tram-stations: Get a list of all tram stations in ZaragozaParameters:
latitude(number): Latitude to sort stations by proximitylongitude(number): Longitude to sort stations by proximity
Returns: JSON with station information including location, name, and ID
zaragoza-bus-stops: Get all bus stops in ZaragozaParameters:
latitude(number): Latitude to sort stops by proximitylongitude(number): Longitude to sort stops by proximity
Returns: JSON with bus stop locations, names, IDs, and lines
zaragoza-bus-estimations: Get real-time arrival estimations for a specific bus stopParameters:
stop(number): ID of the bus stop
Returns: JSON with estimated arrival times for each line serving that stop
zaragoza-bizi-stations: Get all Bizi stations in Zaragoza (public bicycle rental service)Parameters:
latitude(number): Latitude to sort stations by proximitylongitude(number): Longitude to sort stations by proximity
Returns: JSON with Bizi station locations, names, and IDs
zaragoza-bizi-estimations: Get real-time availability of bikes and free slots in a Bizi stationParameters:
station(number): ID of the Bizi station
Returns: JSON with bikes and parking slot availability
google-maps-link: Get a Google Maps link for a specific locationParameters:
latitude(number): Latitude of the locationlongitude(number): Longitude of the location
Returns: Google Maps URL showing the specified location
geolocation-from-address: Get the geolocation (latitude and longitude) from an address and the formatted address that was foundParameters:
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

Available Tools
8 toolsgeolocation-from-addressA
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
Inputs: address (required).
google-maps-linkC
Get a Google Maps link from coordinates to help people to find a station o stop
Inputs: latitude (required), longitude (required).
zaragoza-bizi-estimationsC
Get the estimation of bikes and free slots in a Bizi station in Zaragoza in realtime
Inputs: station (required).
zaragoza-bizi-stationsC
Get all Bizi stations in Zaragoza, the bicycle rental public service
Inputs: latitude (required), longitude (required).
zaragoza-bus-estimationsC
Get the estimation of when a bus arrives to a stop in Zaragoza in realtime
Inputs: stop (required).
zaragoza-bus-stopsC
Get all bus stops in Zaragoza
Inputs: latitude (required), longitude (required).
zaragoza-tram-estimationsC
Get the estimation of when arrives to a tram station in Zaragoza in realtime
Inputs: station (required).
zaragoza-tram-stationsC
Get all tram stations in Zaragoza
Inputs: latitude (required), longitude (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 8 tools
Every tool has a clearly distinct purpose with no ambiguity. The tools are organized by transport mode (Bizi, bus, tram) and function (stations/stops vs. estimations), and the geolocation and Google Maps tools serve unique supporting roles. An agent can easily distinguish between them based on their specific targets.
All tool names follow a consistent pattern of 'zaragoza-[transport]-[function]' or a descriptive prefix like 'geolocation-from-address' and 'google-maps-link'. This verb-noun or noun-noun structure is uniform throughout, making the set predictable and readable.
With 8 tools, the count is well-scoped for the server's purpose of providing Zaragoza transport information. Each tool earns its place by covering distinct aspects like stations, real-time estimations, and location utilities, without being overwhelming or insufficient.
The tool set offers complete coverage for the domain of Zaragoza transport. It includes CRUD-like operations (list stations and get estimations) for all major modes (Bizi, bus, tram), plus supporting tools for geolocation and maps, ensuring no gaps in the workflow for finding and using transport services.
Maintenance
Related MCP Connectors
MCP server for China Railway 12306 ticket availability: schedules and seats by Chinese station name.
MCP server for China Railway 12306 ticket availability: schedules and seats by Chinese station name.
An MCP server that exposes functionalities to use Zomato's services.
An MCP server that provides congressional transcripts
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceAn MCP server to retrieve train schedules from National Rail using the Realtime Trains API, providing tools for live departures and arrivals.7MIT
- AlicenseNot gradedqualityBmaintenanceAn MCP server for real-time Italian railway data, enabling natural language queries about train schedules, delays, departures, arrivals, and live tracking via the Viaggiatreno API.7MIT
- FlicenseAqualityDmaintenanceMCP server for querying German public transport information, including station search, live departures/arrivals, and journey planning.51-
- FlicenseNot gradedqualityDmaintenanceA simple MCP server to call RMV APIs for nearby stations and departure boards.-