mcp-stm-montevideo

mcp-stm-montevideo

MCP server exposing Montevideo public transportation data (STM) as tools for AI assistants, enabling natural language queries about routes, stops, arrivals, and trip planning.

Category
Visit Server

README

MCP STM Montevideo

Node TypeScript MCP

MCP server exposing Montevideo public transportation data (STM) as tools for AI assistants.

This project allows AI agents and LLM-based applications to query public transport information such as bus routes, stops, arrivals, and connections in Montevideo through the Model Context Protocol (MCP).

The goal is to make city infrastructure data accessible through conversational interfaces.


Demo

https://github.com/user-attachments/assets/805a692b-b2cc-4223-9abf-e7d5edf99eb6


Features

  • Exposes Montevideo STM transport data as MCP tools
  • Supports natural language queries about routes, stops, arrivals, and trip planning
  • Designed for AI assistants such as Claude Desktop, Cursor, and other MCP clients
  • Includes a REST API layer in addition to MCP
  • Built with Node.js and TypeScript
  • Integrates public STM datasets into a developer-friendly interface

Example

User query

How do I go from Facultad de Ingenieria to Plaza Independencia?

Assistant response

Take a bus from the stops near Bv. Espana and continue toward Ciudad Vieja.
Get off near Plaza Independencia.

Architecture

The server exposes STM transport data through MCP tools that AI assistants can call while answering user requests.

AI Assistant
     |
     v
MCP Client
     |
     v
MCP STM Montevideo Server
     |
     v
STM Transport Data

Installation

Clone the repository:

git clone https://github.com/chaba11/mcp-stm-montevideo
cd mcp-stm-montevideo

Install dependencies:

npm install

Build the project:

npm run build

Run the MCP server:

npm run start

Run the REST API locally:

npm run dev:api

Example MCP Tools

Example tools exposed by the server:

  • buscar_parada
  • proximos_buses
  • recorrido_linea
  • ubicacion_bus
  • como_llegar

These tools allow AI assistants to retrieve structured transportation data and generate natural language responses for users.


Use Cases

  • AI assistants answering public transport questions
  • Conversational city navigation tools
  • Smart travel assistants
  • Urban mobility integrations for LLM applications
  • MCP and API-based transit experiences

Tech Stack

  • Node.js
  • TypeScript
  • MCP (Model Context Protocol)
  • Hono
  • OpenAPI / Swagger
  • Public STM transport data

Why this project

As AI assistants become more common, exposing real-world systems through MCP servers enables natural language interaction with infrastructure and public services.

This project explores how public transportation systems can integrate with the AI tooling ecosystem in a practical, developer-friendly way.

This project was also an experiment: exploring MCPs as a way to connect real-world data with LLMs, and evaluating autonomous software development — most of the code was generated with Claude Code following a methodology of sequential loops (Ralph Loops).


Links


Author

Santiago Chabert
Montevideo, Uruguay

Full-stack developer focused on Node.js, TypeScript, cloud infrastructure, and AI tooling.

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured