drfccv/mcp-server-12306

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

54
/ 100
Established

Implements dual transport modes—stdio for Claude Desktop integration and streamable HTTP with SSE/POST for remote deployment—enabling seamless AI assistant integration. Built on FastAPI with async architecture for sub-second response times, it aggregates official 12306 APIs into standardized MCP tools including ticket/price queries, station search with Chinese/pinyin matching, and single-transfer routing. Designed as drop-in MCP compliance for AI automation workflows with Docker deployment support.

291 stars.

No Package No Dependents
Maintenance 10 / 25
Adoption 10 / 25
Maturity 15 / 25
Community 19 / 25

How are scores calculated?

Stars

291

Forks

44

Language

Python

License

MIT

Last pushed

Feb 11, 2026

Commits (30d)

0

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/mcp/drfccv/mcp-server-12306"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.