Skip to main content
Glama
drfccv

12306 MCP Server

by drfccv

get-train-no-by-train-code

Convert train codes (including three-letter codes or full names) to official train numbers for China railway queries. Use this tool before checking train schedules or stops.

Instructions

车次号转官方唯一编号(train_no),支持三字码/全名。常用于经停站查询前置转换。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
train_codeYes车次号
from_stationYes出发站
to_stationYes到达站
train_dateYes出发日期,格式:YYYY-MM-DD

Latest Blog Posts

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/drfccv/mcp-server-12306'

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