Indian Railways
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.
What is Indian Railways?
Indian Railways is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to 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.
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.
This server falls under the Search & Data Extraction category on MCPgee, the world's largest MCP server directory with 33,000+ servers.
Features
- MCP server for Indian Railway data. Search trains, check sea
Use Cases
Maintainer
Works with
Installation
Manual Installation
npx indian-railwayConfiguration
Configuration Details
claude_desktop_config.json
Performance
Response Metrics
Resource Usage
How to Set Up and Use Indian Railways
Indian Railway MCP is a remote MCP server that connects Claude and other AI clients to live Indian Railways data through a hosted API at railway-mcp.amithv.xyz. It exposes eight tools covering train search, seat availability, live running status, delay statistics, and station/train code lookups — all without any API key or account setup. Travelers and developers can use it to get real-time rail information directly in conversation.
Prerequisites
- Node.js 16+ and npx installed (for mcp-remote)
- Claude Desktop or another MCP-compatible client
- Internet access to reach railway-mcp.amithv.xyz
- No API key required — the server is publicly hosted
Install mcp-remote
The Indian Railway MCP server is hosted remotely, so you need mcp-remote as a local bridge to connect to it.
npm i -g mcp-remoteAdd the server to Claude Desktop config
Open Claude Desktop settings (Settings → Developer → Edit Config) and add the railways server entry pointing to the hosted endpoint.
{
"mcpServers": {
"railways": {
"command": "npx",
"args": ["-y", "mcp-remote", "https://railway-mcp.amithv.xyz/mcp"]
}
}
}Restart Claude Desktop
Save the config file and restart Claude Desktop. The railways server should appear in the connected tools list.
Find a station code
Before searching trains you may need station codes. Ask Claude to look up a station code by name using the get-station-code tool.
Search for trains between two stations
Use natural language to search for trains. Claude will call the search-trains tool with the station codes and date you provide.
Check seat availability and live status
After identifying a train number, ask for seat availability on specific dates or real-time running status including platform and delay information.
Indian Railways Examples
Client configuration
Full Claude Desktop config using mcp-remote to connect to the hosted Indian Railway MCP endpoint.
{
"mcpServers": {
"railways": {
"command": "npx",
"args": ["-y", "mcp-remote", "https://railway-mcp.amithv.xyz/mcp"]
}
}
}Prompts to try
Real-world prompts using the 8 available railway tools.
- "Search for trains from Ernakulam (ERS) to Bangalore City (SBC) on December 25"
- "Check seat availability for train 12678 between ERS and SBC for the next 5 dates"
- "What is the live running status of train 12657 right now?"
- "How much does train 12628 usually get delayed at Coimbatore?"
- "What is the station code for Mysuru Junction?"
- "Show me the full schedule and route for the Kerala Express"Troubleshooting Indian Railways
Connection error or 'server not found' when starting Claude Desktop
Verify mcp-remote is installed globally ('npx mcp-remote --version') and that you have internet access. The hosted endpoint at railway-mcp.amithv.xyz must be reachable.
Train search returns no results
Ensure you are using valid station codes (e.g. ERS for Ernakulam, SBC for Bangalore City). Ask Claude to first look up the station code with 'What is the station code for [station name]?' using the get-station-code tool.
Live status shows stale or unavailable data
Live status depends on the Indian Railways real-time API. Data may be delayed during peak traffic or maintenance windows. Try again after a few minutes or check status for a different train.
Frequently Asked Questions about Indian Railways
What is Indian Railways?
Indian Railways is a Model Context Protocol (MCP) server that 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. It connects AI assistants to external tools and data sources through a standardized interface.
How do I install Indian Railways?
Follow the installation instructions on the Indian Railways GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.
Which AI clients work with Indian Railways?
Indian Railways works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.
Is Indian Railways free to use?
Yes, Indian Railways is open source and available under the MIT license. You can use it freely in both personal and commercial projects.
Indian Railways Alternatives — Similar Search & Data Extraction Servers
Looking for alternatives to Indian Railways? Here are other popular search & data extraction servers you can use with Claude, Cursor, and VS Code.
TrendRadar
★ 58.0kA real-time hotspot monitoring and news aggregation assistant that provides AI-powered analysis of trending topics across multiple platforms via the Model Context Protocol. It enables users to track news and receive automated notifications through va
Scrapling
★ 52.7k🕷️ An adaptive Web Scraping framework that handles everything from a single request to a full-scale crawl!
PDF Math Translate
★ 33.9k[EMNLP 2025 Demo] PDF scientific paper translation with preserved formats - 基于 AI 完整保留排版的 PDF 文档全文双语翻译,支持 Google/DeepL/Ollama/OpenAI 等服务,提供 CLI/GUI/MCP/Docker/Zotero
GPT Researcher
★ 27.2kAn autonomous agent that conducts deep research on any data using any LLM providers
Agent Reach
★ 20.1kGive your AI agent eyes to see the entire internet. Read & search Twitter, Reddit, YouTube, GitHub, Bilibili, XiaoHongShu — one CLI, zero API fees.
Xiaohongshu
★ 13.7kMCP for xiaohongshu.com
Browse More Search & Data Extraction MCP Servers
Explore all search & data extraction servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.
Set Up Indian Railways in Your Editor
Choose your AI client for step-by-step setup instructions.
Quick Config Preview
Add this to your claude_desktop_config.json or .cursor/mcp.json
Ready to use Indian Railways?
Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.