Skip to main content
MCP server CX Codex

Transit MCP — Claude Code MCP server: what it does, how to install

A read-only MCP server providing transit schedules, vehicle tracking, and step-free trip planning for NYC, DC, and the SF Bay Area.

Install into Claude Code · Platform CLI: remote server All methods and platforms ↓
claude mcp add --transport http transit-mcp https://transitmcp.com/mcp
Open on GitHub

What Transit MCP does

Transit MCP connects language models to public transit feeds across New York, Washington DC, and the San Francisco Bay Area. It exposes 18 tools, including plan_trip, get_departures, and get_service_status. The server retrieves data directly from MTA, WMATA, and 511 SF Bay feeds, covering subways, commuter rail, buses, and ferry networks.

The server runs via Streamable HTTP at https://transitmcp.com/mcp. No API keys are required. The routing engine resolves station name typos and complex multi-line hubs. It also supports accessible navigation with the step_free parameter, filtering out stations where elevators are currently out of service according to live agency reports.

Coverage is strictly limited to the three supported metropolitan regions.

What it helps with

  • plan transit trips between stations or coordinates
  • check upcoming train and bus departures in real time
  • find accessible itineraries avoiding broken elevators
  • track live train locations and service disruptions

Example prompts for the agent

  • When is the next BART train from Powell St to SFO?
  • Plan a step-free route from Times Square to Brooklyn.
  • Are there any delays or track incidents on the DC Metrorail right now?

How to install Transit MCP

Platform CLI: remote server

claude mcp add --transport http transit-mcp https://transitmcp.com/mcp

Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more

Questions about Transit MCP

How to install Transit MCP in Claude Code?

Run claude mcp add --transport http transit-mcp https://transitmcp.com/mcp in your terminal. The tool connects immediately without extra configuration.

What does Transit MCP do?

It gives coding agents live transit routing, timetables, service alerts, and vehicle coordinates across New York, Washington DC, and the SF Bay Area.

Do I need an API key to use Transit MCP?

No user account or bearer token is required. Transit MCP operates as a public, read-only endpoint served over HTTP.

Similar MCP servers

All MCP servers for Agent setup: memory, context, orchestration →

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor