MCP Server 12306 logo

MCP Server 12306

Verified

by drfccv

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

Set up this server

01 / Choose your client

02 / Before you connect

Authentication is not specified. Check the project instructions before connecting.

Install the runtime required by the project and make it available to your client.

Project instructions

Use names from the project instructions, separated by commas. Enter names only, never secret values.

03 / Add the configuration

Source: generated from public install instructions

claude mcp add --transport stdio 'mcp-server-12306' -- 'uvx' 'mcp-server-12306'

Run in your terminal after replacing any placeholders.

04 / Check it in your client

Open your client’s MCP settings and confirm the server connects and lists its tools. A copied configuration does not confirm a working connection.

12306agentaimcpmcp-serversmcp-tools

More in Finance

Browse the full directory

Badge

Show this listing on your README and website

You are one of MCPVault's first 100 verified servers: verified for good, badge or no badge. Put it on your README or site if you want a live Verified proof link for visitors.

Security profile

Exposure: Limited

Runs commands or loads code on your machine, but does not reach secrets or other agents.

What this server can reach, from a static read of the shipped code. Nothing was executed and nothing here is a verdict: a browser tool has to run commands and an API wrapper has to call its API. Decide what fits your setup.

NVIDIA SkillSpector v2.11.0, MCPVault MCP-server policy. Scanned yesterday @ 7993e3d.

Detected

  • Runs shell commands2 places

    Spawns processes on your machine. Expected for command, browser and build tools.

  • Reads local configuration files3 places

    Loads a .env, .npmrc or config file. Normal for a server that needs an API key.

Not detected: reads environment variables in bulk, sends conversation content outward, reads or writes other agents' configuration, accesses credential files, uses elevated privileges, installs itself to run later, matches a known malicious pattern.

Dependencies with known advisories

None found in the lockfiles and manifests checked against OSV.dev.

Left out of the profile

6 pattern matches in documentation, configuration or CI files were recorded but are not part of the profile, because they do not run when the server does. The owner dashboard lists them.

How the profile works Maintainers see file, line and a fix for each item in their dashboard.
7Tools reported by the last successful handshake

0 of 0 tools · Observed tool names: 7/7

Observed tool names (7)

Reported by a complete handshake for the current saved configuration. Tools were listed, not invoked.

· 1.3.0

get-current-timeget-train-no-by-train-codeget-train-route-stationsquery-ticket-pricequery-ticketsquery-transfersearch-stations

Documented tools (0)

From project documentation. A server handshake does not verify each tool’s description or behavior.

Tool descriptions have not been documented here yet.

Tool change history

Compared across complete checks of the same configuration. Tools were listed, not invoked. Input-schema changes are not measured here.

The first complete check is a baseline. Changes appear after another complete check.

FAQ

Questions about MCP Server 12306 MCP Server

How do I connect MCP Server 12306 MCP Server to Claude?
Run `claude mcp add mcp-server-12306 -- uvx mcp-server-12306` in Claude Code, or add the same command and arguments under mcpServers in Cursor's mcp.json or Claude Desktop's claude_desktop_config.json, then restart the client. The blocks above are ready to paste.
Is MCP Server 12306 MCP Server free?
The listed licence is MIT. Check the upstream terms for permitted use and commercial requirements; a public repository does not by itself mean the software is free or open source. Connected APIs and hosted services may have separate charges.
What can MCP Server 12306 MCP Server do?
MCPVault has not yet recorded the tool list for MCP Server 12306 MCP Server; it is captured when the server passes a live MCP handshake. The description above is what the project publishes.