CNPJ Validator

CNPJ Validator MCP Connector for Claude

A+

Verify the mathematical validity and structure of Brazilian CNPJ numbers.

3 tools Official Updated Jun 28, 2026 Official Vinkius Partner

The CNPJ Validator MCP server provides a specialized engine for verifying Brazilian business identification numbers (CNPJ) through checksum algorithms and structural analysis. It allows AI agents to perform high-precision validation of CNPJ strings without external dependencies on federal databases. Using tools like validate_cnpj_format, analyze_cnpj_structure, and batch_validate_cnpjs, you can confirm if a number is mathematically valid, deconstruct it into its constituent parts (root, branch, and check digits), and even infer the Brazilian state of registration based on internal regional mapping rules. This server is ideal for automating compliance checks, data cleaning, and business identification workflows within your AI-driven processes.

cnpjbrazilvalidationbusinesschecksum

3 tools expose this connector's capabilities to your AI agent.

analyze_cnpj_structure

Deconstructs a CNPJ into its constituent parts

batch_validate_cnpjs

Performs high-volume validation on a list of identifiers

validate_cnpj_format

Validates a CNPJ string using checksum algorithm

See how to talk to your AI agent using CNPJ Validator.

Is the CNPJ 12.345.678/0001-95 valid?

Yes, the CNPJ 12.345.678/0001-95 is mathematically valid.

Analyze the structure of CNPJ 00.000.000/0001-91.

The CNPJ 00.000.000/0001-91 has a root identifier of 00000000, a branch identifier of 0001, and check digits 91. The inferred state is based on regional mapping rules.

Check if this list of CNPJs are valid: ['12345678000195', '00000000000191']

Total processed: 2. Valid count: 2. Invalid count: 0.

No. The `validate_cnpj_format` and other tools use a local checksum algorithm (weighted summation) to verify the mathematical validity of the CNPJ without making external API calls to federal databases.

Related Connectors