Skip to main content

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

Project description

mcp-india-stack

PyPI version License: MIT CI

MCP server exposing Indian financial and government APIs for AI agents. Zero auth. Offline-first.

Install

pip install mcp-india-stack

Run

mcp-india-stack

or

python -m mcp_india_stack

Tools

Lookup Tools

Validation Tools

Tax Calculators (FY2025-26)

Data Freshness

Datasets are bundled with the package for offline-first operation. An optional auto-update mechanism fetches the latest versions from jsDelivr CDN in the background.

  • Auto-update is non-blocking — stale data triggers a background refresh; the current request uses existing data.
  • Opt out — set MCP_INDIA_STACK_NO_AUTO_UPDATE=1 environment variable to disable all update checks.
  • Manual refresh — run mcp-india-stack --refresh-all to synchronously refresh all datasets from CDN.
  • Cache location — platform-specific via platformdirs (e.g., ~/.cache/mcp-india-stack on Linux).

Bundled Data Size

This package bundles static datasets for offline-first workflows.

  • IFSC dataset (Razorpay releases)
  • India pincode dataset (GeoNames IN postal dump, CC-BY)
  • HSN/SAC master (GST tutorial workbook transformed to CSV)
  • State codes and curated UPI handles

Expected install footprint includes approximately 10-11MB compressed static data.

Limitations

  • GSTIN validation checks format and checksum, not active GSTN status.
  • PAN validation is structural; PAN check character is not publicly algorithmic.
  • HSN/SAC rates are static references and may vary by conditions/notifications.
  • All tax calculations are estimates for FY2025-26. Actual liability may differ — consult a CA.
  • Aadhaar, Voter ID, DL, Passport, CIN, DIN validators are format-only — they do not verify active status with issuing authorities.

Legal and Attribution

See NOTICES for dataset attribution and licensing details.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mcp_india_stack-0.2.0.tar.gz (10.0 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mcp_india_stack-0.2.0-py3-none-any.whl (10.1 MB view details)

Uploaded Python 3

File details

Details for the file mcp_india_stack-0.2.0.tar.gz.

File metadata

  • Download URL: mcp_india_stack-0.2.0.tar.gz
  • Upload date:
  • Size: 10.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for mcp_india_stack-0.2.0.tar.gz
Algorithm Hash digest
SHA256 043cc7a3ef9fb64de478295fe88b126374df0a50700d5c993675e8effa2b7c62
MD5 aa42f2aebaa127500c54951c7dc6159d
BLAKE2b-256 6b1d11948bae1df835485fc4248dd92087895789a799e6a118f186531ff3d877

See more details on using hashes here.

Provenance

The following attestation bundles were made for mcp_india_stack-0.2.0.tar.gz:

Publisher: publish.yml on rehan1020/MCP-India-Stack

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file mcp_india_stack-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for mcp_india_stack-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0c7776da7023d51ca988d3cfd2ad8fcb996b3cc5b7c9eb189f907e4f63e52db8
MD5 ac3a97e475c9b0e3346bbb193c8e6c87
BLAKE2b-256 96607aab0d8fb1ae5776487dff2920c61e7bdc7f33ae4e509607cd3623b51411

See more details on using hashes here.

Provenance

The following attestation bundles were made for mcp_india_stack-0.2.0-py3-none-any.whl:

Publisher: publish.yml on rehan1020/MCP-India-Stack

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page