MCP.so
登录

DNDzgz MCP Server

@danilat

关于 DNDzgz MCP Server

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

基本信息

分类

其他

运行时

node

传输方式

stdio

发布者

danilat

配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "dndzgz": {
      "command": "npx",
      "args": [
        "@dndzgz/mcp"
      ],
      "env": {
        "GOOGLE_MAPS_API_KEY": ""
      }
    }
  }
}

工具

16

`station` (number): ID of the tram station

JSON with estimated arrival times for both directions

`latitude` (number): Latitude to sort stations by proximity

JSON with station information including location, name, and ID

`latitude` (number): Latitude to sort stops by proximity

JSON with bus stop locations, names, IDs, and lines

`stop` (number): ID of the bus stop

JSON with estimated arrival times for each line serving that stop

`latitude` (number): Latitude to sort stations by proximity

JSON with Bizi station locations, names, and IDs

`station` (number): ID of the Bizi station

JSON with bikes and parking slot availability

`latitude` (number): Latitude of the location

Google Maps URL showing the specified location

`address` (string): The address to geolocate (e.g., "Plaza de San Francisco, Zaragoza, Spain")

JSON with latitude, longitude, confidence level, and formatted address

概览

What is DNDzgz MCP Server?

DNDzgz MCP Server is a Model Context Protocol server that provides information about the Zaragoza tram system, including real‑time arrival estimations and station data via the DNDzgz API. It also offers data on bus stops, bus estimations, Bizi public bicycle stations, Google Maps links, and address geolocation.

How to use DNDzgz MCP Server?

Clone the repository, install dependencies with npm install, set the GOOGLE_MAPS_API_KEY environment variable, then run using HTTP transport (npm start:http) or configure stdio transport in your MCP client with npx @dndzgz/mcp.

Key features of DNDzgz MCP Server

  • Eight tools: tram estimations, stations, bus stops, bus estimations, Bizi stations, Bizi estimations, Google Maps link, address geolocation
  • Real‑time arrival estimations for tram and bus
  • Station and stop lists sorted by proximity
  • Public bicycle availability data
  • Google Maps link generation and address geocoding

Use cases of DNDzgz MCP Server

  • Get real‑time tram arrival times for a Zaragoza station
  • Find nearby bus stops and their estimated arrivals
  • Check bike and slot availability at Bizi stations
  • Generate Google Maps links for locations
  • Geolocate addresses in Zaragoza

FAQ from DNDzgz MCP Server

What data sources does the server use?

It uses the DNDzgz API for tram, bus, and Bizi data, and the Google Maps API for geolocation and maps links.

What runtime is required?

Node.js with npm, and a valid Google Maps API key set as an environment variable.

Can I use it without a Google Maps API key?

No, a Google Maps API key is required for the geolocation and maps link functionality.

What transport methods are supported?

HTTP transport (npm start:http) and stdio transport (configured in the MCP client with npx @dndzgz/mcp).

Does it provide data for other cities?

No, it is specific to Zaragoza, Spain.

评论

其他 分类下的更多 MCP 服务器