
Description
MCP Server 12306 is a Model Context Protocol server, written in Python, that lets AI assistants and other tools query Chinese train tickets. It covers ticket availability by train and seat class, ticket prices for each train, station search across more than 3,000 stations by Chinese name, pinyin or code, transfer routes with waiting times, the stops and times of a given train, and time and date helpers for choosing travel days. It runs in two modes: stdio for local clients such as Claude Desktop and Cursor, and Streamable HTTP for remote deployment, which also exposes a health endpoint and the tool schemas. Docker deployment is documented. Install it with uv or pipx, or run it from source. The README includes a disclaimer, and the server is described as providing real-time data from the official 12306 service.…
Highlights
- Train availability and prices by seat class
- Station search by name, pinyin or code
- Transfer routes and train stop schedules
- Stdio and Streamable HTTP modes
- Docker deployment
Ratings & Reviews
No ratings yet
Be the first to rate mcp-server-12306.
People also visit
mcp-server-12306 FAQ
What is MCP Server 12306?
A Model Context Protocol server that gives AI assistants access to Chinese train ticket queries.
Which clients can use it?
Stdio mode is for local clients such as Claude Desktop and Cursor. Streamable HTTP mode is for remote deployment.
What Python version does it need?
Python 3.10 or newer. The README recommends uv for installing and managing it.
What data does it use?
The README says it provides real-time data from the official 12306 service, including availability, stations, stops and transfers.
What are the best mcp-server-12306 alternatives?
Popular alternatives to mcp-server-12306 include trvl, python-mcp-server-generator and ServiceNow MCP Server. See all mcp-server-12306 alternatives


















