Server 12306 MCP Server
基于 Model Context Protocol (MCP) 的 12306 火车票查询服务 支持 余票 / 票价 / 车站 / 经停 / 换乘 / 时间 六大查询能力,开箱即用,适配 AI 助手、自动化脚本、智能终端等场景。. It runs locally over stdio via the published package.
People connecting this server to Claude, Cursor, VS Code, or another MCP client. The project is written in Python.
VERIFIED ACTIVE
LAST COMMIT 2026-08-22 · ★ 370 · #31 OF 848 MAINTAINED OTHER · VERIFIED 2026-08-25
MIT · Python servers · how we verify → /methodology
01 · Install Server 12306
before you install - you'll need
Set SERVER_HOST, SERVER_PORT, LOG_LEVEL before connecting.
Claude Code
claude mcp add drfccv-mcp-server-12306 -- uvx mcp-server-12306 Claude Desktop / Cursor / VS Code - add to config
{
"mcpServers": {
"drfccv-mcp-server-12306": {
"command": "uvx",
"args": [
"mcp-server-12306"
]
}
}
} Same JSON for Cursor. For VS Code, rename the top-level key from `mcpServers` to `servers`.
Using another client? Same JSON, different key
Claude Desktop · mcpServers
Cursor · mcpServers
VS Code · servers
Windsurf · mcpServers
Zed · context_servers
Cline · mcpServers
Roo Code · mcpServers
Continue · mcpServers
LibreChat · mcpServers
Gemini CLI · mcpServers
Codex CLI · mcp_servers
Full setup guides: every client.
02 · Evidence
Security posture
What to check before giving this server access to your agent - from the registry, GitHub, and our own probes. We don't score safety; we show what's verifiable.
runs as local process (stdio) - runs on your machine with your user's permissions
license MIT - declared in the repository
pypi package mcp-server-12306 - check the name against the project README before installing (PyPI has no namespace ownership)
registry namespace io.github.drfccv is GitHub-verified and matches the repo owner
03 · Who maintains Server 12306
mcp-server-12306 is maintained by drfccv. It's the only MCP server we track from this author; the repo dates to Jun 2025.
04 · Facts
- repository
- github.com/drfccv/mcp-server-12306
- category
- other - ranked #31 of 848 actively-maintained other servers as of 2026-08-25.
- registry
- io.github.drfccv/mcp-server-12306 (active, first published 2026-01-21 · 13 versions)
- packages
- pypi:mcp-server-12306
05 · Server 12306 FAQ
What is Server 12306?
基于 Model Context Protocol (MCP) 的 12306 火车票查询服务 支持 余票 / 票价 / 车站 / 经停 / 换乘 / 时间 六大查询能力,开箱即用,适配 AI 助手、自动化脚本、智能终端等场景。. It runs locally over stdio via the published package.
Is Server 12306 still maintained?
Yes - as of 2026-08-25, its last commit was 2026-08-22. We re-verify nightly.
How do I install Server 12306?
Run `uvx mcp-server-12306`. The README documents 3 environment variables (SERVER_HOST, SERVER_PORT, LOG_LEVEL) to set first. Set SERVER_HOST, SERVER_PORT, LOG_LEVEL before connecting. You can also paste the ready-made client config above.
Does Server 12306 run locally?
Yes - it's a stdio server: it runs on your machine (via uvx) with your user's permissions. Your data stays local unless the server itself calls external APIs.
06 · Alternatives to Server 12306
Alternatives to Server 12306
Maintained other servers if Server 12306 isn't the fit.
- Heyputer MCP Server Puter MCP enables AI tools to interact with Puter: manage files, websites, workers, and more ★ 43,204 · 2026-08-24
- Server Commands An MCP server to run arbitrary commands ★ 38,704 · 2026-08-05
- Zotero MCP (54yyyu) Search, read, annotate, and add to your Zotero research library, local or web. ★ 4,780 · 2026-08-25
- Firebase MCP Gives AI development tools Firebase-specific capabilities and expertise. ★ 4,460 · 2026-08-25
- Microsoft Fabric MCP Server MCP tools for interacting with Microsoft Fabric ★ 3,598 · 2026-08-21
- Ship Swift 40+ production-ready SwiftUI recipes for building full-stack iOS apps via MCP. ★ 2,968 · 2026-08-09
More MCP servers to compare · Anything · Excel Webview2 MCP · Distil · Vardoger · Yandex Lavka MCP
More Python MCP servers · Pmll Memory MCP · Openeye · see all