12306 Mcp

12306 Mcp

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

Add to your client

Claude Code — run this in your terminal:

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

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

git clone https://github.com/Joooook/12306-mcp.git
npx -y 12306-mcp
npx -y 12306-mcp --port [端口号]

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 12306 Mcp

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

Mcp Server 12306

Mcp Server 12306

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

SafeA
View on GitHub

Repository

Stars
2,433
Forks
339
Last updated
Jul 31, 2026
License
MIT
Language
JavaScript
Created
Apr 14, 2025
Open issues
12
Quality score
A 66/100

Joooook/12306-mcp

Read from GitHub daily.

See alternatives

Made by

No owner listed.

Sign in to claim this tool.