cn_uscc_validate

Pack: china-disclosures · Connect: https://pipeworx.io/mcp (see Connect below for a single-pack URL)

No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/cn_uscc_validate for the schema, then POST the same URL with its arguments for the data.

Validates and decodes China’s 18-character Unified Social Credit Code offline (format and check digit only; does not confirm the company exists).

Tool description as the model sees it

Offline validator and decoder for China’s 18-character Unified Social Credit Code (统一社会信用代码, GB 32100-2015) — the single identifier every registered Chinese organization (company, social organization, government institution) carries. Checks the format (length, allowed 31-character set, and the GB 32100-2015 check-digit algorithm) and, when valid, decodes the registration authority (e.g. Market Regulation for an ordinary company), the entity type, and the province from the 6-digit administrative-division segment. No network call — this is a pure offline algorithm plus small public lookup tables (GB/T 2260 province codes), so it works for any syntactically plausible code, including ones that do not exist. Answers “is this a valid Chinese company code”, “decode this unified social credit code”, “check digit for 9111000012345678AU”, “which province does this USCC belong to”. IMPORTANT: this validates FORMAT ONLY — a format-valid code is not proof a real company holds it; confirming existence requires a live registry lookup this tool does not perform (see format_only_note in every response).

Parameters

NameTypeRequiredDescription
codestringyesThe 18-character Unified Social Credit Code to validate, e.g. “9111000012345678AU”. Case-insensitive; surrounding whitespace is trimmed.

Example call

Arguments

{
  "code": "9111000012345678AU"
}

curl

curl -X POST https://gateway.pipeworx.io/china-disclosures/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"cn_uscc_validate","arguments":{"code":"9111000012345678AU"}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('cn_uscc_validate', {
  "code": "9111000012345678AU"
});

More examples

{
  "code": "9111000012345678BU"
}

Connect

Add this to your MCP client config — every tool in the catalog, including this one — or use one-click install buttons:

{
  "mcpServers": {
    "pipeworx": {
      "url": "https://pipeworx.io/mcp"
    }
  }
}
Connect to just the china-disclosures pack
{
  "mcpServers": {
    "china-disclosures": {
      "url": "https://gateway.pipeworx.io/china-disclosures/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build October 18, 2026