Index / MCP servers / China 12306 Train Tickets

China 12306 Train Tickets MCP server

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.

Status
Answering
Tools
2
Official
yes, served from pianam.cn
Reliability
9 of 13 checks
Response time
1703 ms
Transport
streamable HTTP
Last checked
22 November 2026

MCP server for China Railway 12306 ticket availability: schedules and seats by Chinese station name.

Description as the publisher wrote it.

The 2 tools China 12306 Train Tickets offers

ToolWhat 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

Add China 12306 Train Tickets to your AI client

Every block below points at https://mcp.pianam.cn/train-mcp/mcp. Pick your client and copy.

Claude Code: one command in your terminal
claude mcp add --transport http china-12306-train-tickets https://mcp.pianam.cn/train-mcp/mcp
Claude Desktop: claude_desktop_config.json
{
  "mcpServers": {
    "china-12306-train-tickets": {
      "command": "npx",
      "args": ["-y", "mcp-remote", "https://mcp.pianam.cn/train-mcp/mcp"]
    }
  }
}
Cursor: ~/.cursor/mcp.json, or .cursor/mcp.json in a project
{
  "mcpServers": {
    "china-12306-train-tickets": {
      "url": "https://mcp.pianam.cn/train-mcp/mcp"
    }
  }
}
VS Code and GitHub Copilot: .vscode/mcp.json
{
  "servers": {
    "china-12306-train-tickets": {
      "type": "http",
      "url": "https://mcp.pianam.cn/train-mcp/mcp"
    }
  }
}
Zed: Zed settings.json
{
  "context_servers": {
    "china-12306-train-tickets": {
      "url": "https://mcp.pianam.cn/train-mcp/mcp"
    }
  }
}
Windsurf: ~/.codeium/mcp_config.json
{
  "mcpServers": {
    "china-12306-train-tickets": {
      "serverUrl": "https://mcp.pianam.cn/train-mcp/mcp"
    }
  }
}
JetBrains AI Assistant: Settings, Tools, AI Assistant, MCP, New MCP Server, as JSON
{
  "mcpServers": {
    "china-12306-train-tickets": {
      "url": "https://mcp.pianam.cn/train-mcp/mcp"
    }
  }
}
Continue: .continue/mcpServers/neuronto.yaml
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
Gemini CLI: ~/.gemini/settings.json
{
  "mcpServers": {
    "china-12306-train-tickets": {
      "httpUrl": "https://mcp.pianam.cn/train-mcp/mcp"
    }
  }
}
Codex CLI: MCP server config
{
  "mcpServers": {
    "china-12306-train-tickets": {
      "type": "http",
      "url": "https://mcp.pianam.cn/train-mcp/mcp"
    }
  }
}
Warp: MCP servers, + Add, paste JSON
{
  "mcpServers": {
    "china-12306-train-tickets": {
      "url": "https://mcp.pianam.cn/train-mcp/mcp"
    }
  }
}
Goose: a one-click extension link
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

Is China 12306 Train Tickets up right now?

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.

MCP servers similar to China 12306 Train Tickets

Questions about China 12306 Train Tickets

Is there an official China 12306 Train Tickets MCP server?

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.

How many tools does China 12306 Train Tickets have?

2, as returned by the server's own tools/list on 3 September 2026: query_train_tickets, search_station.

Is China 12306 Train Tickets down?

It answered our last check on 22 November 2026 in 1703 ms. Over 13 checks since 3 September 2026 it answered 9.

How do I add China 12306 Train Tickets to Cursor?

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.

Does China 12306 Train Tickets need an API key?

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.

Where this comes from

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.

Is this your server? Get a message the day it stops answering or its tools change: monitoring, 14 days free. Or claim the domain to manage how it is listed.