DevTool • Productivity • AI
Building software with Indian Railways data in India has always been a painful trade-off:
1. Enterprise B2B access requires massive bank guarantees and lengthy bureaucratic clearances.
2. Open-source scrapers frequently break, suffer from 5-8 second latencies, and eat hundreds of megabytes of RAM.
3. Global marketplaces force developers into recurring USD subscriptions with multi-second latency spikes.
We engineered irctc.dev — an in-memory railway intelligence engine compiling all 10,647 passenger trains, 8,500+ stations, and schedules directly into RAM.
### ⚡ Key Capabilities:
- Sub-10ms Route Searches: Direct train schedules and station pair routing in single-digit milliseconds.
- 400ms PNR Checks: Real-time passenger manifest, coach allocation, and berth details (e.g. S4 65 LOWER BERTH).
- 14-Day Seat Forecast: 1-call continuous availability forecast across classes (3A, 2A, SL) and quotas.
- Post-Charting Vacant Berths: Real-time vacant berths from online reservation charts for Current Booking.
- AI Agent Ready (MCP): Official `irctc-mcp` server connecting Cursor, Windsurf, Claude Code, and Claude Desktop to live railway data.
- Developer Toolchains: Official Node.js SDK (`npm i irctc-api`), Python SDK (`pip install irctc-api`), and n8n node (`n8n-nodes-irctc`).
### 💻 Try It In Your Terminal (No Signup Required):
```bash
npx irctc-api live 12557
npx irctc-api pnr 2265248473
---
Built with