How to find the cheapest train between two cities with 12306-mcp
Когда использовать: You need to compare train options between two Chinese cities and find the best deal.
Предварительные требования
- 12306-mcp server running — npx -y 12306-mcp
Поток
-
Search for available trainsSearch for trains from Beijing to Shanghai tomorrow. Show me all available options with prices and seat types.✓ Скопировано→ A table of trains with departure times, durations, seat classes, and prices
-
Filter by preferenceWhich of these has second-class seats available and arrives before 6pm?✓ Скопировано→ Filtered list matching the criteria
Итог: A clear comparison of train options to make a booking decision.
Подводные камни
- Station names must match 12306's database exactly — Use the station search tool first to confirm the correct station name