Skip to main content
Glama

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

功能描述状态
查询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" ] } } }

📚Documentation

👉️Reference

💭Murmurs

本项目仅用于学习,欢迎催更。

🎫Badges

请我喝杯奶茶吧。

You must be authenticated.

A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

The server provides a simple API interface that allows users to search for 12306 tickets.

  1. 🚩Features
    1. ⚙️Installation
      1. ▶️Quick Start
        1. CLI
        2. MCP sever configuration
      2. 📚Documentation
        1. 👉️Reference
          1. 💭Murmurs
            1. 🎫Badges
              1. ☕️Donate

                Related MCP Servers

                • A
                  security
                  F
                  license
                  A
                  quality
                  This server allows users to perform web searches using Perplexity AI, providing a tool for retrieving search results through a simple API interface.
                  Last updated -
                  1
                  2
                  TypeScript
                • A
                  security
                  F
                  license
                  A
                  quality
                  This server integrates with the Ticketmaster API to provide AI agents with real-time concert and event data, enabling dynamic fetching and formatting for ease of interpretation.
                  Last updated -
                  1
                  Python
                • -
                  security
                  F
                  license
                  -
                  quality
                  A server that allows AI assistants to access and retrieve Linear ticket data through the Model Context Protocol (MCP) standard, currently focused on fetching a user's todo tickets.
                  Last updated -
                  324
                  TypeScript
                • A
                  security
                  A
                  license
                  A
                  quality
                  A server implementation that provides Claude AI with the ability to interact with Zendesk ticketing systems through various functions including retrieving, searching, creating, and updating tickets.
                  Last updated -
                  7
                  163
                  1
                  TypeScript
                  MIT License
                  • Apple

                View all related MCP servers

                MCP directory API

                We provide all the information about MCP servers via our MCP API.

                curl -X GET 'https://glama.ai/api/mcp/v1/servers/Joooook/12306-mcp'

                If you have feedback or need assistance with the MCP directory API, please join our Discord server