
12306 Mcp
This is a 12306 ticket search server based on the Model Context Protocol (MCP).
What is 12306 Mcp?
12306 Mcp is a ticket search server based on the Model Context Protocol (MCP) that provides a simple API interface for users to search for 12306 train tickets.
How to use 12306 Mcp?
To use 12306 Mcp, clone the repository from GitHub, install the necessary dependencies, and run the server using the provided command line instructions.
Key features of 12306 Mcp?
- Search for 12306 ticket information.
- Filter train information based on user queries.
Use cases of 12306 Mcp?
- Searching for available train tickets on the 12306 platform.
- Integrating with other applications to provide ticket search functionality.
- Filtering train schedules based on specific criteria.
FAQ from 12306 Mcp?
- Is 12306 Mcp free to use?
Yes! 12306 Mcp is free to use for everyone.
- What programming language is used for 12306 Mcp?
12306 Mcp is developed using TypeScript.
- Can I contribute to the project?
Yes! Contributions are welcome, and you can find more information in the repository.
12306-mcp
👋Introduction
This is 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
- 查询12306购票信息
- 过滤列车信息


⚙️Installation
git clone https://github.com/Joooook/12306-mcp.git
npm i
▶️Quick Start
CLI
npm run build
node ./build/index.js
MCP sever configuration
{
"mcpServers": {
"12306-mcp": {
"command": "npx",
"args": [
"-y",
"12306-mcp"
]
}
}
}
✅Todo
- 完成12306其余接口(中转,过站查询...)。
👉️Reference
💭Murmurs
本项目仅用于学习,欢迎催更。
☕️Donate
请我喝杯奶茶吧。
