cn.pianam/12306-train-mcp
MCP server for China Railway 12306 ticket availability: schedules and seats by Chinese station name.
Is this your project? Claim this entry to answer questions, hear about reviews and appear as the author.
- Repository
- github.com/boy-373/12306-train-mcp
- Server address
https://pianam.cn/train-mcp/mcp(streamable-http)- Version
- 1.0.1
- Author
- pianam.cn (namespace verified by the registry)
- Source
- Official MCP registry (updated Nov 9, 2026)
Reviews
No review yet.
Sign in to leave a review. Your email is all you need.
Questions for the author
No question yet.
Sign in to ask the author a question. The author has not claimed this entry yet: they will only be told if they claim it. Other members can answer.
How to install it
Claude Code
In a terminal:
claude mcp add --transport http 12306-train-mcp https://pianam.cn/train-mcp/mcpClaude (app and claude.ai)
Open Settings, then Connectors, and add a custom connector with this address. If the server asks you to sign in, Claude will walk you through it.
https://pianam.cn/train-mcp/mcpChatGPT
In Settings, Apps & Connectors section, turn on developer mode, then create a connector with this address.
https://pianam.cn/train-mcp/mcpCursor ~/.cursor/mcp.json
Add this to ~/.cursor/mcp.json (or .cursor/mcp.json in the project):
{
"mcpServers": {
"12306-train-mcp": {
"url": "https://pianam.cn/train-mcp/mcp"
}
}
}VS Code .vscode/mcp.json
Add this to your project’s .vscode/mcp.json:
{
"servers": {
"12306-train-mcp": {
"type": "http",
"url": "https://pianam.cn/train-mcp/mcp"
}
}
}These configurations are built from the information published by the author. Check the repository before installing a local server.
Our test
Responds The server speaks MCP and lists its tools.
- Date
- Nov 28, 2026, 08:16 (test run by L’Atlas)
- Response time
- 3,634 ms (whole test)
- Tools found
- 2
- Announced name
- train-mcp 4.1.3
- Protocol
- MCP 2025-11-25
- Next test
- Dec 5, 2026
See the tools (2)
query_train_tickets
查询中国大陆12306火车票余票信息。参数from_city出发城市/车站中文名,to_city到达城市/车站中文名,date出发日期格式YYYY-MM-DD;留空默认明天。search_station
按关键词搜索12306车站名称,返回匹配的车站中文名列表。不确定城市有哪些车站时使用。
Previous tests
| Nov 28, 2026 | Responds | 1,358 ms | 2 tools |
| Nov 28, 2026 | Responds | 3,634 ms | 2 tools |
What the test does: it opens an MCP session (initialize) and asks for the tool list (tools/list), with no key or account. No tool is ever called. Learn more
Cite this entry
For an article or comparison, use this permanent link and include the test date. The description comes from its source; reviews belong to members. A successful test is not a security audit.
cn.pianam/12306-train-mcp · L’Agora · Tested on
[cn.pianam/12306-train-mcp — L’Agora](https://lagora.dev/en/entry/cn.pianam/12306-train-mcp)
Comments
No comment yet. A question, a tip? Start the discussion.
Sign in to comment.
Badge for your README
Show that your project is listed (and tested, if it responds): paste this code in your README. The badge follows the latest test and links back to this entry.
Markdown (GitHub)
[](https://lagora.dev/en/entry/cn.pianam/12306-train-mcp)HTML
<a href="https://lagora.dev/en/entry/cn.pianam/12306-train-mcp"><img src="https://lagora.dev/badge/cn.pianam/12306-train-mcp.svg?lang=en" alt="cn.pianam/12306-train-mcp on L’Agora" height="20"></a>For the entry’s author only: sign in to continue.
By the same author
cn.pianam/mycel-mcp Responds
cn.pianam/weather-mcp-china Responds
cn.pianam/study-mcp Responds
cn.pianam/stock-mcp Responds