indian-railway-mcp

amith-vp/indian-railway-mcp

3.4

If you are the rightful owner of indian-railway-mcp and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

Indian Railway MCP provides a set of tools for accessing Indian Railways data through a Model Context Protocol server.

Tools

Functions exposed to the LLM to take actions

Get-live-station-info

Retrieves live train schedule information for a specific Indian Railway station. Example: Live station for ERS (Ernakulam Jn). Returns a formatted text list of trains including their numbers, names, arrival/departure times, platforms, and delay information.

Get-train-info

Fetches detailed information about a specific Indian Railways train, including its route and schedule. Example: schedules for train 12617.

Get-train-live-status

Fetches the current live running status of a specific train including location, delays, and expected arrivals. Returns a formatted text with station names, platforms, scheduled/actual arrival and departure times. Example: live status/live location for train 12617.

Search-trains

Searches for available Indian Railways trains between two specified stations on a given date. Example: searchTrains from ERS to SBC on 20250415. Returns a formatted text list of trains with train numbers, names, departure/arrival stations and times, duration, running days, and available classes.

Get-station-code

Find station code by station name. Supports multiple station names, variations, and case-insensitive matching. Example: getStationCode for 'Delhi,Trivandrum' would return codes for both cities.

Get-train-code

Find train code (train number) by train name. Supports multiple train names, variations, and case-insensitive matching. Example: getTrainCode for 'Rajdhani,Shatabdi' would return codes for trains containing these names.

Get-seat-availability

Checks seat availability for a train between two stations on upcoming dates. Returns a formatted text with train details, seat availability status (available or waitlisted), and fare information for different classes and dates. Example: seat availability for train 12617 from NDLS to MAS.

Get-train-delay-info

Retrieves average delay information for a specific train at each station. Shows train basic info and station-wise delay statistics for the specified time period. Example: any delay for train 12617 for the last month. Returns a formatted text with train name, number, route, and average delay at each station.

Prompts

Interactive templates invoked by user choice

No prompts

Resources

Contextual data attached and managed by the client

No resources