- VALIDATED
- AUDITED
- FLAGGED
- HUMAN
Short answer
How can I use my AI to check Brazilian company info?
You provide a CNPJ to your AI, and it uses BrasilAPI to pull official registration, tax status, and corporate details. This lets you run automated KYC checks and audits without manual lookups. You'll see exactly how the data flows below.
Where every outcome lands.
The results of your audit
Your AI processes the raw data into these specific categories.
VALIDATED
Verified registration
The AI uses get_cnpj_details to confirm the company is active and legally registered. You get a clean record of the official status.
AUDITED
Tax and legal status
The agent extracts tax identifiers and legal standing from the official records. This populates your audit logs automatically.
FLAGGED
Risk detection
If the CNPJ data shows inconsistencies or inactive status, your AI highlights these for your review. It identifies potential red flags in the registration.
HUMAN
Final decision
The AI cannot approve a company or sign off on a contract. You review the extracted data to make the final call on risk.
The workflow
What your AI does when a CNPJ is provided.
The AI handles the data retrieval so you don't have to visit government portals.
Data retrieval
Your AI takes the CNPJ you provide and fetches the full official profile from the Brazilian registry.
get_cnpj_detailsInformation extraction
The agent parses the response to find specific details like legal name, address, and tax status.
get_cnpj_detailsAudit preparation
The AI organizes the registration data into a structured format for your reports.
get_cnpj_detailsDiscrepancy check
The agent compares the retrieved data against your existing records to find mismatches.
get_cnpj_details
Try it
Copy these to start.
Use these prompts to kick off your verification tasks.
Starting points
Replace the bracketed CNPJ with the actual number you want to check.
BrasilAPI Connector
You're all set. Choose your MCP client and follow the setup instructions.
https://edge.vinkius.com/vk_preview_yViCwTmTtGFH8sKMRDyWhBu0UK7XjUl3SLPbouGZ/mcpClaude Desktop
Follow the steps below to connect in seconds.
- 1In Claude Desktop, open Settings → Connectors.
- 2Click “Add custom connector” and paste the connector link above as the remote MCP server URL.
- 3Click Add and start a new chat — BrasilAPI capabilities are ready to use.
{
"mcpServers": {
"brasilapi-mcp": {
"url": "https://edge.vinkius.com/vk_preview_yViCwTmTtGFH8sKMRDyWhBu0UK7XjUl3SLPbouGZ/mcp"
}
}
}Get the registration details for CNPJ [00.000.000/0000-00] and tell me if they are active.
Check the tax status for CNPJ [00.000.000/0000-00] and summarize their legal name and address.
I have a list of CNPJs in this spreadsheet. Use BrasilAPI to verify each one and flag any inactive companies.
Run a quick audit on CNPJ [00.000.000/0000-00] and tell me who the official owners are.
Claude
ChatGPT
Cursor
VS Code
Windsurf
Claude Code
JetBrains
Cline
Start here
Connect BrasilAPI once, then ask.
One connection gives your AI access to the registry. Your credentials stay encrypted, and you can start querying immediately.
Connect BrasilAPI to your AIFAQ
How the verification works
- 01
Can the AI update company information in the registry?
No. The AI can only read official data via the tools. It cannot change or write to the Brazilian government databases.
- 02
Does the AI decide if a company is safe to work with?
No. The AI provides the data and flags inconsistencies, but the final risk assessment is always your responsibility.
- 03
What happens if the CNPJ is invalid?
The tool will return an error or no data, and your AI will inform you that the registration could not be found.
- 04
Can I use this to check multiple companies at once?
Yes. If you provide a list of CNPJs in your chat, your AI can iterate through them one by one using the tool.
- 05
Is the data real-time?
Yes. The AI pulls the data directly from the official sources through the API at the moment you ask.
More questions about BrasilAPI? The Connector page answers them. See everything the BrasilAPI Connector can do
Connect BrasilAPI to Claude, Cursor, ChatGPT & more
