Token导航 LogoToken导航TokenDH.com
12
搜索检索HTTP官方级别未说明来源级核验

12306 Ticket Search Server

MCP Server

Provide a simple API interface to search and filter 12306 train tickets, including direct, transfer, and stopover queries. Enable large language models to access real-time 12306 ticket information ef…

工具数

公开资料未说明
JavaScriptHTTP搜索

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

最后核验

2026/5/17 23:24

运行时

Node.js

快速接入

先看主来源和安装命令,再打开仓库或文档;下面只保留这个条目的关键接入事实。

命令预览

npx -y smithery mcp add DeniseLewis200081/rail

详细介绍

12306 Ticket Search Server

Provide a simple API interface to search and filter 12306 train tickets, including direct, transfer, and stopover queries. Enable large language models to access real-time 12306 ticket information ef…

Quick Start

# Connect this server (installs CLI if needed)
npx -y smithery mcp add DeniseLewis200081/rail

# Browse available tools
npx -y smithery tool list DeniseLewis200081/rail

# Get full schema for a tool
npx -y smithery tool get DeniseLewis200081/rail get-current-date

# Call a tool
npx -y smithery tool call DeniseLewis200081/rail get-current-date '{}'

Direct MCP Connection

Endpoint: https://rail--deniselewis200081.run.tools

Tools (8)

  • get-current-date — 获取当前日期,以上海时区(Asia/Shanghai, UTC+8)为准,返回格式为 "yyyy-MM-dd"。主要用于解析用户提到的相对日期(如“明天”、“下周三”),为其他需要日期的接口提供准确的日期输入。
  • get-stations-code-in-city — 通过中文城市名查询该城市 所有 火车站的名称及其对应的 station_code,结果是一个包含多个车站信息的列表。
  • get-station-code-of-citys — 通过中文城市名查询代表该城市的 station_code。此接口主要用于在用户提供城市名作为出发地或到达地时,为接口准备 station_code 参数。
  • get-station-code-by-names — 通过具体的中文车站名查询其 station_code 和车站名。此接口主要用于在用户提供具体车站名作为出发地或到达地时,为接口准备 station_code 参数。
  • get-station-by-telecode — 通过车站的 station_telecode 查询车站的详细信息,包括名称、拼音、所属城市等。此接口主要用于在已知 telecode 的情况下获取更完整的车站数据,或用于特殊查询及调试目的。一般用户对话流程中较少直接触发。
  • get-tickets — 查询12306余票信息。
  • get-interline-tickets — 查询12306中转余票信息。尚且只支持查询前十条。
  • get-train-route-stations — 查询特定列车车次在指定区间内的途径车站、到站时间、出发时间及停留时间等详细经停信息。当用户询问某趟具体列车的经停站时使用此接口。
# Get full input/output schema for a tool
npx -y smithery tool get DeniseLewis200081/rail 

License: MIT

目录标签

目录标签

JavaScriptHTTP搜索

接入字段

传输方式(transport,传输协议)

HTTP

鉴权方式(authType,认证方式)

unknown

运行时(runtime,运行环境)

Node.js

权限和风险

HTTPunknown部署方式未说明

接入前请确认传输方式、认证方式和部署位置,并根据实际工具能力限制访问范围。

安装前确认

不要直接授予不必要的文件、网络或账号权限;先核对安装命令和配置内容。

仍需确认:category

来源信息

继续浏览同类 MCP