Metro MCP

AI chatbot interface for Washington Metro transit APIs

Metro MCP

Overview

Metro MCP connects AI chatbots to the Washington Metro system. Instead of tapping through apps, you can ask questions in plain English like "When's the next Red Line train at Dupont Circle?" and get instant answers.

Challenge & Approach

Getting Metro information means opening an app and clicking through multiple screens. There's no way to just ask a question and get an answer.

Built a bridge between AI chatbots and Metro's data. Now you can ask questions in plain English and get real-time answers about trains, delays, and routes.

Key Features & Implementation

Built server that lets AI chatbots understand and answer Metro questions

Deployed on Cloudflare Workers so responses are instant, no matter the load

Added retry logic so it works reliably even when Metro's APIs have issues

Created login system that's secure but easy for developers to use

Tuned the AI to understand transit questions and return accurate answers

Tech Stack

TypeScriptCloudflare WorkersMCPREST APIsOAuth

Gallery

Metro MCP screenshot 1