AptLynx

MCP server

China 12306 Train Tickets MCP

cn.pianam.mcp/12306-train-mcp

Checked 28 Oct 2026, 09:03 UTC · Connection failed

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

Failed last checkVerified publisher: pianam.cn
https://mcp.pianam.cn/train-mcp/mcp

At a glance

Type
MCP server
Publisher
pianam.cn (verified by the MCP Registry)
Status
Failed last check
Sets up in
Claude Code, Claude Desktop, Codex, Gemini CLI, Cursor, VS Code, Antigravity, ChatGPT, OpenAI API, Grok
Last checked
28 Oct 2026, 09:03 UTC

Connect it to your agent

Add to CursorAdd to VS CodeVS Code Insiders

Opens the app, which shows the server and asks you to confirm. For other apps, copy the setup below.

Claude Code

claude mcp add --transport http 12306-train-mcp https://mcp.pianam.cn/train-mcp/mcp

Claude Desktop

Settings → Connectors → Add custom connector, and paste the URL.

Codex (config.toml)

[mcp_servers.12306-train-mcp]
url = "https://mcp.pianam.cn/train-mcp/mcp"

Gemini CLI

{"mcpServers":{"12306-train-mcp":{"httpUrl":"https://mcp.pianam.cn/train-mcp/mcp"}}}

Cursor

{"mcpServers":{"12306-train-mcp":{"url":"https://mcp.pianam.cn/train-mcp/mcp"}}}

VS Code

{"servers":{"12306-train-mcp":{"type":"http","url":"https://mcp.pianam.cn/train-mcp/mcp"}}}

Antigravity

agy mcp add 12306-train-mcp https://mcp.pianam.cn/train-mcp/mcp

ChatGPT

Settings → Apps & Connectors → Advanced settings: turn on Developer mode, then Create a connector and paste the URL. Which plans can do this varies.

OpenAI API (Responses tools)

{"type":"mcp","server_label":"12306-train-mcp","server_url":"https://mcp.pianam.cn/train-mcp/mcp","require_approval":"always"}

Grok (xAI API tools)

{"type":"mcp","server_label":"12306-train-mcp","server_url":"https://mcp.pianam.cn/train-mcp/mcp"}

Related MCP servers

Badge for your README

AptLynx status badge

[![AptLynx](https://aptlynx.net/badge/cn.pianam.mcp/12306-train-mcp.svg)](https://aptlynx.net/servers/cn.pianam.mcp/12306-train-mcp)

Listing text is written by the maker; AptLynx lists tools and does not vouch for them. Find another tool · Browse by topic · For agents