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
功能描述 | 状态 |
---|---|
查询12306购票信息 | |
过滤列车信息 | |
过站查询 | |
中转查询 | |
其余接口,欢迎提feature |


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"
]
}
}
}
️Reference
Murmurs
本项目仅用于学习,欢迎催更。
Donate
请我喝杯奶茶吧。
12306-mcp
Project Details
- Joooook/12306-mcp
- 12306-mcp
- MIT License
- Last Updated: 4/18/2025
Recomended MCP Servers
A Model Context Protocol (MCP) server for interacting with the Canvas API. This server allows you to manage...
An experimental MCP server for controlling Apple Music.
Allows AI Agents to sleep for a specified amount of milliseconds, like when they should wait for an...
百度地图 MCP Server
A Model Context Protocol service for TikTok video discovery and metadata extraction.
MCP Mail Tool - AI-powered email management tool | 基于 MCP 的智能邮件管理工具
A MCP server for automated website deployment to 1Panel (Experimental)
MCP server enabling persistent memory for Claude through a local knowledge graph - fork focused on local development