India Stack MCP
Uses the Razorpay IFSC API to look up bank branch details for an IFSC code, including bank name, branch, address, MICR and SWIFT codes, and supported payment rails (UPI, NEFT, RTGS, IMPS).
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@India Stack MCP Which branch is IFSC SBIN0000691 and does it support UPI?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
🇮🇳 India Stack MCP
Give Claude, Cursor and any MCP-compatible AI assistant Indian superpowers: IFSC lookup, pincode lookup, GSTIN / PAN / UPI ID validation and the official holiday calendar, all in one install.
You: Which branch is IFSC SBIN0000691, and does it support UPI?
Claude: That's State Bank of India, New Delhi Main Branch, 11 Sansad Marg,
New Delhi 110001. It supports UPI, NEFT, RTGS and IMPS.
You: Is 27AAPFU0939F1ZV a real-looking GSTIN?
Claude: Yes. The format and checksum are valid. It's registered in
Maharashtra and the embedded PAN (AAPFU0939F) belongs to a firm.
You: When's the next government holiday?
Claude: Christmas Day on 25 December 2026, then Republic Day on 26 January 2027.No API keys. Validators run fully offline; IFSC and pincode use free public data.
Tools
Tool | What it does | Network |
| Bank, branch, address, MICR, SWIFT and UPI/NEFT/RTGS/IMPS support for an IFSC code | Razorpay IFSC API |
| District, state and every post office for a 6-digit pincode | India Post (postalpincode.in) |
| Format, state code, embedded PAN and checksum of a GST number | Offline |
| PAN format and holder type (individual, company, HUF, firm, trust, LLP…) | Offline |
| UPI ID format and the app/bank behind the handle ( | Offline |
| Full year list, "is this date a holiday?", or the next N holidays | Offline |
Related MCP server: india-business-mcp-server
Install
You need Node.js 18 or newer.
Claude Desktop
Add this to claude_desktop_config.json (Settings → Developer → Edit Config):
{
"mcpServers": {
"india-stack": {
"command": "npx",
"args": ["-y", "india-stack-mcp"]
}
}
}Claude Code
claude mcp add india-stack -- npx -y india-stack-mcpCursor
Add to ~/.cursor/mcp.json:
{
"mcpServers": {
"india-stack": { "command": "npx", "args": ["-y", "india-stack-mcp"] }
}
}VS Code, Windsurf, Cline and others
Any client that supports stdio MCP servers works with the command npx -y india-stack-mcp.
What it does not do
Being honest about limits:
Validation is not verification. A GSTIN with a valid checksum may still be cancelled; a well-formed PAN or UPI ID may not exist. Use official portals for KYC.
Holidays are the DoPT gazetted list for Central Government offices in Delhi/New Delhi (2026 and 2027). State, bank and restricted holidays differ.
IFSC and pincode data come from third-party public services and can lag behind real changes.
Develop
git clone https://github.com/PriyuK/india-stack-mcp.git
cd india-stack-mcp
npm install
npm test # offline tests
npm run test:live # also hits the IFSC and pincode APIs
npm run build
npx @modelcontextprotocol/inspector node dist/index.js # try it in a browserRoadmap
Ideas welcome. Good first issues:
State-wise and bank holidays (RBI list)
Vehicle registration number parser (
KA01AB1234→ Karnataka, Bengaluru Central RTO)Aadhaar format + Verhoeff checksum (format only, no lookups)
Amount in words in the Indian system (₹1,25,000 → "One lakh twenty-five thousand")
HSN / SAC code lookup for GST
Indian phone number parser (operator circle)
Contributing
PRs are very welcome; see CONTRIBUTING.md. If this saved you time, a ⭐ helps others find it.
Credits
IFSC data: razorpay/ifsc
Pincode data: India Post via postalpincode.in
Holiday lists: Department of Personnel & Training, Government of India
License
Available Tools
6 toolsindia_holidaysIndian gazetted holidaysA
List holidays for a year, check whether a date is a holiday, or get the next upcoming ones. Gazetted holidays for Central Government offices in Delhi/New Delhi (DoPT). State and bank holidays differ. Years available: 2026, 2027.
Inputs: date, year, upcoming.
lookup_ifscLook up IFSC codeA
Get the bank, branch, address and supported payment modes (UPI/NEFT/RTGS/IMPS) for an Indian IFSC code.
Inputs: ifsc (required).
lookup_pincodeLook up pincodeA
Get the district, state and post offices for a 6-digit Indian pincode (India Post data).
Inputs: pincode (required).
validate_gstinValidate GSTINA
Check an Indian GST number offline: format, state code, embedded PAN and checksum. Does not confirm the registration is active.
Inputs: gstin (required).
validate_panValidate PANA
Check an Indian PAN's format offline and decode the holder type (individual, company, HUF, firm, trust...). Does not confirm the PAN exists.
Inputs: pan (required).
validate_upi_idValidate UPI IDA
Check a UPI ID's format offline and name the app or bank behind its handle. Does not confirm the ID exists.
Inputs: upi_id (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 6 tools
Each tool targets a clearly distinct Indian identifier or dataset: PAN, UPI ID, GSTIN, IFSC, pincode, and holidays. Although GSTIN embeds a PAN, the descriptions make the distinction explicit (format/checksum validation vs. PAN holder-type decoding), so an agent can reliably select the right tool.
Five of six tools follow a clean verb_noun snake_case pattern (validate_pan, validate_upi_id, validate_gstin, lookup_ifsc, lookup_pincode). Only india_holidays deviates with a noun-only name, a minor inconsistency that is still readable.
Six tools is well within the ideal range and each corresponds to a distinct, non-overlapping capability. Nothing feels padded or missing for a focused India Stack validation/lookup server.
The surface covers the core Indian identifiers (PAN, GSTIN, UPI, IFSC, pincode) plus holidays, with clear lifecycle coverage for validation and lookup. Minor gaps exist—no Aadhaar validation and no reverse lookups (e.g., bank/branch search by name)—but agents can work around these.
Maintenance
Related MCP Connectors
Free Indian data and AI: pincode, IFSC, GSTIN, holidays, GST invoice, OCR, calculators, translation.
Free India tools for AI agents: tax, GST, salary, savings, due dates, gold, currency, video links.
Build WhatsApp, Sheets and Gmail automations for Indian businesses; check GST credit.
15 deterministic validation tools for AI agents: tax IDs (15 countries), VAT, IBAN, LEI, HS codes.
Related MCP Servers
- AlicenseAqualityBmaintenanceProvides AI agents with Indian fintech utilities including IFSC bank lookups, PAN/GSTIN validation, mutual fund NAVs, UPI VPA identification, pincode lookups, and INR formatting, all with zero authentication and zero cost.7MIT
- AlicenseAqualityDmaintenanceEnables LLMs to query real-time Indian bank branch details, postal PIN codes, validate GSTIN/PAN structures, check e-commerce serviceability, and compute GST breakdowns using free public APIs and offline verification logic.615 npm1MIT
- AlicenseAqualityBmaintenanceEnables LLMs to look up, validate, and search Indian bank branch data by IFSC — returning real branch addresses, MICR codes, and settlement-rail support, plus mapping bank names to their 4-letter codes, so models query a tool instead of hallucinating payment details.6MIT
- AlicenseAqualityCmaintenanceEnables AI assistants to look up Indian bank IFSC details, PIN code locations, and current air quality by city or PIN code without API keys.4MIT