ClaudeCodeMod

All shelves / MCP servers

caltrain-mcp

davidyen1124/caltrain-mcp · 10 stars · TypeScript

MCP server A Model Context Protocol (MCP) server for Caltrain schedules. Get real-time train departures using GTFS data, designed for Claude Desktop and other MCP clients.

Install

The repo has no one-line install. Follow its README.

Open the repo

Files

README.md

Caltrain MCP

CI

A remote MCP server that tells you exactly when the next Caltrain leaves, so you can be precisely informed about how late it is. It runs on Caltrain's official GTFS schedule, which means the disappointment is official too.

Server: https://caltrain-mcp-rho.vercel.app/mcp (Streamable HTTP, no auth). Live demo at caltrain-mcp-rho.vercel.app.

The full-day Caltrain timetable open next to the chat in ChatGPT

In ChatGPT and other MCP Apps hosts, answers come with an interactive timetable. Tap a train for its stops, or open the whole day with Express / Limited / Local filters and keep asking questions about what's on screen. Everywhere else you get the same answer as text.

What it knows

  • The next trains between two stations, or the last ones that still get you there by 9.
  • That the 12:05 AM train belongs to yesterday, that Thanksgiving runs a weekend schedule, and that South County doesn't do weekends.
  • Where to change trains when there's no direct one.
  • That sf, sj and 22nd are stations, because nobody types "San Francisco Caltrain Station".

Tools: next_trains, list_stations, and get_timetable (only the timetable view calls that one). All read-only.

Development

npm install
npm run dev    # http://localhost:3000, MCP at /mcp
npm test

It's Next.js on Vercel:

  • Schedule engine: lib/schedule.ts.
  • Timetable view: widget/, React, Tailwind and shadcn built into one HTML file.
  • Feed: data/gtfs/. A weekly GitHub Action fetches a fresh one and opens a PR, and merging deploys it.

When the view changes, bump TIMETABLE_URI in lib/mcp/constants.ts. ChatGPT caches it harder than you'd think.

The old Python package on PyPI (uvx caltrain-mcp) still installs, but it's retired. Use the URL above.

License

LICENSE.md. Uses official Caltrain GTFS data; not affiliated with Caltrain. If the train is late, take it up with them.

Facts

Kind
MCP server
Repo
davidyen1124/caltrain-mcp
Group
Uncategorized
Stars
10
Language
TypeScript
Last push
2026-09-27
Forks
7
Homepage
caltrain-mcp-rho.vercel.app
Topics
ai-assistant, bay-area, caltrain, claude-desktop, gtfs, mcp, model-context-protocol, public-transit, python, transportation

More on this shelf

  1. 1REAio.github.morluto/reaReverse engineer anything from your terminal or agent with one CLI and MCP server.125.3k
  2. 2com.browser-use/browser-usecom.browser-use/browser-useControl a real Chrome browser to complete any task: fill forms, extract data, book flights.117.7k
  3. 3World Monitorapp.worldmonitor/mcpLive markets, conflicts, country risk, chokepoints, energy, and China decision signals. 93 tools.88.3k
  4. 4Scrapling MCP Serverd4vinci/scrapling🕷️ An adaptive Web Scraping framework that handles everything from a single request to a full-scale crawl! Don't be shy, join here: https://discord.gg/EMgGbDceNQ and follow here for daily tips and tricks: https://x.com/Scraplingdev86.9k
  5. 5Everythingmodelcontextprotocol/serversThis MCP server attempts to exercise all the features of the MCP protocol. It is not intended to be a useful server, but rather a test server for builders of MCP clients. It implements prompts, tools, resources, sampling, and more to showcase MCP capabilities.85.8k
  6. 6Fetchmodelcontextprotocol/serversA Model Context Protocol server that provides web content fetching capabilities. This server enables LLMs to retrieve and process content from web pages, converting HTML to markdown for easier consumption.85.8k