India Mcp Railways

io.github.Samarth-23-eng由 GitHub 账号 Samarth-23-eng 发布v1.0.9更新于 Oct 27, 2026

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

概览

AI 生成的概览

面向印度铁路的本地 MCP 服务器,让助手查询列车与车站、时刻表、实时运行状态和 PNR 信息。

可以做什么
  • 搜索印度铁路网络中的列车和车站
  • 查询列车时刻表与班次信息
  • 查看列车实时运行状态
  • 按 PNR 查询订票状态
  • 属于 India-MCP 套件,同一 npm 包还包含 GST、RTO、银行、股票和法院等服务器,通过子命令启动
适用场景
当助手需要印度铁路出行信息时使用,例如规划行程、确认列车是否晚点,或在对话中直接查询 PNR。
运行要求
以 npm 包形式通过 stdio 在本机运行,需要 Node.js 以及 npx 或全局安装。未声明任何认证、环境变量或请求头。需要联网访问印度铁路数据源。
安装前请注意
README 说明上游政府门户不稳定且设有防护,服务器通过重试、缓存和备用数据源抓取,结果可能不完整或过期。PNR 查询涉及订票编号,请留意分享的个人出行数据。该包捆绑了多个不相关的服务器,建议只启动铁路子命令。

安装

在 SourceWeft 中

  1. 打开 控制台中的 India Mcp Railways,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

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

来源:README.md,提交 0574fca

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

1
  1. v1.0.9最新Sep 16, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分