MCP.so
Sign In

非官方的同程旅行 MCP Server

@wuchubuzai2018

About 非官方的同程旅行 MCP Server

非官方的同程旅行网的火车票MCP Server,目前仅支持火车票车次查询

Config

Add this server to your MCP-compatible client using the configuration below.

{
  "mcpServers": {
    "tongchenglvxing-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@wuchubuzai/tongchenglvxing-mcp-server"
      ]
    }
  }
}

Tools

2

火车票车次列表查询功能,查询指定日期、出发地和目的地之间的火车票信息。输入用户提供的出发站出发城市、到达站到达城市、出发日期进行查询结果,返回包含车次列表、出发/到达站信息、座位类型及票价等详细信息。本工具提供中国境内火车票班次信息的全面查询服务,数据实时对接同程旅行网官方接口。 提供不同座位类型(商务座/一等座/二等座等)的实时票价

查询当前系统时间工具,它可以帮助你获取当前系统日期时间,返回格式为:yyyy-MM-dd hh:mm:ss,可用于火车票查询等需要时间验证的场景。

Overview

What is 非官方的同程旅行 MCP Server?

An unofficial MCP server that interfaces with Tongcheng Travel’s train ticket APIs, providing tool methods for querying train schedules and current time. It is built on the MCP TypeScript SDK and is aimed at developers integrating travel data into MCP‑compatible clients.

How to use 非官方的同程旅行 MCP Server?

Requires Node.js. Configure in an MCP client using NPX: either point to the local built dist/index.js or use the published package @wuchubuzai/tongchenglvxing-mcp-server.

Key features of 非官方的同程旅行 MCP Server?

  • Supports train ticket list query
  • Supports current time query
  • Built with MCP TypeScript SDK
  • Configurable via NPX
  • Available for Node.js (Java planned)

Use cases of 非官方的同程旅行 MCP Server?

  • Query train schedules from Tongcheng Travel
  • Integrate travel data into MCP clients
  • Automate travel planning workflows

FAQ from 非官方的同程旅行 MCP Server?

What data does this server provide?

It accesses Tongcheng Travel’s train ticket interfaces to return train schedule lists.

How do I install and run it?

Install Node.js, then configure the server in your MCP client using NPX with the local path or the published npm package.

What tools (functions) are available?

Two tool methods: querying the train ticket list and querying the current time.

Is Java support available?

Not yet; only TypeScript/Node is currently supported. Java support is planned for a later release.

How can I report issues or get help?

Open an issue on the project repository or contact the maintainer directly.

Frequently asked questions

What data does this server provide?

It accesses Tongcheng Travel’s train ticket interfaces to return train schedule lists.

How do I install and run it?

Install Node.js, then configure the server in your MCP client using NPX with the local path or the published npm package.

What tools (functions) are available?

Two tool methods: querying the train ticket list and querying the current time.

Is Java support available?

Not yet; only TypeScript/Node is currently supported. Java support is planned for a later release.

How can I report issues or get help?

Open an issue on the project repository or contact the maintainer directly.

Comments

More Other MCP servers