12306-train-mcp
cn.pianam/12306-train-mcp
MCP server OK 2 tools
MCP server for China Railway 12306 ticket availability: schedules and seats by Chinese station name.
Technical sheet
- Author
- pianam.cn (registry namespace)
- Repository
- github.com/boy-373/12306-train-mcp
- Site
- —
- Version
- 1.0.1
- Transport
- Streamable HTTP
- Authentication
- None (observed by our test)
- Server address
- https://pianam.cn/train-mcp/mcp Streamable HTTP
- Tools
- 2
- Categories
- —
- Last updated
- 9 Nov 2026
- Published
- 9 Nov 2026
Verified author and popularity
Entry not claimed yet. Is it your project? Claim it
Not “Popular” for now Removed automatically as soon as the criteria are no longer met.
- Distinct visitors of this entry over 30 days: 0 (30 needed) not yet
- or install configs copied over 30 days: 0 (5 needed) not yet
- and a successful test less than 14 days old: tested 28 Nov 2026 met
Badge updates by itself. Always “tested on …”, never “certified”. How it works
[](https://latlas.dev/en/mcp/cn.pianam/12306-train-mcp)<a href="https://latlas.dev/en/mcp/cn.pianam/12306-train-mcp"><img src="https://latlas.dev/badge/statut/mcp/cn.pianam/12306-train-mcp.svg?lang=en" alt="Status on L’Atlas" height="20"></a>Badge for your README
Free, for every entry. It links back to this entry and shows “tested OK” as long as our latest test succeeded.
[](https://latlas.dev/en/mcp/cn.pianam/12306-train-mcp)<a href="https://latlas.dev/en/mcp/cn.pianam/12306-train-mcp"><img src="https://latlas.dev/badge/fiche/cn.pianam/12306-train-mcp.svg?lang=en" alt="Listed on L’Atlas" height="20"></a>Our tests
Every week: initialize then tools/list, without credentials, never calling a tool. Method
- Address
- https://pianam.cn/train-mcp/mcp
- Last result
- OK 28 Nov 2026, 08:16
- Response time
- 3,634 ms (initialize + tools/list)
- Protocol version
- 2025-11-25
- Announced name
- train-mcp 4.1.3
- Tools
- 2
History
| Date | Result | Response | Tools |
|---|---|---|---|
| 28 Nov 2026, 08:16 | OK | 3,634 ms | 2 |
Exposed tools (2, from tools/list, 28 Nov 2026)
query_train_tickets
Query Train Tickets
查询中国大陆12306火车票余票信息。参数from_city出发城市/车站中文名,to_city到达城市/车站中文名,date出发日期格式YYYY-MM-DD;留空默认明天。
| Parameter | Type | Required | Description |
|---|---|---|---|
| from_city | string | yes | 出发城市或车站中文名,如 "青岛"、"北京南" |
| to_city | string | yes | 到达城市或车站中文名,如 "北京"、"上海虹桥" |
| date | string | no | 出发日期,格式 YYYY-MM-DD;留空默认明天 |
search_station
Search Station
按关键词搜索12306车站名称,返回匹配的车站中文名列表。不确定城市有哪些车站时使用。
| Parameter | Type | Required | Description |
|---|---|---|---|
| keyword | string | yes | 关键词,如 "北京" |
Client compatibility
Based on the transports each client documents as supported; this is not a live test inside the client.
| Client | Documented transports | This server | Source |
|---|---|---|---|
| Claude Code | stdio Streamable HTTP SSE | transport accepted | doc |
| Claude (claude.ai, Claude Desktop, Cowork) | stdio Streamable HTTP SSE | transport accepted | doc |
| ChatGPT (serveurs MCP personnalisés / plugins) | Streamable HTTP SSE | transport accepted | doc |
| Cursor | stdio Streamable HTTP SSE | transport accepted | doc |
| VS Code (GitHub Copilot) | stdio Streamable HTTP SSE | transport accepted | doc |
| Windsurf (documentation redirigée vers Devin Local / Devin CLI) | stdio Streamable HTTP SSE | transport accepted | doc |
| Gemini CLI | stdio Streamable HTTP SSE | transport accepted | doc |
| OpenAI Codex (CLI, extension IDE, app) | stdio Streamable HTTP | transport accepted | doc |
Ready-to-copy configs
Remote address used: https://pianam.cn/train-mcp/mcp. Formats taken from each client’s documentation.
claude mcp add --transport http 12306-train-mcp https://pianam.cn/train-mcp/mcpCustomize > Connectors > + Add > Add custom connector ; Name : 12306-train-mcp ; URL : https://pianam.cn/train-mcp/mcpchatgpt.com/plugins > + > Add custom MCP server ; Name : 12306-train-mcp ; Server URL : https://pianam.cn/train-mcp/mcp ; Create as a plugin{
"mcpServers": {
"12306-train-mcp": {
"url": "https://pianam.cn/train-mcp/mcp"
}
}
}{
"mcpServers": {
"12306-train-mcp": {
"type": "http",
"url": "https://pianam.cn/train-mcp/mcp",
"tools": ["*"]
}
}
}{
"mcpServers": {
"12306-train-mcp": {
"url": "https://pianam.cn/train-mcp/mcp"
}
}
}{
"mcpServers": {
"12306-train-mcp": {
"httpUrl": "https://pianam.cn/train-mcp/mcp"
}
}
}[mcp_servers.12306-train-mcp]
url = "https://pianam.cn/train-mcp/mcp"Cite this source
Writing an article or comparison? This entry distinguishes registry information from our measurements. Cite the permanent link and the test date; an OK result is not a security audit or an availability guarantee.
12306-train-mcp · L’Atlas · Tested on
[12306-train-mcp — L’Atlas](https://latlas.dev/en/mcp/cn.pianam/12306-train-mcp)Source : Registre officiel MCP · retrieved 3 Dec 2026. L’Atlas adds no data beyond this source and its own tests.