Integrate China Railway 12306 ticket availability directly into your MCP client to effortlessly query train schedules and remaining seats. This read-only server allows users to search by Chinese station name and date, providing comprehensive details including train number, departure/arrival times, duration, and seat availability across various classes. It leverages 12306's public query endpoints, offering a convenient way to access real-time train information without needing an account or booking capabilities, available both as a hosted Streamable HTTP endpoint or for easy self-hosting.
主要功能
01Queries 12306 train schedules and real-time seat availability.
02Supports queries by Chinese city or station names and specific dates.
030 GitHub stars
04Includes a free, hosted Streamable HTTP endpoint for instant use with MCP clients.
05Provides a fuzzy search tool for station names when uncertain.
06Designed for easy self-hosting with minimal Python dependencies.
使用案例
01Quickly checking train schedules and seat availability for upcoming travel in China.
02Integrating China Railway ticket queries into AI assistants or MCP clients for travel planning.
03Accessing read-only 12306 data for personal or project-based information retrieval.