China 12306 Train Tickets is an MCP server with 2 tools an agent can call, among them query_train_tickets, search_station. It answers at https://mcp.pianam.cn/train-mcp/mcp over streamable HTTP, and it listed its tools to an anonymous client, so no sign-in was needed for that. Our probes reached it 9 of 13 times since 3 September 2026; the last check, on 22 November 2026, succeeded.
MCP server for China Railway 12306 ticket availability: schedules and seats by Chinese station name.
Description as the publisher wrote it.
| Tool | What it does |
|---|---|
query_train_tickets | 查询中国大陆12306火车票余票信息。 参数: from_city: 出发城市或车站中文名,例如 "青岛"、"北京南" to_city: 到达城市或车站中文名,例如 "北京"、"上海虹桥" date: 出发日期,格式 YYYY-MM-DD,例如 "2026-09-01";留空默认明天 返回: 车次列表,含车次号、出发/到达站、出发/到达时间、历时、各席别余票。 注意: 仅支持查票,不能购票;12306预售期通常为15天。 Inputs: from_city, to_city, date |
search_station | 按关键词搜索12306车站名称,返回匹配的车站中文名列表。 当不确定城市有哪些车站时使用,例如搜 "北京" 返回 北京/北京南/北京西/北京北 等。 Inputs: keyword |
Every block below points at https://mcp.pianam.cn/train-mcp/mcp. Pick your client and copy.
claude mcp add --transport http china-12306-train-tickets https://mcp.pianam.cn/train-mcp/mcp
{
"mcpServers": {
"china-12306-train-tickets": {
"command": "npx",
"args": ["-y", "mcp-remote", "https://mcp.pianam.cn/train-mcp/mcp"]
}
}
}{
"mcpServers": {
"china-12306-train-tickets": {
"url": "https://mcp.pianam.cn/train-mcp/mcp"
}
}
}{
"servers": {
"china-12306-train-tickets": {
"type": "http",
"url": "https://mcp.pianam.cn/train-mcp/mcp"
}
}
}{
"context_servers": {
"china-12306-train-tickets": {
"url": "https://mcp.pianam.cn/train-mcp/mcp"
}
}
}{
"mcpServers": {
"china-12306-train-tickets": {
"serverUrl": "https://mcp.pianam.cn/train-mcp/mcp"
}
}
}{
"mcpServers": {
"china-12306-train-tickets": {
"url": "https://mcp.pianam.cn/train-mcp/mcp"
}
}
}name: China 12306 Train Tickets
version: 0.0.1
schema: v1
mcpServers:
- name: China 12306 Train Tickets
type: streamable-http
url: https://mcp.pianam.cn/train-mcp/mcp{
"mcpServers": {
"china-12306-train-tickets": {
"httpUrl": "https://mcp.pianam.cn/train-mcp/mcp"
}
}
}{
"mcpServers": {
"china-12306-train-tickets": {
"type": "http",
"url": "https://mcp.pianam.cn/train-mcp/mcp"
}
}
}{
"mcpServers": {
"china-12306-train-tickets": {
"url": "https://mcp.pianam.cn/train-mcp/mcp"
}
}
}goose://extension?url=https%3A%2F%2Fmcp.pianam.cn%2Ftrain-mcp%2Fmcp&type=streamable_http&id=china-12306-train-tickets&name=China%2012306%20Train%20Tickets
It answered our last check on 22 November 2026 in 1703 ms. Over 13 checks since 3 September 2026 it answered 9. Status here comes from Neuronto's own probes, not from the publisher.
Yes. It is published by pianam.cn and served from mcp.pianam.cn, the vendor's own domain: https://mcp.pianam.cn/train-mcp/mcp.
2, as returned by the server's own tools/list on 3 September 2026: query_train_tickets, search_station.
It answered our last check on 22 November 2026 in 1703 ms. Over 13 checks since 3 September 2026 it answered 9.
Put the server under mcpServers in ~/.cursor/mcp.json with the URL https://mcp.pianam.cn/train-mcp/mcp. The exact JSON is above, with the same setup for Claude Code, Claude Desktop, VS Code, Windsurf, Zed, Gemini CLI and the rest.
It listed its tools to an anonymous client, so reading the tool list needs no key. Individual tools can still ask for credentials in their own inputs.
Publisher: cn.pianam.mcp. Endpoint host: mcp.pianam.cn. ARD identifier: urn:air:cn.pianam.mcp:mcp:12306-train-mcp.
First indexed 3 September 2026. The tools are exactly what the server returned; nothing on this page
is inferred from its name. Ranking in Neuronto search is never for sale.