Skip to main content
Glama

China 12306 Train Tickets 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 with GitHub, an HTTP challenge, or a DNS record. Claimed connector authors can inspect health checks, view analytics, and manage their listing.
Status
Healthy
Last Tested
Transport
Streamable HTTP
URL
Repository
boy-373/12306-train-mcp
GitHub Stars
0
Server Listing
12306 Train MCP

Available Tools

2 tools
query_train_ticketsInspect

查询中国大陆12306火车票余票信息。

参数:
    from_city: 出发城市或车站中文名,例如 "青岛"、"北京南"
    to_city: 到达城市或车站中文名,例如 "北京"、"上海虹桥"
    date: 出发日期,格式 YYYY-MM-DD,例如 "2026-09-01";留空默认明天
返回:
    车次列表,含车次号、出发/到达站、出发/到达时间、历时、各席别余票。
注意: 仅支持查票,不能购票;12306预售期通常为15天。
ParametersJSON Schema
NameRequiredDescriptionDefault
dateNo
to_cityYes
from_cityYes
search_stationInspect

按关键词搜索12306车站名称,返回匹配的车站中文名列表。 当不确定城市有哪些车站时使用,例如搜 "北京" 返回 北京/北京南/北京西/北京北 等。

ParametersJSON Schema
NameRequiredDescriptionDefault
keywordYes

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. 2 tool updates
    • First observedquery_train_tickets
    • First observedsearch_station

Frequently Asked Questions

Discussions

No comments yet. Be the first to start the discussion!

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
    8,313
    MIT
  • A
    license
    Not graded
    quality
    B
    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.
    51
    1
    MIT
Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

TSQS

Score is being calculated.