by rehan1020
MCP server for Indian APIs — GSTIN, IFSC, PAN, UPI, pincode, HSN/SAC. Zero auth. Offline-first. For AI agents.
# Add to your Claude Code skills
git clone https://github.com/rehan1020/MCP-India-StackGuides for using ai agents skills like MCP-India-Stack.
MCP-India-Stack is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by rehan1020. MCP server for Indian APIs — GSTIN, IFSC, PAN, UPI, pincode, HSN/SAC. Zero auth. Offline-first. For AI agents. It has 103 GitHub stars.
MCP-India-Stack's catalog security scan is still queued. You can run an instant dependency and prompt-injection check now with the "Scan for vulnerabilities" button above.
Clone the repository with "git clone https://github.com/rehan1020/MCP-India-Stack" and add it to your Claude Code skills directory (see the Installation section above).
MCP-India-Stack is primarily written in Python. It is open-source under rehan1020 on GitHub, so you can review or fork the full source.
Yes. AgentsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh MCP-India-Stack against similar tools.
No comments yet. Be the first to share your thoughts!
Unlocks once the catalog security scan passes (runs nightly).
The deep catalog scan for this skill is still queued. Run an instant dependency check now instead.
A high-performance, offline-first Model Context Protocol (MCP) server equipping AI agents with Indian financial, tax, and government APIs. Zero authentication required.
| Layer | Technology |
|---|---|
| Protocol | MCP (FastMCP) |
| Runtime | Python |
| Distribution | PyPI / Smithery |
| Hosting | Render |
| Datasets | Offline-bundled (jsDelivr CDN sync) |
+-----------------------------------------------------------+
| MCP Clients |
| (Claude Desktop, Cursor, Custom Agent Frameworks) |
+-----------------------------+-----------------------------+
|
STDIO / SSE Protocol
|
+-----------------------------v-----------------------------+
| MCP India Stack |
| (FastMCP Server) |
+-----------------------------+-----------------------------+
|
+-----------------------+-----------------------+
| | |
+-----v-------------+ +------v------------+ +-------v-----+
| Pure Offline (71) | | Offline + CDN | | Market |
| Format Validators | | Refresh (5) | | Data (2) |
| Tax Calculators | | IFSC, HSN, Pin | | yfinance |
| Legal Reference | | Bundled Datasets | | Delayed |
+-------------------+ +-------------------+ +-------------+
MCP Client ↔ FastMCP Server ↔ 78 modular tool endpoints
Every verifying tool states how strongly an identifier is attested through standard levels (A0 to A4) instead of a simplistic binary flag:
A0 (Format & Checksum): Structural syntax and checksum algorithms pass offline (e.g. Luhn mod-36 for GSTIN, Verhoeff for Aadhaar).A1 (Cross-Field Consistency): Cross-field rules pass offline (e.g. embedded PAN in GSTIN, ROC jurisdiction in CIN, RTO code in DL).A2 (Authoritative Dataset Match): Record matched in a bundled authoritative dataset (e.g. RBI IFSC directory, India Post pincode list, NSDL ISIN list).A3 (Cryptographic Artifact Verification): Digital signature on a supplied artifact verified offline (e.g. NIC e-invoice QR code, UIDAI offline XML).A4 (Live Registry Attestation): Confirmed via an opt-in live registry provider.Every response includes an additive authenticity object with verified checks, authority source, evaluation date, and explicit limitations (e.g. "active registration status not verified"). See docs/authenticity.md and docs/writing_a_provider.md for complete details.
pip install mcp-india-stack
Add the following to your claude_desktop_config.json file to enable the India Stack in Claude Desktop:
Windows (%APPDATA%\Claude\claude_desktop_config.json):
{
"mcpServers": {
"mcp-india-stack": {
"command": "python",
"args": ["-m", "mcp_india_stack"]
}
}
}
macOS/Linux (~/Library/Application Support/Claude/claude_desktop_config.json or ~/.config/Claude/claude_desktop_config.json):
{
"mcpServers": {
"mcp-india-stack": {
"command": "python3",
"args": ["-m", "mcp_india_stack"]
}
}
}
lookup_ifsc — Bank branch details from IFSC codelookup_pincode — India pincode details and post officeslookup_hsn_code — HSN/SAC code lookup by code or keyworddecode_state_code — GST state code metadatalookup_bbps_biller — BBPS biller directory lookuplookup_bank — Basic bank master lookup by name or codevalidate_gstin — GSTIN structure and checksumvalidate_pan — PAN format and entity type decodevalidate_upi_vpa — UPI VPA structure and provider decodevalidate_aadhaar — Aadhaar number with Verhoeff checksum (masked output)validate_voter_id — Voter ID (EPIC) format with legacy detectionvalidate_driving_license — DL format with state/RTO/year decodevalidate_passport — Indian passport number formatvalidate_cin — Company Identification Number with full field decodevalidate_din — Director Identification Number formatvalidate_fssai — FSSAI license number validation and decodevalidate_epf_code — EPF establishment code validatorvalidate_esic_code — ESIC employer code validatorvalidate_tan — TAN validatorvalidate_pran — PRAN validator for NPSvalidate_llpin — LLPIN validatordecode_isin — ISIN decoder with Luhn validationdecode_digilocker_uri — DigiLocker URI decoder and validator mapperdecode_pan_type — Decode PAN entity type from the 4th characterverify_einvoice_qr — Cryptographically verify NIC B2B e-invoice signed QR codes (A3 Authenticity)verify_aadhaar_offline_artifact — Cryptographically verify UIDAI Paperless Offline e-KYC XML/ZIP (A3 Authenticity)validate_mobile_number — Mobile number with operator/circle detectionbulk_validate_gstin — Parallel GSTIN batch validationbulk_validate_pan — Parallel PAN batch validationbulk_validate_ifsc — Parallel IFSC batch validationbulk_validate_aadhaar — Parallel Aadhaar batch validationcalculate_income_tax — Old vs new regime comparison with surcharge, rebate, cesscalculate_tds — TDS rate lookup and computation for 15+