• CODE
  • LIST
  • DATA
  • HUMAN

How to classify business activities with your AI

Connect your AI to the IBGE Economia database to turn messy business descriptions into precise regulatory codes.

Ask AI about this page

Short answer

How do I find the right CNAE code for my business?

Your AI reads your business description and searches the IBGE database to find the matching CNAE subclass. You get the exact code required for official registration. The breakdown below shows what you get.

The results you get

Where your classification lands.

The AI processes your description and delivers these specific outputs.

CODE

Exact CNAE subclass

The AI identifies the specific numeric code that matches your activity. This is what you need for legal paperwork.

LIST

Class hierarchy

The AI pulls the broader class and group names. This helps you see where your business sits in the economic structure.

DATA

Official IBGE info

The data comes directly from IBGE. You get the same classification used by government agencies.

HUMAN

Manual verification

The AI provides the best match, but you must verify the code before filing official documents.

The workflow

What your AI does when a description arrives.

The AI uses the IBGE database to bridge the gap between human language and regulatory codes.

  1. Identify the category

    The AI looks up the high-level economic classes to narrow down the search area.

    list_classes_cnae
  2. Browse related groups

    It drills down into specific groups to find the right economic sector.

    list_subclasses_por_classe
  3. Pinpoint the subclass

    The AI finds the specific, granular code that fits your business description.

    get_subclasse_cnae
  4. Verify the match

    The AI compares your input against the official list to ensure the code is valid.

    list_subclasses_por_classe

Try it

Copy these to start.

Use these prompts to kick off the classification process.

Starting points

Replace the bracketed text with your actual business details.

IBGE Connector

You're all set. Choose your MCP client and follow the setup instructions.

Connector linkhttps://edge.vinkius.com/vk_preview_osdkqCkvGlycNC4F6BxyyfaGZKpA2XGxpToAjx24/mcp

Claude Desktop

Follow the steps below to connect in seconds.

  1. 1In Claude Desktop, open Settings → Connectors.
  2. 2Click “Add custom connector” and paste the connector link above as the remote MCP server URL.
  3. 3Click Add and start a new chat — IBGE capabilities are ready to use.
Configuration · claude_desktop_config.jsonCopy
{
  "mcpServers": {
    "ibge-economia-cnae-activities-mcp": {
      "url": "https://edge.vinkius.com/vk_preview_osdkqCkvGlycNC4F6BxyyfaGZKpA2XGxpToAjx24/mcp"
    }
  }
}
Copy into chat04
  • Find the CNAE subclass for a company that [describes its main activity].

  • List all the CNAE subclasses under the [name of a specific class] category.

  • I need to register a business that [detailed description]. Which CNAE code is the best fit?

  • Show me the hierarchy for the [specific class name] class in the IBGE database.

  • Claude
  • ChatGPT
  • Cursor
  • VS Code
  • Windsurf
  • Claude Code
  • JetBrains
  • Cline

Start here

Connect IBGE Economia, CNAE Activities once, then ask.

One click connects this MCP to your AI client. Your credentials stay encrypted and the tools are ready to use immediately.

Connect IBGE Economia, CNAE Activities to your AI

FAQ

How the classification behaves

  • 01

    Can the AI register my business with the government?

    No. The AI only finds the correct CNAE code. You must perform the actual registration yourself.

  • 02

    Does the AI choose the code for me?

    The AI suggests the most accurate code based on your description, but you are responsible for the final selection.

  • 03

    Can I change the official IBGE database?

    No. The AI only reads from the official IBGE data. It cannot modify or add new codes to the system.

  • 04

    What if the description is too vague?

    If the description is too broad, the AI might return multiple possible subclasses. You'll need to provide more detail to narrow it down.

  • 05

    Does this work with any AI client?

    Yes, it works with any MCP-compatible client like Claude, Cursor, or Windsurf.

  • More questions about IBGE Economia, CNAE Activities? The Connector page answers them. See everything the IBGE Economia, CNAE Activities Connector can do

Connect IBGE to Claude, Cursor, ChatGPT & more