Train 12306 MCP Server

v1.0.0APIsstable

查询火车票信息,只需要传入出发车站名、到达车站名、出发日期、乘客类型,如: 北京, 汉口, 2025-07-15, ADULT

travel-transportation
Share:
0
Stars
0
Downloads
0
Weekly
0/5

About

查询火车票信息,只需要传入出发车站名、到达车站名、出发日期、乘客类型,如: 北京, 汉口, 2025-07-15, ADULT

Features

  • query_tickets
  • query_train_info
  • query_train_price
  • get_station_code

Use Cases

查询火车票信息,只需要传入出发车站名、到达车站名、出发日期、乘客类型,如: 北京, 汉口, 2025-07-15, ADULT
查询火车车次信息,包括时刻表、途径站、停靠时间等信息
查询火车的车票价格,需要出发车站名,到达车站名,出发日期
获取车站中文名的code(代号/代码)
Community

Maintainer

LicenseMIT
Languagetypescript
Versionv1.0.0
UpdatedN/A
Statushealthy
Maintenanceactive

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

NPM

npx -y train_12306

Manual Installation

npx -y train_12306

Examples

Basic Configuration

Configure Train 12306 MCP Server

npx -y train_12306

Configuration

Configuration Details

Config File

claude_desktop_config.json

Web UI

Not available

Security

Authentication

RequiredNo

Features

Data Encryption
Audit Logging
RBAC Support

Performance

Response Metrics

Response Time< 200ms
ThroughputMedium

Resource Usage

Memory UsageLow
CPU UsageLow

More APIs MCP Servers

Explore other servers in the APIs category.

Quick Config Preview

{ "mcpServers": { "train-12306": { "command": "npx", "args": ["-y", "train_12306"] } } }

Add this to your claude_desktop_config.json or .cursor/mcp.json

Read the full setup guide →

Ready to use Train 12306 MCP Server?

Browse our complete directory of 60+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.

60+ ServersFree & Open SourceStep-by-Step Guides