Loading connector details…
Loading connector details…
Choose a unique username to continue using AgentHotspot
by drfccv • Uncategorized
A high-performance backend server for querying official 12306 train ticket availability, prices, stations, routes, and transfers using the Model Context Protocol (MCP).
Real-time train ticket availability and schedule queries.
Intelligent transfer planning and station information search.
Integration with AI or automation tools using MCP protocol.
MCP Server 12306 provides real-time, one-stop queries for train tickets, seat availability, schedules, prices, and transfer plans across China. It supports fuzzy search for stations, intelligent time tools, and adheres to the MCP 2025-03-26 standard with asynchronous FastAPI for fast responses. The server can run in stdio mode for local MCP clients or as a streamable HTTP service, making it easy to integrate with AI, automation, and intelligent assistant scenarios.
官方12306余票/车次/座席/时刻一站式查询。输入出发站、到达站、日期,返回所有可购车次、时刻、历时、各席别余票等详细信息。支持中文名、三字码。 【智能筛选指南】返回结果通常包含出发/到达城市的所有相关车站(如北京/北京西/北京南)。请根据用户输入语境灵活处理: 1. 用户仅输入城市名(如'九江'):请展示所有相关站点的车次,不要过滤。 2. 用户指定具体车站(如'九江站'):优先展示匹配车站的车次,但若其他同城车站有更优方案(如时间更短、有票),也应作为补充选项提供。 请避免机械地仅通过字符串匹配过滤车次,以免遗漏用户可能感兴趣的出行方案。
查询火车票价信息。输入出发站、到达站、日期,返回各车次的票价详情。支持指定车次号过滤。 【智能筛选指南】返回结果通常包含出发/到达城市的所有相关车站(如北京/北京西/北京南)。请根据用户输入语境灵活处理: 1. 用户仅输入城市名(如'九江'):请展示所有相关站点的车次,不要过滤。 2. 用户指定具体车站(如'九江站'):优先展示匹配车站的车次,但若其他同城车站有更优方案(如时间更短、有票),也应作为补充选项提供。 请避免机械地仅通过字符串匹配过滤车次,以免遗漏用户可能感兴趣的出行方案。
智能车站搜索。支持中文名、拼音、简拼、三字码(Code)。可用于模糊搜索(如“北京”),也可用于精确获取车站代码(如输入“BJP”返回北京站信息)。
官方中转换乘方案查询。输入出发站、到达站、日期,可选中转站/无座/学生票,自动分页抓取全部中转方案。
列车经停站全表查询。支持输入车次号或官方编号,返回所有经停站、到发时刻、停留时间。
Scores are informational only and provided “as is” without warranty. AgentHotspot assumes no liability for actions taken based on these ratings.