The 12306 MCP server provides real-time train ticket data via standardized interfaces. It connects to the official 12306 system for ticket availability, station info, train stops, and transfer options. Developers use it to build AI agents that query train schedules and plan trips.
The 12306 MCP server provides real-time train ticket data via standardized interfaces. It connects to the official 12306 system for ticket availability, station info, train stops, and transfer options. Developers use it to build AI agents that query train schedules and plan trips.
pip install mcp-server-12306Add this configuration to your claude_desktop_config.json:
{
"mcpServers": {
"drfccv-mcp-server-12306-github": {
"command": "uvx",
"args": [
"pip install mcp-server-12306"
]
}
}
}Restart Claude Desktop, then ask:
"What tools do you have available from 12306?"
No configuration required. This server works out of the box.
"What resources are available in 12306?"
Claude will query available resources and return a list of what you can access.
"Show me details about [specific item] in 12306"
Claude will fetch and display detailed information about the requested item.
"Create a new [item] in 12306 with [details]"
Claude will use the appropriate tool to create the resource and confirm success.
See what tools in your stack can connect to AI.
We build custom MCP integrations for B2B companies. From simple connections to complex multi-tool setups.