npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@samarth-23-eng/india-mcp

v1.0.16

Published

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

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

| Server | Domain | Tools | Description | | :--- | :--- | :---: | :--- | | GST | Taxation | 5 | Validate GSTINs, HSN codes, and tax calculations. | | Railways | Transport | 7 | Live train status, PNR enquiry, and schedules. | | RTO | Automotive | 6 | Vehicle registration details and road tax calculator. | | Banking | Fintech | 3 | IFSC search, UPI validation, and bank status. | | Stocks | Markets | 8 | NSE/BSE real-time quotes, indices, and history. | | eCourts | Legal | 6 | Court 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

  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