Sign In

@samarth-23-eng/india-mcp

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@samarth-23-eng/india-mcp

Production-grade MCP servers for Indian APIs - Stocks (NSE/BSE), Banking (IFSC/UPI), GST, Railways, and RTO.

latest
Source
npmnpm
Version
1.0.16
Version published
Maintainers
1
Created
Source

🇮🇳 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

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

🔌 MCP Client Configuration

Claude Desktop

Add this to your claude_desktop_config.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"]
    }
  }
}

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

  • Bump Version: npm version patch --no-git-tag-version
  • Build: npm run build
  • Validate: npm run validate:publish
  • Publish to npm: npm publish --access public
  • Registry: mcp-publisher validate & mcp-publisher publish

🤝 Contributing

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

📄 License

MIT © Samarth-23-eng

Keywords

mcp

FAQs

Package last updated on 06 May 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts