What GTFS data does caltrain-mcp use?
It uses official Caltrain GTFS data, including `stops.txt`, `trips.txt`, `stop_times.txt`, and `calendar.txt`, which are downloaded by running `fetch_gtfs.py`.
@davidyen1124
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.
以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。
{
"mcpServers": {
"caltrain": {
"command": "uvx",
"args": [
"caltrain-mcp"
]
}
}
}ツール一覧はまだありません
この掲載には表示できるツール一覧がまだありません。サーバーにツールがないという意味ではありません。対応機能はプロジェクトのドキュメントをご確認ください。
上のボタンで一時的なサンドボックスでこのサーバーを実行し、ツール一覧を取得できます。
caltrain-mcp is a Model Context Protocol server that provides Caltrain schedule information using official GTFS data. It is intended for users of MCP-compatible clients (like Claude Desktop) who need to look up train departures, stations, and travel times between any two Caltrain stops.
Configure caltrain-mcp in your MCP client (e.g., Claude Desktop) by adding "caltrain": { "command": "uvx", "args": ["caltrain-mcp"] } to the MCP configuration file. The server can also be tested directly via Python imports or started with uvx caltrain-mcp. It relies on local GTFS data that must be fetched first by running fetch_gtfs.py.
when_iso parameterIt uses official Caltrain GTFS data, including `stops.txt`, `trips.txt`, `stop_times.txt`, and `calendar.txt`, which are downloaded by running `fetch_gtfs.py`.
Install the `uv` package manager, run `uv sync` to install dependencies, then download the GTFS data with `uv run python scripts/fetch_gtfs.py`. Finally, configure your MCP client to run `uvx caltrain-mcp`.
It exposes two tools: `next_trains(origin, destination, when_iso=None)` to get upcoming departures, and `list_stations()` to list all 31 Caltrain stations.
The server communicates via stdin/stdout using the Model Context Protocol (MCP). It does nothing when run directly in a terminal.
The README notes that actual arrival times may vary and that the server relies on the official GTFS data, so accuracy depends on that data. It handles mixed integer/string GTFS fields and supports 24+ hour time format.

EM+x turns your conversation into board-ready deliverables: steering-committee readouts, executive briefs, market scans, QBR decks, and program updates - each built by an agentic consulting team using your own templates

Listings API is a local citation and listings submission provider. Submit business information to 50+ listings sites, including Google Business Profile, Apple Maps, Bing Places, Facebook and Yelp, and keep names, address

ListingGood AI Recommendation Engine — a hosted MCP server + Claude/Cursor skills that make Amazon's AI recommend your products. Free no-login scan: https://listinggood.com/scan Get API key: https://listinggood.com/deve

Multiplayer coding in the agentic era through an MCP server for real-time codebase sync between your agents.

Write LinkedIn posts in your own voice from Claude, ChatGPT, or any MCP client. ContentIn trains a personal AI on your own LinkedIn posts, then generates ideas, drafts in your voice, schedules, publishes via LinkedIn's o
コメント