
DNDzgz MCP Server
A MCP Server to know about Zaragoza tram system in realtime
what is DNDzgz MCP Server?
DNDzgz MCP Server is a Model Context Protocol server that provides real-time information about the Zaragoza tram system, including tram arrival estimations and station details using the DNDzgz API.
how to use DNDzgz MCP Server?
To use the DNDzgz MCP Server, clone the repository from GitHub, install the necessary dependencies, and start the server. You can then access tram estimations and station information through the provided tools.
key features of DNDzgz MCP Server?
- Real-time tram arrival estimations for Zaragoza tram stations.
- Comprehensive list of all tram stations in Zaragoza.
- Easy installation and setup process.
use cases of DNDzgz MCP Server?
- Providing commuters with real-time tram arrival information.
- Assisting developers in integrating tram data into applications.
- Enhancing user experience for public transport applications in Zaragoza.
FAQ from DNDzgz MCP Server?
- How can I get tram arrival estimations?
You can use the
zaragoza-tram-estimations
tool by providing the station name to get real-time arrival times.
- Is there a list of all tram stations available?
Yes! You can use the
zaragoza-tram-stations
tool to retrieve a list of all tram stations in Zaragoza.
- What technologies are used in this project?
The server is built using JavaScript and utilizes the @modelcontextprotocol/sdk for communication.
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-dndzgz
- Install dependencies:
npm install
Running the Application
To start the server:
npm start
The server will start and connect to the MCP transport layer.
Available Tools
The server provides two main tools:
-
zaragoza-tram-estimations
: Get real-time arrival estimations for a specific tram station- Parameters:
station
(string) - Returns: JSON with arrival times
- Parameters:
-
zaragoza-tram-stations
: Get a list of all tram stations in Zaragoza- Parameters: none
- Returns: JSON with station information
Dependencies
- @modelcontextprotocol/sdk: ^1.9.0
Example
There is an screenshot with example using Claude Desktop
