Skip to main content
Glama

12306-train-mcp

Server Details

MCP server for China Railway 12306 ticket availability: schedules and seats by Chinese station name.

If you are the author of this connector, you can claim ownership by verifying the domain or GitHub account it belongs to. Claimed connector authors can inspect health checks, view analytics, and manage their listing.
Status
Healthy
Uptime
100.0% over the last 24 hours
Last Tested
Transport
Streamable HTTP · MCP 2025-11-25
URL
Repository
boy-373/12306-train-mcp
GitHub Stars
0
Server Listing
12306 Train MCP
ChatGPT
–
Claude
–

TDQS

Score is being calculated.

Available Tools

2 tools
query_train_ticketsQuery Train TicketsInspect

查询中国大陆12306火车票余票信息。参数from_city出发城市/车站中文名,to_city到达城市/车站中文名,date出发日期格式YYYY-MM-DD;留空默认明天。

NameRequiredDescriptionDefault
dateNo出发日期,格式 YYYY-MM-DD;留空默认明天
to_cityYes到达城市或车站中文名,如 "北京"、"上海虹桥"
from_cityYes出发城市或车站中文名,如 "青岛"、"北京南"

Output Schema

NameRequiredDescription

No output parameters

search_stationSearch StationInspect

按关键词搜索12306车站名称,返回匹配的车站中文名列表。不确定城市有哪些车站时使用。

NameRequiredDescriptionDefault
keywordYes关键词,如 "北京"

Output Schema

NameRequiredDescription

No output parameters

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

  1. 2 tool updates
    • First observedquery_train_tickets
    • First observedsearch_station

Related MCP Connectors

Related MCP Servers

  • A
    license
    B
    quality
    D
    maintenance
    12306 ticket purchase search server based on Model Context Protocol (MCP). It provides a simple API interface, allowing large models to search for 12306 ticket purchasing information through the interface.
    8
    1
    Apache 2.0
  • A
    license
    B
    quality
    C
    maintenance
    Enables searching 12306 railway ticket information, filtering trains, querying passing stations, and searching transfer routes through MCP.
    8
    15,543 npm
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    Read-only MCP server that queries Russian Railways (ticket.rzd.ru) for train schedules, car types, prices, and seat availability. It provides official RZD links for manual booking but does not log in, book, or pay.
    56 npm
    2
    MIT
Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.