validate_cnpj
Pack: latam-validate · Endpoint: https://gateway.pipeworx.io/latam-validate/mcp
Validate a Brazilian CNPJ (Cadastro Nacional da Pessoa Jurídica, the 14-character company tax ID) and look up the company registration: legal name (razão social), trade name, CNAE activity, address, registration status (situação cadastral), and partners (QSA). Checksum supports both the classic numeric format and the alphanumeric CNPJ introduced in 2026. Punctuation (12.345.678/0001-95) is accepted. Set skip_lookup to validate the checksum only.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
cnpj | string | yes | The CNPJ, e.g. “33.000.167/0001-01” or “33000167000101”. |
skip_lookup | boolean | no | If true, only run the checksum and skip the BrasilAPI company-registration lookup. Default false. |
Example call
curl -X POST https://gateway.pipeworx.io/latam-validate/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"validate_cnpj","arguments":{}}}'
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"latam-validate": {
"url": "https://gateway.pipeworx.io/latam-validate/mcp"
}
}
}
See Getting Started for client-specific install steps.