Back to Directory/Developer Tools

io.github.CsoftTarun/gstinapi-mcp

GSTIN verification, GST filing history and HSN/SAC lookup for India.

Developer ToolsJavaScriptv1.0.2

gstinapi-mcp

An MCP server for gstinapi.in — GSTIN verification, GST return/compliance history and HSN/SAC code lookup, callable directly from Claude and other MCP clients.

This is a thin wrapper around the REST API at gstinapi.in/docs. It holds no logic of its own — every tool call is one authenticated HTTP request, and the response is returned as-is.

Setup

  1. Get a free API key — up to 100 free lookups (25 on signup, 25 for each of three setup steps), no card required: https://www.gstinapi.in/register
  2. Add this server to your MCP client config, e.g. for Claude Desktop / Claude Code (claude_desktop_config.json or .mcp.json):
{
  "mcpServers": {
    "gstinapi": {
      "command": "npx",
      "args": ["-y", "gstinapi-mcp"],
      "env": {
        "GSTINAPI_API_KEY": "your-api-key-here"
      }
    }
  }
}

No install step — npx fetches it on first use.

Tools

ToolWhat it does
verify_gstinLive registration lookup: legal name, status, taxpayer type, address
get_gstin_returnsGSTR-1/3B filing history for a financial year
get_gstin_complianceFiling history summarised — counts, lag, last period
get_gstin_filing_preferenceMonthly vs quarterly (QRMP), quarter by quarter
lookup_hsn_codeOfficial description for an HSN/SAC code
search_hsn_codesFind HSN/SAC codes from a description
get_usage_statsToday's call count for the key (free)

Full field-level reference: https://www.gstinapi.in/docs

Accuracy notes

  • Every GSTIN lookup queries the GST network live — nothing is cached.
  • No GST rate is returned from the HSN endpoints — a rate depends on more than the code alone, and the government's own master publishes no rate column.

Billing

Pay-per-use credits on your gstinapi.in account, no separate charge for this MCP server. Pricing: https://www.gstinapi.in/pricing

License

MIT

Installation

Source-derived launch command. Check the maintainer’s required arguments and credentials before running:

bash
npx -y gstinapi-mcp

Set up in your AI client

Merge this template into ~/Library/Application Support/Claude/claude_desktop_config.json. Keep existing servers. Add any arguments, credentials, and permissions required by the maintainer; this template has not been install-tested.

json
{
  "mcpServers": {
    "io-github-csofttarun-gstinapi-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "gstinapi-mcp"
      ]
    }
  }
}

Restart Claude Desktop completely for changes to take effect. Confirm the server appears connected in the client’s tool list, then try a read-only example from its documentation.

Claude Desktop setup reference

Package

gstinapi-mcpnpm

Compatible MCP Clients

io.github.CsoftTarun/gstinapi-mcp works with any MCP-compatible client. Copy the config snippet from the Configuration section above and add it to the file shown for your client, then restart the application.

  • Claude Desktop~/Library/Application Support/Claude/claude_desktop_config.jsonRestart Claude Desktop completely for changes to take effect.
  • Cursor~/.cursor/mcp.jsonRestart Cursor for changes to take effect.
  • VS Code.vscode/mcp.jsonReload VS Code window for changes to take effect.
  • Windsurf~/.codeium/windsurf/mcp_config.jsonRestart Windsurf for changes to take effect.
  • Claude Code.mcp.jsonSave at the project root, then start Claude Code in that project and review the MCP server approval prompt. Keep real credentials out of shared files.

Learn More