MCP Server 12306
Verified12306 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.
Project instructions03 / Add the configuration
claude mcp add --transport stdio 'mcp-server-12306' -- 'uvx' 'mcp-server-12306'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.
More in Finance
Browse the full directoryBadge
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.
Detected
- Runs shell commands
Spawns processes on your machine. Expected for command, browser and build tools.
- Reads local configuration files
Loads a .env, .npmrc or config file. Normal for a server that needs an API key.
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.
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-stationsDocumented 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
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.