@Jolyne_AI: A developer built a ticket query MCP server for 12306: 12306-mcp. It provides a clean API so AI assistants can directly query 12306 ticket information. GitHub: https://github.com/Joooook/12306-mc…
Summary
A developer created a 12306 ticket query MCP server based on MCP, offering a simple API for AI assistants to directly query ticket information, supporting functions such as ticket search, stopover query, and transfer query.
View Cached Full Text
Cached at: 07/01/26, 04:13 PM
A developer created a 12306 ticket query MCP server: 12306-mcp. It provides a simple API that allows AI assistants to directly query 12306 ticket information.
GitHub: https://github.com/Joooook/12306-mcp
Currently supports ticket query, train information filtering, station passing query, and transfer query.
What’s more exciting: with MCP, the entire travel process — from route planning, ticket purchase, to hotel booking — could be handled by AI in one go.
Joooook/12306-mcp
Source: https://github.com/Joooook/12306-mcp
12306-mcp
A 12306 ticket search server based on the Model Context Protocol (MCP). The server provides a simple API interface that allows users to search for 12306 tickets.
基于 Model Context Protocol (MCP) 的12306购票搜索服务器。提供了简单的API接口,允许大模型利用接口搜索12306购票信息。
🚩Features
| Feature Description | Status |
|---|---|
| Query 12306 ticket information | ✅ Completed |
| Filter train information | ✅ Completed |
| Station passing query | ✅ Completed |
| Transfer query | ✅ Completed |
| Other endpoints — welcome to submit feature requests | 🚧 Planned |
⚙️Installation
git clone https://github.com/Joooook/12306-mcp.git
npm i
▶️Quick Start
CLI-stdio
npx -y 12306-mcp
CLI-http
npx -y 12306-mcp --port [port]
MCP server configuration
{
"mcpServers": {
"12306-mcp": {
"command": "npx",
"args": [
"-y",
"12306-mcp"
]
}
}
}
Docker-stdio
docker build . -t 12306-mcp
docker run --rm -it 12306-mcp npx 12306-mcp
Docker-http
docker build . -t 12306-mcp
docker run -p [your_port]:8080 -d 12306-mcp npx 12306-mcp --port 8080
📚Documentation
- Service Principle Details — How the 12306-MCP service works
- Architecture Diagram — Architecture diagram of the 12306-MCP service
12306-MCP Service Architecture Diagram
👉Reference
💭Murmurs
This project is for learning purposes only. Feel free to request updates.
🎫Badges
MseeP.ai Security Assessment Badge
https://mseep.ai/app/joooook-12306-mcp
☕Donate
Buy me a milk tea.
Similar Articles
MCP-Billing
MCP-Billing is a tool that integrates OAuth 2.1 and usage-based Stripe billing for MCP servers, simplifying monetization for AI model endpoints.
@op7418: Twitter finally has MCP, this is very useful! If you rely on Twitter information like I do, you can have AI automatically organize, summarize, and analyze your data. However, you still need to register for Twitter API and pay as you go. I configured it this morning…
Twitter finally has an MCP interface, allowing AI to automatically organize, summarize, and analyze user data. Requires registering for Twitter API and paying per use, but personal information has a lower cost ($0.01 per call). The article details the configuration steps.
CrawlForge MCP
CrawlForge MCP 是一个开源 MCP 服务器,为 AI 代理提供 31 种网页工具,支持抓取、搜索、爬取、结构化数据提取和隐身浏览,可通过一条 npx 命令集成到 Claude Desktop、Claude Code 或 Cursor。
@QingQ77: MCP web search service based on DeepSeek API https://github.com/chengx-coding/forever-saint-liang-websearch... Provides web search capabilities for MCP-compatible clients (Claude Code, Op...
MCP web search service based on DeepSeek API, providing web search capabilities for MCP-compatible clients (such as Claude Code, OpenCode), avoiding reliance on third-party search services. Only one DeepSeek API Key is needed to use it.
@trendtech33566: For people who want to use Jira or Confluence with their usual AI atlassian-mcp-server, about 1.1k. The official Atlass…
Atlassian has officially released the open-source atlassian-mcp-server (about 1.1k stars), a cloud-hosted Model Context Protocol server that lets AI tools such as Claude and Cursor securely access Jira, Confluence, Bitbucket and more in real time. It supports OAuth 2.1 or API token authentication, doing away with the hassle of manually copying and pasting internal information.