Caltrain MCP Server

A Model Context Protocol (MCP) server that promises to tell you _exactly_ when the next Caltrain will arrive... and then be 10 minutes late anyway.

Local serverstdioPython

What is the Caltrain MCP Server?

Caltrain MCP connects Caltrain MCP to AI assistants that speak the Model Context Protocol. A Model Context Protocol (MCP) server that promises to tell you exactly when the next Caltrain will arrive... and then be 10 minutes late anyway. Uses real GTFS data, so at least the disappointment is official!.

What Caltrain MCP does

A Model Context Protocol (MCP) server that promises to tell you exactly when the next Caltrain will arrive... and then be 10 minutes late anyway. Uses real GTFS data, so at least the disappointment is official!

Key capabilities

  • 🚆 "Real-time" train schedules - Get the next departures between any two stations (actual arrival times may vary by +/- infinity)
  • 📍 Station lookup - Because apparently 31 stations is too many to memorize 🤷‍♀️
  • 🕐 Time-specific queries - Plan your commute with surgical precision, then watch it all fall apart
  • ✨ Smart search - Type 'sf' instead of the full name because we're all lazy here
  • 📊 GTFS-based - We use the same data Caltrain does, so when things go wrong, we can blame them together

Practical notes

  • Maintained by davidyen1124, written in Python.

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

How to install the Caltrain MCP Server

{
  "mcpServers": {
    "caltrain": {
      "command": "uvx",
      "args": ["caltrain-mcp"]
    }
  }
}

Add to claude_desktop_config.json, then restart Claude Desktop.

Frequently asked questions

A Model Context Protocol (MCP) server that promises to tell you _exactly_ when the next Caltrain will arrive... and then be 10 minutes late anyway. Uses real GTFS Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.