Vibe Coding Discover

MCP

mcp-server-12306

View on GitHub

12306 MCP Server​​ 是一个基于 ​​Model Context Protocol (MCP)​​ 的高性能火车票查询后端系统。它通过标准化接口提供官方 12306 的实时数据服务,包括余票查询、车站信息、列车经停站、中转换乘方案等核心功能。

★ 39458 forksPythonMITdrfccv

A Python MCP server that exposes 12306 train ticket availability, fares, station search, transfer plans, and route-stop queries. Supports stdio and Streamable HTTP transports for MCP-compatible clients.

Use Cases

Check train ticket availability and schedulesLook up fares by route and dateSearch stations by Chinese name, pinyin, or station codeFind train transfer optionsRetrieve train stops and arrival timesConnect railway queries to MCP-compatible AI assistants

Built With

Language
Python
Frameworks
Model Context Protocol · Python MCP SDK · Pydantic Settings

Tags

12306 · train tickets · railway · ticket availability · ticket prices · transfers · station search · train routes · stdio · Streamable HTTP