Indian IRCTC MCP
MCP server for Indian Railway station lookups, live train schedules, and PNR status tracking.
$10
Works with the AI Agents you already use
Indian IRCTC MCP
Example session with this skill installed
Check the PNR status for 4281938502 and get the schedule for train 12951.
- Read your context and instructions
- Compiled the indian irctc mcp
I have retrieved the live PNR status and the schedule for the Mumbai Central - New Delhi Tejas Rajdhani Express.
Indian Railways Data Retrieval
PNR Status: 4281938502
| Passenger | Booking Status | Current Status | Coach/Berth |
|---|---|---|---|
| Passenger 1 | B1, 22 (L) | CNF | B1, 22 |
| Passenger 2 | B1, 24 (U) | CNF | B1, 24 |
Train Schedule: 12951 (NDLS TEJAS RAJ)
| Stop | Station | Code | Arrival | Departure | Day | Platform |
|---|---|---|---|---|---|---|
| 1 | MUMBAI CENTRAL | MMCT | -- | 17:00 | 1 | 3 |
| 2 | BORIVALI | BVI | 17:22 | 17:24 | 1 | 6 |
| 3 | SURAT | ST | 19:43 | 19:48 | 1 | 1 |
| 4 | VADODARA JN | BRC | 21:06 | 21:16 | 1 | 2 |
| 5 | RATLAM JN | RTM | 00:25 | 00:28 | 2 | 5 |
| 6 | KOTA JN | KOTA | 03:15 | 03:20 | 2 | 1 |
| 7 | NEW DELHI | NDLS | 08:32 | -- | 2 | 3 |
Next steps
- Monitor the PNR status again closer to chart preparation for potential upgrades.
- Use
station_lookupto find transit options near NDLS or MMCT. - Verify platform numbers locally as they are subject to last-minute changes.
Connects securely to your tools. The creator never sees your data.
About this skill
Managing Indian Railway logistics during development or travel planning is often a manual process involving fragmented web portals. This skill provides an MCP server that integrates real-time IRCTC data and offline station information directly into your development environment or AI assistant.
What it does
- Station Identification looks up Indian Railway stations by code or city name using an offline dataset.
- Route Tracking fetches complete stop-by-stop train schedules including arrival times, platforms, and distances.
- PNR Validation retrieves live booking status, coach assignments, and seat numbers for active passenger records.
- Offline Reliability provides station metadata without requiring an active internet connection for the lookup tool.
How it works
- Install dependencies using
npm installand ensure Node.js 18+ is available. - Launch the MCP server via
node server.jsto establish a stdio connection. - Register the server in your MCP client configuration file (like Claude Desktop or Cursor).
- Invoke tools like
pnr_statusortrain_scheduledirectly through your AI agent.
Frameworks & tools
Built with Node.js and the Model Context Protocol. It interfaces with IRCTC APIs for live data and uses a bundled static dataset for station lookups.
Why this beats prompting it yourself
Prompting an LLM for train schedules often leads to hallucinations or outdated platform data. This skill forces the agent to use live IRCTC API calls, ensuring the data is accurate to the current minute for PNRs and routes.
Use cases
- Automate travel expense reporting by verifying PNR statuses.
- Build internal logistics tools that require precise station codes and zones.
- Create automated travel assistants that monitor train delays and platform changes.
Known limitations
Requires Node.js 18 or higher. Live tools like PNR status and train schedules require an active internet connection to reach IRCTC APIs.
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for LLM Ops.
Requires Node.js 18+. Live API tools require internet access. Station dataset is static and offline.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed 1 day ago
- Accounts
Irctc
- Software
Node.js
Permissions
Allowed Hosts