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

gst-india-mcp

v1.0.1

Published

Model Context Protocol (MCP) server for India GST via the Sandbox (Quicko) API: GSTIN verification, PAN search, return tracking, taxpayer OTP sessions, GSTR-2B/3B, and ledgers.

Readme

GST India MCP

npm version license CI

A Model Context Protocol (MCP) server for India GST, built on the Sandbox (Quicko) tax API. It lets any MCP client (VS Code, Claude, Codex, Cursor…) verify GSTINs, look up businesses by PAN, track return filings, and — with an OTP-based taxpayer session — read your GSTR-2B/3B and cash/ITC ledgers.

🧩 Also available as a VS Code extension for one-click install with secure credential storage.

Features

| Tool | Session? | Description | |---|---|---| | verify_gstin | Public | Verify a GSTIN → legal/trade name, status, type, address, e-invoice status. | | search_gstin_by_pan | Public | Find all GSTINs registered against a PAN. | | track_gst_returns | Public | Return filing history/status for a GSTIN (optional FY filter). | | taxpayer_generate_otp | — | Send an OTP to a taxpayer's registered mobile/email. | | taxpayer_verify_otp | — | Verify the OTP → start a ~6h taxpayer session. | | taxpayer_session_status | — | Whether a taxpayer session is active. | | get_gstr3b | Taxpayer | GSTR-3B (summary return) for a period. | | get_gstr2b | Taxpayer | GSTR-2B (auto-drafted ITC/purchases) for a period. | | track_returns_current | Taxpayer | Filed/pending returns for a period. | | get_annual_turnover | Taxpayer | Annual Aggregate Turnover (AATO). | | get_ledger_balance | Taxpayer | Cash + ITC balance as on a period. | | get_cash_ledger | Taxpayer | Electronic cash ledger for a date range. | | get_itc_ledger | Taxpayer | Electronic ITC ledger for a date range. |

Public tools need only your Sandbox API key/secret. Taxpayer tools additionally require an OTP session (see Authentication).

Requirements

  • Node.js >= 18
  • A Sandbox account with an API Key + API Secret (test or live).
  • For taxpayer tools: Manage API Access enabled on gst.gov.in for your GSTIN.

Install

npx gst-india-mcp

Or globally:

npm install -g gst-india-mcp
gst-india-mcp

Configuration

Set via .env (local dev) or the MCP host's env block:

| Variable | Description | |---|---| | GST_API_KEY | Sandbox API key (key_test_… / key_live_…) | | GST_API_SECRET | Sandbox API secret | | GST_BASE_URL | API base (default https://api.sandbox.co.in) | | GST_API_VERSION | API version (default 1.0) | | GST_USERNAME | GST portal username (for taxpayer tools) | | GST_GSTIN | Your GSTIN (for taxpayer tools) | | GST_TAXPAYER_TOKEN | Optional pre-obtained 6h taxpayer token (skips OTP) |

Never commit .env — it is git-ignored.

Use with VS Code

Ships a .vscode/mcp.json. Open the folder in VS Code and start the server from the MCP view, or install the VS Code extension.

Use with Claude, Codex, Cursor

Standard MCP server — configure npx -y gst-india-mcp in the host's config with the GST_* env vars. Example (Claude Desktop claude_desktop_config.json):

{
  "mcpServers": {
    "gst-india": {
      "command": "npx",
      "args": ["-y", "gst-india-mcp"],
      "env": { "GST_API_KEY": "...", "GST_API_SECRET": "...", "GST_USERNAME": "...", "GST_GSTIN": "..." }
    }
  }
}

Documentation

Security

  • Credentials come from environment variables only; nothing is logged to stdout (reserved for MCP).
  • The taxpayer session token is held in memory for the server's lifetime and is never written to disk by the server.
  • This project uses the Sandbox sandbox/test environment by default — switch to live keys only when ready.

License

MIT © Bhavy Khatri