
12306-mcp
by Joooook·★ 878·Score 49
12306 MCP server provides ticket search functionality for Chinese railway booking.
Overview
12306-mcp is an MCP server that provides access to China's 12306 railway booking system. It allows AI models to search for train tickets, filter train information, check station transfers, and query routes. The server offers both stdio and HTTP modes of operation, making it compatible with different MCP client implementations.
Try asking AI
After installing, here are 5 things you can ask your AI assistant:
When to choose this
Choose this server when you need to integrate real-time Chinese train ticket information into your AI application or workflow.
When NOT to choose this
Don't choose this server if you need access to non-Chinese railway systems or require ticket booking functionality (search only).
Tools this server exposes
4 tools extracted from the READMEquery_tickets查询12306购票信息
filter_trains过滤列车信息
query_stations过站查询
query_transfers中转查询
Note: 工具名称从功能描述表格中推断,没有明确的API文档或工具列表
Comparable tools
Installation
# Install via npm
npm install -g @joooook/12306-mcp
# Run directly
npx -y 12306-mcp
# Or with specific port
npx -y 12306-mcp --port 8080
# Claude Desktop configuration
{
"mcpServers": {
"12306-mcp": {
"command": "npx",
"args": [
"-y",
"12306-mcp"
]
}
}
}FAQ
- What MCP tools does this server provide?
- The server provides tools for searching 12306 tickets, filtering train information, checking station transfers, and querying routes.
- How can I use this server with Claude Desktop?
- Configure the server in your Claude Desktop settings using the JSON configuration shown in the installation section.
Compare 12306-mcp with
Last updated · Auto-generated from public README + GitHub signals.