Mcp Server 12306

Mcp Server 12306

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

Add to your client

Claude Code — run this in your terminal:

claude mcp add 12306 -- uvx mcp-server-12306
Claude Desktop and other clients: paste this into the configuration file
{
  "mcpServers": {
    "12306": {
      "command": "uvx",
      "args": [
        "mcp-server-12306"
      ]
    }
  }
}

Built from the configuration example in the project's README. The buttons open the app on your computer, which asks you to confirm before anything is added.

Install

uvx mcp-server-12306
pip install mcp-server-12306
git clone https://github.com/drfccv/mcp-server-12306.git

Copied from the project's README. Read what it does before you run it.

README scanSafe

Nothing risky found in the commands its README asks you to run.

We scan the README only, not the code. A clean result is not proof of safety. How we scan

Alternatives to Mcp Server 12306

Listings of the same kind that share the most topics, most-starred first.

12306 Mcp

12306 Mcp

This is a 12306 ticket search server based on the Model Context Protocol (MCP).

SafeA
View on GitHub

Repository

Stars
423
Forks
59
Last updated
Nov 5, 2026
License
MIT
Language
Python
Created
Jun 1, 2025
Open issues
1
Quality score
A 71/100

drfccv/mcp-server-12306

Read from GitHub daily.

See alternatives

Made by

No owner listed.

Sign in to claim this tool.