How to compare train ticket prices for a journey with mcp-server-12306
When to use: You want to find the cheapest option for your train journey.
Prerequisites
- mcp-server-12306 running — uvx mcp-server-12306 or Docker: docker run -p 8000:8000 drfccv/mcp-server-12306:latest
Flow
-
Search tickets with pricesQuery tickets from Beijing to Guangzhou for tomorrow. Show all available trains with prices for each seat class.✓ Copied→ Table of trains with departure times, durations, and prices per seat class
-
Get detailed pricingShow me the detailed pricing for train G79, including all seat types.✓ Copied→ Complete fare breakdown for the specific train
Outcome: Clear price comparison to choose the best value train.
Pitfalls
- Prices may vary by date and availability — Check availability alongside prices — cheap seats sell out first