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 分