Indian Railways

v1.0.0Search & Data Extractionstable

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.

indain-railwaysmcpmcp-server
Share:
28
Stars
0
Downloads
0
Weekly
0/5

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

Search trains and check seat availability
Get live train status and delays
amith-vp

Maintainer

LicenseMIT
Languagetypescript
Versionv1.0.0
UpdatedApr 21, 2026
Statushealthy
Maintenanceactive

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

Manual Installation

npx indian-railway

Configuration

Configuration Details

Config File

claude_desktop_config.json

Performance

Response Metrics

Response Time< 200ms
ThroughputMedium

Resource Usage

Memory UsageLow
CPU UsageLow

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
1

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-remote
2

Add 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"]
    }
  }
}
3

Restart Claude Desktop

Save the config file and restart Claude Desktop. The railways server should appear in the connected tools list.

4

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.

5

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.

6

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.

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.

Quick Config Preview

{ "mcpServers": { "indian-railway": { "command": "npx", "args": ["-y", "indian-railway"] } } }

Add this to your claude_desktop_config.json or .cursor/mcp.json

Read the full setup guide →

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.

33,000+ ServersFree & Open SourceStep-by-Step Guides