drfccv/mcp-server-12306
If you are the rightful owner of mcp-server-12306 and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
12306 MCP Server is a high-performance backend for train ticket inquiries based on the Model Context Protocol (MCP), designed for AI, automation, and smart assistant scenarios.
12306 MCP Server is a cutting-edge backend solution designed to facilitate train ticket inquiries using the Model Context Protocol (MCP). It supports real-time queries for ticket availability, train schedules, seat information, and transfer options, all in one place. The server is built on FastAPI, ensuring asynchronous high performance and rapid response times. It is tailored for integration with AI, automation, and smart assistant applications, providing a user-friendly interface that is easy to integrate and ready to use out of the box. The server also includes intelligent time tools to help users avoid errors in date input by supporting relative date calculations. With support for the MCP 2025-03-26 standard, it offers streamable HTTP transmission, making it a versatile choice for various applications. The server is designed to be easily deployable both locally and via Docker, with comprehensive documentation and tools to support developers in customizing and extending its capabilities.
Features
- Real-time ticket, train, seat, and schedule inquiries
- Nationwide station information management with fuzzy search
- Official stop station and single transfer plan support
- Intelligent time tools for accurate date selection
- FastAPI asynchronous high performance with MCP standard support
Tools
query_tickets
One-stop query for ticket availability, train schedules, and seat information
search_stations
Fuzzy search for stations, supporting Chinese, Pinyin, and abbreviations
get_station_info
Retrieve station details including name, code, and location
query_transfer
Single transfer plan with automatic optimal transfer stitching
get_train_route_stations
Query stop stations and timetable for specified trains
get_current_time
Get current time and relative date to help users accurately select travel dates