Caltrain MCP
A Caltrain train time query MCP server based on GTFS data, providing functions such as real-time train times and station queries, and can be integrated with MCP clients such as Claude Desktop.
rating : 2.5 points
downloads : 1
What is the Caltrain MCP Server?
The Caltrain MCP server is a system based on the Model Context Protocol (MCP) that can query the real-time train schedules of the California commuter rail (Caltrain). It uses official GTFS data to provide information on train departure and arrival times.How to Use the Caltrain MCP Server?
The server integrates with AI assistants (such as Claude Desktop) through the MCP protocol. Users only need to ask questions in the conversation, for example, 'When is the next train from San Jose to San Francisco?', to obtain train schedule information.Applicable Scenarios
Suitable for users who need to plan their commutes, know train times, or study public transportation systems. Particularly suitable for passengers who often take the Caltrain.Main Features
Real-time Train SchedulesProvides information on train departure and arrival times from one station to another, based on official GTFS data.
Station SearchSupports searching for stations by full name, abbreviation, acronym, or partial match, making it convenient for users to quickly find the desired stations.
Time-specific QueryAllows users to specify a specific date and time to query train times, helping to plan travel schedules.
Intelligent SearchSupports searching for stations by shorthand or partial keywords, enhancing the user experience.
GTFS Data SourceUses GTFS data provided by the official Caltrain, ensuring the accuracy and reliability of the information.
Advantages and Limitations
Advantages
Provides accurate train schedule information to help users better plan their trips.
Supports multiple ways of entering station names, making it convenient for users to use.
Can be seamlessly integrated with AI assistants to enhance the interaction experience.
Based on official data sources, ensuring the authority and reliability of the information.
Limitations
Actual train times may change due to various reasons, and complete accuracy cannot be guaranteed.
Limited to Caltrain lines and not applicable to other transportation systems.
Requires a network connection to obtain the latest data.
Some advanced features may require additional configuration or settings.
How to Use
Install Dependencies
First, install the uv tool, and then use uv to synchronize project dependencies.
Get GTFS Data
Run the script to download the Caltrain GTFS data file.
Start the Server
Use the uvx command to start the Caltrain MCP server.
Integrate with AI Assistant
Configure the server as an MCP server to integrate with AI assistants such as Claude Desktop.
Usage Examples
Query the Next TrainThe user asks about the time of the next train from San Jose to San Francisco.
Find All StationsThe user requests to list the names of all Caltrain stations.
Query Trains at a Specific TimeThe user asks about the train times at a specific time on a certain day.
Frequently Asked Questions
Why might the train times be inaccurate?
How to find the station names?
Does it support other transportation systems?
How to update the GTFS data?
How to integrate with an AI assistant?
Related Resources
Caltrain Official Website
View official information and schedules of Caltrain.
GTFS Data Repository
Obtain the GTFS data file of Caltrain.
GitHub Project Page
View the source code and documentation of the project.
Model Context Protocol (MCP) Documentation
Understand the detailed information and usage methods of the MCP protocol.
Featured MCP Services

Markdownify MCP
Markdownify is a multi-functional file conversion service that supports converting multiple formats such as PDFs, images, audio, and web page content into Markdown format.
TypeScript
1.8K
5 points

Gitlab MCP Server
Certified
The GitLab MCP server is a project based on the Model Context Protocol that provides a comprehensive toolset for interacting with GitLab accounts, including code review, merge request management, CI/CD configuration, and other functions.
TypeScript
154
4.3 points

Notion Api MCP
Certified
A Python-based MCP Server that provides advanced to-do list management and content organization functions through the Notion API, enabling seamless integration between AI models and Notion.
Python
201
4.5 points

Duckduckgo MCP Server
Certified
The DuckDuckGo Search MCP Server provides web search and content scraping services for LLMs such as Claude.
Python
892
4.3 points

Figma Context MCP
Framelink Figma MCP Server is a server that provides access to Figma design data for AI programming tools (such as Cursor). By simplifying the Figma API response, it helps AI more accurately achieve one - click conversion from design to code.
TypeScript
6.7K
4.5 points

Unity
Certified
UnityMCP is a Unity editor plugin that implements the Model Context Protocol (MCP), providing seamless integration between Unity and AI assistants, including real - time state monitoring, remote command execution, and log functions.
C#
616
5 points

Gmail MCP Server
A Gmail automatic authentication MCP server designed for Claude Desktop, supporting Gmail management through natural language interaction, including complete functions such as sending emails, label management, and batch operations.
TypeScript
335
4.5 points

Minimax MCP Server
The MiniMax Model Context Protocol (MCP) is an official server that supports interaction with powerful text-to-speech, video/image generation APIs, and is suitable for various client tools such as Claude Desktop and Cursor.
Python
798
4.8 points