Public source
China Rail MCP
Search China Railway stations, trains, fares, and seat availability.
Summary
A public-data MCP server for planning rail journeys without login, booking, or anti-bot bypass.
Product highlights
See the product in action and explore its core experience. Select an image for a closer look.



Technical status
experimental
Availability
- Source: public
- Repository: TakeruF/china-rail-mcp
- Blueprint: Not available
- Machine-readable metadata
Capabilities
Read: Yes · Write: No · Confirmation required: No
Main MCP tools
get_provider_statussearch_stationssearch_trainsget_train_detailsget_availabilitycompare_trains
Authentication
none (local stdio), OAuth 2.1 Authorization Code + PKCE (remote). No upstream 12306 account credentials are used. Each remote deployment is protected by its operator's private connection secret.
Transport and service integration
stdio, Streamable HTTP
Official API: No. unauthenticated public 12306 endpoints; no login or anti-bot bypass
Safety
Upstream formats and availability can change; no ticket purchase or booking is attempted.
Destructive actions: None
Architecture
MCP server, public-data provider, OAuth-protected remote endpoint, fixture-backed tests. TypeScript.
Limitations
Upstream public endpoints may change. It never purchases or books tickets.