12306 MCP Server
This is a 12306 ticket search server based on the Model Context Protocol (MCP).
context tax
queued
security
queued
cold start
queued
freshness
queued
Install 12306 MCP server
Install in Claude Code
claude mcp add 12306-mcp -- npx -y 12306-mcpInstall in Cursor
{
"mcpServers": {
"12306-mcp": {
"command": "npx",
"args": [
"-y",
"12306-mcp"
]
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"12306-mcp": {
"command": "npx",
"args": [
"-y",
"12306-mcp"
]
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"12306-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"12306-mcp"
]
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"12306-mcp": {
"command": "npx",
"args": [
"-y",
"12306-mcp"
]
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
Freshness
Not enough public signals yet to judge maintenance.
Last commit (default branch)
no data · GitHub
Latest release
no data · GitHub
Package published
no data · npm/PyPI
Registry entry updated
no data · official registry
FAQ
›How do I install the 12306 MCP server in Claude Code?
Run: claude mcp add 12306-mcp -- npx -y 12306-mcp. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does 12306 require an API key?
No required environment variables are declared in its published metadata.
›Can I use 12306 as a remote (hosted) MCP server?
No hosted endpoint is published; it runs locally over stdio.
›Is 12306 in the official MCP registry?
No. It was indexed from npm.