#730 · Primary category: AI Agents & Automation

12306-mcp

12306 mcp mcp-server train-tickets

This is a 12306 ticket search server based on the Model Context Protocol (MCP).

Project last updated:07/31/26

GitHub Stars

1.2K

Forks

195

Contributors

9

License

MIT

Why we included this project

Travel agents and chat assistants often hit a wall when they need live railway data for China. This server bridges that gap by exposing 12306's query endpoints through the Model Context Protocol, so an agent can fetch schedules between two cities, narrow results by departure time or train type, check stations along a route, and compare transfer options without anyone hand-coding scrapers. Setup stays light: a single npx command runs it in stdio mode for local clients, or you can serve it over HTTP and point any MCP-compatible assistant at it. It fits neatly into region-specific travel assistants or automation that needs up-to-date timetable answers. Note that it only handles ticket search; purchasing is out of scope.

Articles for this project

No articles for this project yet.

To suggest a topic or contribute an article, contact us.

Related projects in this category