About Indian Railway MCP
Indian Railway MCP is an MCP server published by amith-vp in the Developer Tools category: mCP server for Indian Railway data. Search trains, check seat availability, get live statuses, delay info, station/train codes, and more — all via a simple Claude Desktop integration.
The repository has 28 stars and 5 forks, with the last commit a year ago. Six months or more without a commit doesn't mean the server is broken, but check the open issues before depending on it in production.
Install
git clone https://github.com/amith-vp/indian-railway-mcpThis server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.
Tools (8)
Get-live-station-infoRetrieves 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.
Parameters not published.
Get-seat-availabilityChecks 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.
Parameters not published.
Get-station-codeFind station code by station name. Supports multiple station names, variations, and case-insensitive matching. Example: getStationCode for
Parameters not published.
Get-train-codeFind train code (train number) by train name. Supports multiple train names, variations, and case-insensitive matching. Example: getTrainCode for
Parameters not published.
Get-train-delay-infoRetrieves 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.
Parameters not published.
Get-train-infoFetches detailed information about a specific Indian Railways train, including its route and schedule. Example: schedules for train 12617.
Parameters not published.
Get-train-live-statusFetches 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.
Parameters not published.
Search-trainsSearches 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.
Parameters not published.
Ask AI
Ask AI about Indian Railway MCP
Powered by Claude · Grounded in docs
Security checks
Static checks derived from the repository 6 days ago. Heuristics on the source, not an audit.
- ✓README presentThe repository ships documentation.
- !License declaredNo license file. Legally you have no right to use it in a product.
- !Tests presentNo tests found. Behaviour changes may go unnoticed between versions.
- ✓Dependencies pinnedA lockfile pins dependency versions.
- ✓No dynamic code executionSource scan found no eval, dynamic Function, or shell execution.
- !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.
README
Indian Railway MCP
Claude Desktop Integration
Important: First, install the latest version of
mcp-remoteglobally:npm i -g mcp-remote
Access the remote MCP server from Claude Desktop
-
Open Claude Desktop and go to:
Settings→Developer→Edit Config -
Replace/Add the config content with:
{
"mcpServers": {
"railways": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://railway-mcp.amithv.xyz/mcp"
]
}
}
}
- Restart Claude Desktop.
The tools will be available in Claude.
Available Tools
Below are the available tools exposed by this MCP server, with a sample response for each. (Order: search, seat, train info, live status, delay, station code, train code)
1. Search-trains
- Description: Searches for available trains between two stations on a given date.
- Sample response:
TRAINS FROM ERS TO SBC (20250415) Train Name Departure Arrival Duration Classes Days --------------------------------------------------------------------------------- 12677 YPR SAMPARK KRANTI ERS 06:45 → SBC 20:30 13h45m 2A,3A,SL SMTWTFS 16525 ISLAND EXPRESS ERS 09:00 → SBC 23:55 14h55m 2A,3A,SL SMTWTFS ...
2. Get-seat-availability
- Description: 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.
- Sample response:
SEAT AVAILABILITY: 12617 MANGALA LDWEEP EXP Route: ERS → NZM | Quota: GN Date | Class | Status ----------------------------- 2025-04-16 | 2A | AVAILABLE 2 | 3A | WL 5 | SL | AVAILABLE 10 ----------------------------- 2025-04-17 | 2A | AVAILABLE 5 | 3A | WL 5 | SL | REGRET ----------------------------- ...
3. Get-train-info
- Description: Fetches detailed information about a specific Indian Railways train, including its route and schedule.
- Sample response:
TRAIN 12617 MANGALA LDWEEP EXP (Superfast) Route: ERS-NZM Runs: SMTWTFS | Classes: 2A,3A,SL | Zone: SR Pantry Available | Booking: 120 days in advance COACH POSITION: EOG-SLR-2A-3A-3A-SLR SCHEDULE: Stn Station Name Dist Arr Dep Platform Halt -------------------------------------------------------------- ERS Ernakulam Jn 0 Origin 10:00 1 - MAJN Mangalore Jn 400 14:00 14:10 2 10 ... NZM Hazrat Nizamuddin 2760 13:15 Terminus 5 -
4. Get-train-live-status
- Description: Fetches the current live running status of a specific train, including location, delays, and expected arrivals.
- Sample response:
LIVE STATUS: Train 12617 on 2025-04-15 Stn Name Dist Platform Arrival Departure ------------------------------------------------------------------- 1. Ernakulam Jn 0 PF:1 10:00 (On-time) 10:00 (On-time) 2. Mangalore Jn 400 PF:2 14:00 (14:05) 14:10 (14:15) ... 25. Hazrat Nizamuddin 2760 PF:5 13:20 (13:25) TERMINUS
5. Get-train-delay-info
- Description: Retrieves average delay information for a specific train at each station for a specified time period.
- Sample response:
TRAIN 12617 MANGALA LDWEEP EXP (Superfast) Route: ERS-NZM | Runs: SMTWTFS Classes: 2A,3A,SL | Zone: SR DELAY STATISTICS (Period: Last Month) Station Code Avg Delay (mins) -------------------------------------- Ernakulam Jn ERS 2 Mangalore Jn MAJN 5 ... Hazrat Nizamuddin NZM 10
6. Get-live-station-info
- Description: Retrieves live train schedule information for a specific Indian Railway station.
- Sample response:
TRAINS AT NDLS STATION 12002 BHOPAL SHTBDI (NDLS-BPL) PF:1 A:06:00/D:06:10 [Arr:On-time/Dep:On-time] --- 12952 MUMBAI RAJDHANI (NDLS-BCT) PF:3 A:16:25/D:16:35 [Arr:+10/Dep:+10] --- ...
7. Get-station-code
- Description: Finds station code(s) by station name(s). Supports multiple names, variations, and case-insensitive matching.
- Sample response:
Station search results: New Delhi: NDLS Trivandrum: TVC Matching 'Delhi': New Delhi: NDLS Old Delhi: DLI ...
8. Get-train-code
- Description: Finds train code (number) by train name. Supports multiple train names, variations, and case-insensitive matching.
- Sample response:
Train search results: Rajdhani Express: 12951 Shatabdi Express: 12001 Matching 'Rajdhani': 12951: Mumbai Rajdhani 12952: Delhi Rajdhani ...
Each tool returns a formatted text response suitable for direct use in Claude or other MCP-compatible clients.
README fetched from the repository 6 days ago. The original is authoritative.