12306-mcp

12306-mcp

A 12306 ticket information search server based on the MCP protocol.

MCPResearchOpen source
Type
MCP
Open source
Yes
GitHub Stars
★ 1.0k
Source
mcp-github

Overview

12306-mcp is a 12306 ticket information search server built on the Model Context Protocol (MCP). It provides a simple API interface that allows large models to query 12306 ticket information. The service can be started via CLI, HTTP, or Docker. Ideal for AI applications needing integration with 12306 ticket information queries.

Capabilities

  • Query 12306 ticket information
  • Filter train information
  • Stopover queries
  • Transfer route queries

Use cases

Query train ticket informationFilter trains by specific conditionsPlan transfer itineraries

Setup

Requires: Node 环境
git clone https://github.com/Joooook/12306-mcp.git && npm i

This information was compiled by AI from public sources and may contain inaccuracies — please refer to the source.

FAQ

How to start the service?

Use the command `npx -y 12306-mcp`.

What query functions are supported?

Supports querying ticket information, filtering train details, stopover queries, and transfer route queries.

Related skills