mcp-server-12306

Level BCN-accessibleLocal

12306 MCP Server​​ 是一个基于 ​​Model Context Protocol (MCP)​​ 的高性能火车票查询后端系统。它通过标准化接口提供官方 12306 的实时数据服务,包括余票查询、车站信息、列车经停站、中转换乘方案等核心功能。

⭐ 426CN-AccessiblePythonRepo ↗Updated 2026-11-05

Installation

MCP client config (paste into mcp.json)

{
  "mcpServers": {
    "mcp-server-12306": {
      "command": "npx",
      "args": [
        "mcp-server-12306"
      ]
    }
  }
}

Agent install prompt

Copy and paste into Cursor / Claude / other agents to install this MCP for you

Please read this MCP repository and install it into my current environment:
https://github.com/drfccv/mcp-server-12306

Known working client config (can write into mcp.json):
{
  "mcpServers": {
    "mcp-server-12306": {
      "command": "npx",
      "args": [
        "mcp-server-12306"
      ]
    }
  }
}

Please: 1) check README for deps and env vars; 2) write config for my client; 3) if secrets are missing, tell me what to fill — do not invent values.

Related servers