MCP server
MCP Server 12306
An MCP server that provides 12306 ticket query
Runs locallyStatus and history
- Pricing
- Open source
- Runs
- Locally
- Version
- 0.3.1
- Listing updated
- 4 days ago
About MCP Server 12306
MCP Server 12306 is an open-source MCP server. It runs locally on your machine and is started by your AI client.
Install
Run in a terminal
claude mcp add mcp-server-12306 -- uvx mcp-server-12306Add to claude_desktop_config.json
{
"mcpServers": {
"mcp-server-12306": {
"command": "uvx",
"args": [
"mcp-server-12306"
]
}
}
}Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:
Add to ~/.cursor/mcp.json
{
"mcpServers": {
"mcp-server-12306": {
"command": "uvx",
"args": [
"mcp-server-12306"
]
}
}
}Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:
Add to .vscode/mcp.json
{
"servers": {
"mcp-server-12306": {
"type": "stdio",
"command": "uvx",
"args": [
"mcp-server-12306"
]
}
}
}Add to ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"mcp-server-12306": {
"command": "uvx",
"args": [
"mcp-server-12306"
]
}
}
}Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"mcp-server-12306": {
"command": "uvx",
"args": [
"mcp-server-12306"
]
}
}
}Pricing
Open source
MCP Server 12306 FAQ
Is MCP Server 12306 free?
Yes. MCP Server 12306 is open source, so you can use and self-host it for free.
How do I add MCP Server 12306 to Claude Code?
Run this command in your terminal: claude mcp add mcp-server-12306 -- uvx mcp-server-12306