MCP Server 12306
Supports UIby drfccv
High-performance train ticket query backend for China's 12306 system, providing real-time seat availability and routing.
What it does
This server connects AI assistants to the official 12306 Chinese railway system, allowing them to perform real-time queries for train tickets, seat availability, and station information.
Tools
query_tickets: One-stop query for remaining tickets, train numbers, seats, and schedules.query_ticket_price: Real-time price information for specific train trips.search_stations: Fuzzy search for stations using Chinese, Pinyin, or abbreviations.get_station_info: Retrieves detailed station metadata including codes and geography.query_transfer: Finds the optimal single-transfer routing between stations.get_train_route_stations: Lists all stops and timings for a specific train.get_current_time: Provides current time and relative dates to ensure accurate trip planning.
Installation
Add this to your claude_desktop_config.json:
{
"mcpServers": {
"12306": {
"command": "uvx",
"args": ["mcp-server-12306"]
}
}
}
Supported hosts
- Claude Desktop
Quick install
uvx mcp-server-12306Information
- Pricing
- free
- Published
- 4/16/2026
- stars






