12306-train-mcp

boy-373/12306-train-mcp
★ 0 stars Python Browser/Web Updated 3d ago
MCP server for China Railway 12306 ticket availability — query train schedules and remaining seats by Chinese station name and date. Hosted Streamable HTTP endpoint included.
View on GitHub → 🔍 Audit Wallet Slippage →

Quick Install

Copy the config for your editor. Some servers may need additional setup — check the README.

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "12306-train-mcp": {
      "command": "uvx",
      "args": [
        "12306-train-mcp"
      ]
    }
  }
}

Or install with pip: pip install 12306-train-mcp

README Excerpt

Query **China Railway 12306 ticket availability** from any MCP client — train schedules and remaining seats by Chinese station name and date. Read-only, no booking, no account. - **Try it in 30 seconds**: a free public MCP endpoint is already running — just paste the URL into your MCP client (no install, no API key).

Tools (3)

datekeywordto_city

Topics

12306china-railwaychina-trainchinesefastmcpmcpmcp-servermodelcontextprotocolstreamable-httptrain-ticketstravel