Skip to main content
Glama

Caltrain MCP Server

by davidyen1124

next_trains

Find upcoming Caltrain departures between specified origin and destination stations. Provide station names or common abbreviations, and optionally specify a departure time for accurate schedule lookup.

Instructions

Return the next few scheduled Caltrain departures.

Args: origin: Station name (e.g. 'San Jose Diridon', 'Palo Alto', 'San Francisco'). Supports common abbreviations like 'SF' for San Francisco, 'SJ' for San Jose. If station is not found, use list_stations() to see all available options. destination: Station name (e.g. 'San Francisco', 'Mountain View', 'Tamien'). Supports common abbreviations like 'SF' for San Francisco, 'SJ' for San Jose. If station is not found, use list_stations() to see all available options. when_iso: Optional ISO-8601 datetime (local time). Default: now.

Note: If you get a "Station not found" error, try using the list_stations() tool first to see exact station names, then retry with the correct spelling.

Input Schema

NameRequiredDescriptionDefault
destinationYes
originYes
when_isoNo

Input Schema (JSON Schema)

{ "properties": { "destination": { "title": "Destination", "type": "string" }, "origin": { "title": "Origin", "type": "string" }, "when_iso": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "When Iso" } }, "required": [ "origin", "destination" ], "title": "next_trainsArguments", "type": "object" }
Install Server

Other Tools from Caltrain MCP Server

Related Tools

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/davidyen1124/caltrain-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server