How to find the cheapest train between two cities with 12306-mcp
Quand l'utiliser : You need to compare train options between two Chinese cities and find the best deal.
Prérequis
- 12306-mcp server running — npx -y 12306-mcp
Déroulement
-
Search for available trainsSearch for trains from Beijing to Shanghai tomorrow. Show me all available options with prices and seat types.✓ Copié→ 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?✓ Copié→ Filtered list matching the criteria
Résultat : A clear comparison of train options to make a booking decision.
Pièges
- Station names must match 12306's database exactly — Use the station search tool first to confirm the correct station name