- DATA
- LISTS
- REPORTS
- HUMAN
Short answer
How can I automate CNAE classification?
Your AI uses the get_cnae_classe tool to pull official IBGE data based on your descriptions. This turns raw text into structured economic codes. You'll see the specific outcomes below.
The results you get
Where your data lands
The AI converts messy text into standardized economic identifiers.
DATA
Standardized CNAE codes
The AI finds the exact code from IBGE. You get a clean identifier for every company you process.
LISTS
Categorized datasets
Your AI maps descriptions to specific sectors. This makes your lists easy to filter and segment.
REPORTS
Sector analysis
Once codes are assigned, your AI can group companies by industry. This shows you market concentration immediately.
HUMAN
Manual review
If a description is too vague, the AI flags it. You decide how to handle ambiguous cases that don't match a clear class.
The workflow
What your AI does when a description arrives.
The AI acts as the bridge between your text and the official IBGE database.
Parse activity
Your AI reads the company name or activity description to understand the core business function.
get_cnae_classeRetrieve code
The AI calls the official IBGE database to find the matching economic class.
get_cnae_classeVerify match
The AI compares the retrieved code against the original text to ensure the classification is accurate.
get_cnae_classeStructure output
The AI formats the code and sector name into a clean structure for your use.
get_cnae_classe
Try it
Copy these to start.
Use these prompts to begin classifying your data.
Starting points
Replace the bracketed text with your specific company names or activity descriptions.
IBGE Connector
You're all set. Choose your MCP client and follow the setup instructions.
https://edge.vinkius.com/vk_preview_WQwJLlPkuoT8pTgccZTmo5oWFYlOvSzFC0aW6aFO/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 — IBGE capabilities are ready to use.
{
"mcpServers": {
"ibge-servicos-de-dados-mcp": {
"url": "https://edge.vinkius.com/vk_preview_WQwJLlPkuoT8pTgccZTmo5oWFYlOvSzFC0aW6aFO/mcp"
}
}
}Classify this company using the IBGE tool: [Company Name]
Find the CNAE class for a business that does [Activity Description]
I have a list of companies in this sheet; find the CNAE class for each one.
Check if [Company Name] falls under the [Specific Sector] category using IBGE data.
Claude
ChatGPT
Cursor
VS Code
Windsurf
Claude Code
JetBrains
Cline
Start here
Connect IBGE Serviços de Dados once, then ask.
One connection is all it takes. Your login stays encrypted on our side, and you can immediately start working with your AI client.
Connect IBGE Serviços de Dados to your AIFAQ
How this task behaves
- 01
Can the AI change the official IBGE codes?
No. The AI only retrieves existing codes from the official database. It cannot create or modify the CNAE structure.
- 02
What happens if the business description is too short?
If the description doesn't provide enough context to find a match, the AI will tell you it can't find a specific class.
- 03
Does the AI handle multiple companies at once?
Yes, if you provide a list or a file, your AI can iterate through them one by one using the tool.
- 04
Can the AI update my database directly?
No. The AI provides the classification data to you. You are responsible for moving that data into your own systems.
- 05
Will the AI decide the sector if there are two options?
The AI will suggest the most likely match, but it is up to you to confirm the classification if the business activity is ambiguous.
More questions about IBGE Serviços de Dados? The Connector page answers them. See everything the IBGE Serviços de Dados Connector can do
Connect IBGE to Claude, Cursor, ChatGPT & more
