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. 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

A3.6/5.0

Scored across 2 tools

Disambiguation5/5

The two tools target completely different actions: query_train_tickets fetches availability for a route/date, while search_station resolves station names from a keyword. An agent can trivially decide which to call, and the description of search_station even states when to prefer it.

Naming Consistency5/5

Both tools follow the same snake_case verb_noun pattern (query_train_tickets, search_station), with the verb accurately reflecting the operation type.

Tool Count3/5

Two tools is thin for a domain that naturally includes schedules, seat classes, and pricing. It is not wrong for a narrowly scoped 'ticket availability' server, but the surface feels minimal and leaves little room for fallbacks.

Completeness3/5

The core workflow (resolve station -> check remaining tickets) is covered, but there is no way to look up train schedules/routes independently of availability, inspect seat class and price breakdowns, or handle connecting/transfer trips. Agents hitting those needs have no fallback tool.

Available Tools

2 tools
query_train_ticketsQuery Train TicketsBInspect

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

Inputs: to_city (required), from_city (required), date. Returns: object

search_stationSearch StationAInspect

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

Inputs: keyword (required). Returns: object

Tool Schema Changelog

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

Loading tool schema changelog…

    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
      D
      maintenance
      Enables searching 12306 railway ticket information, filtering trains, querying passing stations, and searching transfer routes through MCP.
      8
      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.
      61 npm
      2
      MIT
    Try in Browser

    Glama MCP Gateway

    Add one secure layer between your agents and this server.