India Mcp Railways

io.github.Samarth-23-engPublished by GitHub account Samarth-23-engv1.0.9Updated Oct 27, 2026

MCP server for Indian Railways: search trains, stations, schedules and live status.

Overview

AI-generated overview

Local MCP server for Indian Railways data: lets an assistant search trains and stations, check schedules, live train status and PNR enquiry.

What you can do
  • Search trains and stations across the Indian Railways network
  • Look up train schedules and timetables
  • Check live running status of trains
  • Enquire on PNR booking status
  • Part of a broader India-MCP package that also bundles GST, RTO, banking, stocks and eCourts servers, launched by subcommand
When to use it
Useful when an assistant needs Indian rail travel information — planning a journey, checking whether a train is running late, or looking up a PNR — without leaving the chat.
Requirements
Runs locally over stdio as an npm package; Node.js and npx or a global install are needed. No authentication, environment variables or headers are declared. Network access to Indian Railways data sources is required.
Before you install
The README notes the upstream government portals are unstable and protected, and the server scrapes them with retries, caching and fallback sources; results may be incomplete or stale. PNR lookups involve a booking reference, so consider what personal travel data you share. The package bundles several unrelated servers, so launch only the railways subcommand.

Installation

In SourceWeft

  1. Open India Mcp Railways in the dashboard and add it to a workspace.
  2. Enable the server for the chats that should use its tools.

Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.

Other MCP clients

Follow the launch instructions in the repository.

README

🇮🇳 India MCP

[npm version] [TypeScript] [MCP Compatible] [License: MIT]

Collection of MCP (Model Context Protocol) servers for Indian APIs and services. Enable AI agents like Claude, Cursor, and OpenCode to operate natively in the Indian market with real-time data and specialized tools.


🇮🇳 Why India-MCP?

Indian digital infrastructure is powerful but fragmented. Many government and enterprise portals are:

  • Unstable: Intermittent downtime and slow response times.
  • Protected: Require specific headers and session management.
  • Inconsistent: Varying data formats (HTML, JSON, XML).

India-MCP provides a unified, resilient, and AI-optimized layer over these services, enabling agents to verify identities, track logistics, analyze markets, and navigate the legal system with a single protocol.


🚀 Features

  • Production Grade: Hardened servers with retry logic, request timeouts, and in-memory TTL caching.
  • Resilient Data: Intelligent fallback strategies (e.g., NSE → Yahoo Finance) for maximum availability.
  • Privacy First: Browser-compliant headers and respectful API usage patterns.
  • Developer Friendly: Clean JSON-RPC interfaces and normalized tool responses.
  • Unified Ecosystem: Shared utilities for banking, legal, and market data.

🛠 Available Servers

ServerDomainToolsDescription
GSTTaxation5Validate GSTINs, HSN codes, and tax calculations.
RailwaysTransport7Live train status, PNR enquiry, and schedules.
RTOAutomotive6Vehicle registration details and road tax calculator.
BankingFintech3IFSC search, UPI validation, and bank status.
StocksMarkets8NSE/BSE real-time quotes, indices, and history.
eCourtsLegal6Court cases, orders, and cause list retrieval.

Detailed catalog: docs/SERVERS.md | Full Tool Index: docs/TOOLS.md


📦 Installation

bash
npm install -g @samarth-23-eng/india-mcp

Quick start — launch any server with one command:

bash
india-mcp stocks       # NSE/BSE stock dataindia-mcp gst          # GST validationindia-mcp ecourts      # Court case lookupindia-mcp fssai        # Food license verificationindia-mcp list         # Show all available serversindia-mcp --help       # Full usage guide

Or use npx without installing:

bash
npx @samarth-23-eng/india-mcp stocks

🔌 MCP Client Configuration

Claude Desktop

Add this to your claude_desktop_config.json:

json
{  "mcpServers": {    "india-stocks": {      "command": "npx",      "args": ["-y", "@samarth-23-eng/india-mcp", "stocks"]    },    "india-ecourts": {      "command": "npx",      "args": ["-y", "@samarth-23-eng/india-mcp", "ecourts"]    },    "india-gst": {      "command": "npx",      "args": ["-y", "@samarth-23-eng/india-mcp", "gst"]    }  }}

Detailed guides: docs/EXAMPLES.md


🏗 Architecture

India-MCP uses a shared resilience layer to handle the instability of Indian government portals.

  • Retries: 2 retries with exponential backoff for all network calls.
  • Caching: TTL-based memory cache to prevent IP blocking.
  • Fallbacks: Automatic switching to backup data sources.

Technical details: docs/ARCHITECTURE.md


🛤 Roadmap

Planned servers:

  • eCourts (Extended): Supreme Court and High Court specific filters.
  • FSSAI: Food license validation.
  • CDSCO: Medicine registry verification.
  • Land Records: Digital Bhulekh access.

🚀 Release Process

  1. Bump Version: npm version patch --no-git-tag-version
  2. Build: npm run build
  3. Validate: npm run validate:publish
  4. Publish to npm: npm publish --access public
  5. Registry: mcp-publisher validate & mcp-publisher publish

🤝 Contributing

Contributions are welcome! Please read our Contributing Guidelines to get started.


📄 License

MIT © Samarth-23-eng

Source: README.md at commit 0574fca

Tools

0
SourceWeft has not started this package in its sandbox yet, so its tools are not known.

Version history

1
  1. v1.0.9LatestSep 16, 2026

Score

50% of the applicable checks met

How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.

  • Reached in the last 30 days25 pts

    Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.

  • Auth declared10 pts

    Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.

  • Tools listed15 pts

    Answer tools/list without a credential, or ship a package that starts in a sandbox without one.

  • DescriptionRequired15 pts
  • Logo10 pts
  • Documentation15 pts
  • License10 pts