Skip to main content
Glama

@pipeworx/india-gstin

Checks the form and check character of an Indian GSTIN, locally. It does not tell you whether a GSTIN is registered.

Part of Pipeworx — an MCP gateway connecting AI agents to 2082+ live data sources. This is an independent, unofficial integration — not affiliated with, endorsed by, or published by the upstream provider.

Tools

  • gstin_check(gstin) -- verifies the 15-character structure (state code, embedded PAN, entity number, fixed letter Z) and recomputes the mod-36 check character. Returns the state and the PAN the number encodes. A malformed or wrong-checksum number is refused with a user_error that says what was wrong. Every answer carries registration_checked: false and a plain statement that registration was not checked.

Related MCP server: china-usci-mcp

Auth

Keyless. Makes no outbound call.

Data sources

  • GST Network, GSTIN structure rules -- calculated locally from the number itself.

The live GST register lookup is behind a captcha or paid providers, so registration status, trade name and filing status are deliberately not served. A number that passes here can still be unregistered or cancelled.

Quick Start

Add to your MCP client (Claude Desktop, Cursor, Windsurf, etc.):

{
  "mcpServers": {
    "india-gstin": {
      "url": "https://gateway.pipeworx.io/india-gstin/mcp"
    }
  }
}

What this endpoint actually serves

tools/list at https://gateway.pipeworx.io/india-gstin/mcp returns the tools in the table above plus five Pipeworx tools: ask_pipeworx, discover_tools, ask_pipeworx_grounded, company_register_search and company_facts. ask_pipeworx answers a question this pack does not cover by routing across the whole catalog, without adding a second MCP server.

Add an option to the same URL:

  • https://gateway.pipeworx.io/india-gstin/mcp?meta=1 lists this pack's tools plus up to 48 shared Pipeworx tools (48 when this README was generated; a connection without an account lists fewer, and its own tools/list is the exact answer on any given day).

  • https://gateway.pipeworx.io/india-gstin/mcp?meta=0 lists this pack's tools alone.

Or connect to the full Pipeworx gateway to get every pack's tools listed directly, instead of just this one's:

{
  "mcpServers": {
    "pipeworx": {
      "url": "https://gateway.pipeworx.io/mcp"
    }
  }
}

Both URLs reach the same gateway and the same 2082+ data sources. The only difference is which pack's tools are listed directly; ask_pipeworx reaches all of them from either one (it is not listed on a ?meta=0 connection).

No MCP client? Call it over HTTP

curl -X POST https://gateway.pipeworx.io/v1/tools/gstin_check \
  -H 'Content-Type: application/json' \
  -d '{"gstin":"27AAACR5055K1Z7"}'

No account needed for the first calls. Inspect any tool: GET https://gateway.pipeworx.io/v1/tools/gstin_check. Find one: POST https://gateway.pipeworx.io/v1/tools/search_packs with {"query":"..."}.

Run it from npm

@pipeworx/mcp-india-gstin is a local stdio bridge to the Pipeworx gateway: your MCP client starts it with npx, and it forwards every call to the same https://gateway.pipeworx.io/india-gstin/mcp endpoint shown above. It needs network access; there is no offline mode.

{
  "mcpServers": {
    "india-gstin": {
      "command": "npx",
      "args": ["-y", "@pipeworx/mcp-india-gstin"]
    }
  }
}

Without a key it calls anonymously, capped at 50 calls a day. A free account raises that to 200 a day: get a key at https://pipeworx.io/signup and add "env": { "PIPEWORX_API_KEY": "<your key>" } to the server entry. The key is sent as a Bearer token, the same way a hosted connection sends it, so calls are metered and billed exactly as they are there.

It lists only this pack's tools by default. Set PIPEWORX_META_TOOLS=1 to also list ask_pipeworx and the other gateway-wide tools.

Behind an HTTPS proxy: Node's built-in fetch does not read HTTPS_PROXY by default. Newer Node releases honour it when NODE_USE_ENV_PROXY=1 is set; check your Node version's documentation.

Using with ask_pipeworx

Instead of calling tools directly, you can ask questions in plain English — this works on the pack endpoint above as well as on the full gateway:

ask_pipeworx({ question: "your question about India Gstin data" })

The gateway picks the right tool and fills the arguments automatically.

More

License

MIT

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      Validates Indian GSTIN numbers with structural checks, embedded PAN extraction, state-code lookup, and mod-36 check character validation, all via local compute.
      MIT
    • A
      license
      A
      quality
      C
      maintenance
      Validates the format and check character of 18-character Unified Social Credit Identifier codes offline, while clearly stating what a passing code does not establish about the company.
      2
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Enables AI agents to validate Indian identifiers (GSTIN, PAN, Aadhaar format, IFSC) and look up pincodes, state/GST codes, Central Government holidays, and compliance due dates entirely offline. Every result is deterministic and carries its data source and freshness, while making clear that a well-formed number is not proof of registration.
      8
      25 npm
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables MCP clients to validate Indian GST Identification Numbers entirely offline via format and checksum checks, and to resolve them in bulk against live registration data including legal name, status, jurisdiction, and registered addresses. Requires an API key only for the live lookup tools, so structural validation always works.
      MIT