India Stack

v1.0.0Search & Data Extractionstable

MCP server for Indian APIs — GSTIN, IFSC, PAN, UPI, pincode, HSN/SAC. Zero auth. Offline-first. For AI agents.

fastmcpgstgstinhsnifsc
Share:
19
Stars
0
Downloads
0
Weekly
0/5

What is India Stack?

India Stack is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to mcp server for indian apis — gstin, ifsc, pan, upi, pincode, hsn/sac. zero auth. offline-first. for ai agents.

MCP server for Indian APIs — GSTIN, IFSC, PAN, UPI, pincode, HSN/SAC. Zero auth. Offline-first. For AI agents.

This server falls under the Search & Data Extraction category on MCPgee, the world's largest MCP server directory with 33,000+ servers.

Features

  • MCP server for Indian APIs — GSTIN, IFSC, PAN, UPI, pincode,

Use Cases

Query GSTIN and GST information
Check IFSC codes, PAN, UPI, pincodes, HSN/SAC
rehan1020

Maintainer

LicenseMIT
Languagepython
Versionv1.0.0
UpdatedMay 1, 2026
Statushealthy
Maintenanceactive

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

Manual Installation

npx mcp-india-stack

Configuration

Configuration Details

Config File

claude_desktop_config.json

Performance

Response Metrics

Response Time< 200ms
ThroughputMedium

Resource Usage

Memory UsageLow
CPU UsageLow

How to Set Up and Use India Stack

MCP India Stack is a zero-authentication, offline-first MCP server that exposes 58 tools covering the core Indian financial and compliance data stack: GSTIN lookup and GST rate calculations, IFSC code resolution, PAN and Aadhaar structural validation, UPI provider lookup, pincode-to-district mapping, HSN/SAC code search, income tax calculations for both old and new regimes, EMI and SIP calculators, EPF/ESIC contributions, and bulk validation operations. It is designed specifically for AI agents building Indian fintech, compliance, and business automation workflows, with no external API keys required for most features because it uses offline datasets that refresh automatically in the background.

Prerequisites

  • Python 3.10 or later
  • pip for installing the package
  • An MCP-compatible client such as Claude Desktop
  • No external API keys required for most tools — the server uses locally cached datasets
1

Install the package

Install mcp-india-stack from PyPI using pip.

pip install mcp-india-stack
2

Optionally disable automatic background updates

By default the server refreshes its offline datasets in the background. Set this environment variable if you want to control updates manually.

export MCP_INDIA_STACK_NO_AUTO_UPDATE=1
# To manually refresh all datasets:
mcp-india-stack --refresh-all
3

Add the server to your Claude Desktop configuration

Edit your claude_desktop_config.json to register the server. The config file location differs by OS.

4

Restart Claude Desktop

Restart the application to load the new MCP server. You should see all 58 tools available in the tool list.

5

Test with a GSTIN lookup

Ask Claude to validate a GSTIN number. The server performs structural and checksum validation offline — no network call is made for basic validation.

India Stack Examples

Client configuration

Claude Desktop configuration for MCP India Stack on macOS. On Windows, use %APPDATA%\Claude\claude_desktop_config.json.

{
  "mcpServers": {
    "mcp-india-stack": {
      "command": "python3",
      "args": ["-m", "mcp_india_stack"]
    }
  }
}

Prompts to try

Use natural language to query Indian financial data, validate identifiers, and run tax calculations.

- "Validate GSTIN 27AAPFU0939F1ZV and tell me the state and business type."
- "What is the IFSC code for SBI branch in Connaught Place, Delhi?"
- "Calculate my income tax for a salary of ₹18,00,000 under the new tax regime for FY2025-26."
- "What HSN code applies to mobile phones and what is the GST rate?"
- "Calculate EMI for a home loan of ₹50 lakhs at 8.5% for 20 years."
- "Validate these 3 PAN numbers in bulk and flag any with invalid format."

Troubleshooting India Stack

Server not found after pip install

Ensure the Python executable in your MCP config matches the Python where you installed the package. If you used a virtual environment, reference its python3 binary explicitly: e.g., "/path/to/venv/bin/python3" instead of "python3".

GSTIN or PAN validation returns 'invalid' for a seemingly correct identifier

The validators check structure and checksum only — they do not verify active government registration. A structurally correct GSTIN that has been cancelled will still pass validation. Use the result as a format check, not as proof of active registration.

Tax calculations differ from what a CA quoted

The tax engine covers standard individual slab rates and common deductions, but excludes edge cases such as NRI status, special income categories, and state-specific surcharges. Always confirm with a chartered accountant for filing decisions.

Frequently Asked Questions about India Stack

What is India Stack?

India Stack is a Model Context Protocol (MCP) server that mcp server for indian apis — gstin, ifsc, pan, upi, pincode, hsn/sac. zero auth. offline-first. for ai agents. It connects AI assistants to external tools and data sources through a standardized interface.

How do I install India Stack?

Follow the installation instructions on the India Stack GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.

Which AI clients work with India Stack?

India Stack works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.

Is India Stack free to use?

Yes, India Stack is open source and available under the MIT license. You can use it freely in both personal and commercial projects.

Browse More Search & Data Extraction MCP Servers

Explore all search & data extraction servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.

Quick Config Preview

{ "mcpServers": { "mcp-india-stack": { "command": "npx", "args": ["-y", "mcp-india-stack"] } } }

Add this to your claude_desktop_config.json or .cursor/mcp.json

Read the full setup guide →

Ready to use India Stack?

Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.

33,000+ ServersFree & Open SourceStep-by-Step Guides