# IBGE Economia — CNAE Activities MCP for AI Agents AI Agent Connect

> IBGE Economia — CNAE Activities MCP gives your AI agent direct access to Brazil's official economic activity codes. It covers all 1,332 subclasses used for CNPJ registrations, tax compliance, and business licensing. Use it to map specific industries across 21 economic sections, 87 divisions, and 285 groups to ensure your Brazilian business data is always accurate and compliant.

## Overview
- **Category:** data-analytics
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_osdkqCkvGlycNC4F6BxyyfaGZKpA2XGxpToAjx24/ai-agent-connect
- **Tags:** economic-data, cnae-codes, market-analysis, regulatory-compliance, tax-classification, brazil-economy

## Description

This Connector connects your AI agent to the official Brazilian economic taxonomy managed by IBGE. If you're working on a fintech app in Brazil, a compliance project, or a market research report, you need the exact codes to get things right. Instead of hunting through government PDFs or navigating messy websites, your agent can now drill down from broad economic sectors like Manufacturing or IT into the specific subclasses required for legal business registration. It handles the heavy lifting of navigating the 1,332 unique codes used for CNPJ filings. You'll find this incredibly useful when building automated registration workflows or auditing a company's regulatory standing. It's one of the many specialized tools available in the Vinkius catalog that turns static government data into actionable intelligence for your agent. By using this, you can automate the way your agent handles business classification, moving from manual data entry to a system that pulls live, accurate data. Whether you are verifying a client's tax status or building a new product for the Brazilian market, this connection ensures your AI agent understands the nuances of the local economy.

## Tools

### list_secoes_cnae
Lists all 21 high-level economic sections like Agriculture and Manufacturing. Use this to start your search at the top level.

### list_divisoes_cnae
Shows the specific divisions within a chosen economic section. This helps narrow down the industry type.

### list_classes_cnae
Retrieves the business classes found within a specific division. Use this to get closer to the specific business type.

### list_subclasses_por_classe
Returns all subclasses belonging to a specific CNAE class. This is useful for seeing all options in a category.

### get_subclasse_cnae
Pulls the full details for a specific CNAE subclass code. This provides the exact data needed for registration.

## Prompt Examples

**Prompt:** 
```
What's the code for a company that makes organic juice?
```

**Response:** 
```
🍎 **CNAE Classification: Organic Juice Production**

- **Code:** 1132-1/01
- **Description:** Manufacture of fruit juices and nectars

**Hierarchy:**
- Section A: Agriculture
- Division 11: Beverages
- Group 113: Fruit Juices
- Class 1132: Fruit Juices and Nectars
- Subclass /01: Organic Production
```

**Prompt:** 
```
Can you list the main sectors in Brazil's economy?
```

**Response:** 
```
🇧🇷 **Major Economic Sections (CNAE)**

Here are the top-level sectors:
- **A**: Agriculture
- **B**: Mining and Quarrying
- **C**: Manufacturing
- **D**: Electricity and Gas
- **E**: Water and Waste
- **F**: Construction
- **G**: Commerce
- **H**: Transport and Logistics
- **I**: Information and Communication
- **J**: Manufacturing (IT/Software)
- **K**: Accommodation and Food Services
- **L**: Education and Health
- **M**: Arts and Entertainment
- **N**: Public Administration
- **O**: Agriculture
- **P**: Other Services
- **Q**: Real Estate
- **R**: Other Services
- **S**: Other Services
- **T**: Other Services
- **U**: Other Services
```

**Prompt:** 
```
I need the exact code for a hypermarket.
```

**Response:** 
```
🛒 **CNAE 4711-3/01**

**Description:** Retail trade of general merchandise, with predominance of food products — hypermarkets

**Hierarchy:**
- Section G: Commerce
- Division 47: Retail trade
- Group 471: Non-specialized retail
- Class 4711-3: Food retail
- Subclass /01: Hypermarkets
```

## Capabilities

### List major economic sections
Your agent can retrieve all 21 high-level economic sectors like Agriculture and Manufacturing.

### Drill into industry divisions
Find specific industrial divisions within a broader economic section.

### Identify business classes
Get a list of specific business classes belonging to a chosen division.

### Retrieve subclass details
Get the full official description and details for a specific CNAE subclass code.

### List all subclasses for a class
See every specific subclass available under a particular CNAE class.

## Use Cases

### Building a startup registration portal
A developer asks the agent to find the code for custom software development. The agent uses list_classes_cnae to find the right group and get_subclasse_cnae to provide the exact code for the user.

### Auditing a retail portfolio
A compliance officer asks about hypermarkets. The agent uses list_secoes_cnae and list_divisoes_cnae to find the commerce section and then pulls the specific subclass details.

### Market research for a new beverage brand
An analyst needs to see all beverage manufacturing divisions. The agent uses list_divisoes_cnae to identify the relevant industrial codes for a competitive analysis.

### Automating tax filing data
An accountant wants to list all subclasses for a specific IT class. The agent uses list_subclasses_por_classe to generate a complete list for a client's multi-activity business.

## Benefits

- Eliminate manual searching through IBGE websites by using list_secoes_cnae to quickly identify major economic sectors.
- Ensure 100% accuracy in business registration by pulling exact codes with get_subclasse_cnae.
- Map out entire industry hierarchies instantly using list_divisoes_cnae and list_classes_cnae for market research.
- Automate data validation for Brazilian fintech apps by checking subclasses with list_subclasses_por_classe.
- Reduce compliance errors in company audits by verifying official activity descriptions directly through the Connector.

## How It Works

The bottom line is your agent gets the precise legal codes needed for Brazilian business compliance without you having to manual search.

1. Connect the IBGE Economia — CNAE Activities MCP to your AI client via Vinkius.
2. Ask your agent to find a specific activity, like software development or hypermarkets.
3. Receive the exact codes, the hierarchy of the classification, and the official description.

## Frequently Asked Questions

**What is the IBGE Economia — CNAE Activities MCP?**
It is a tool that lets your AI agent access the official Brazilian economic activity classification. It helps you find the correct codes for any business type in Brazil.

**Can I use this for CNPJ registrations?**
Yes, it provides the exact CNAE subclass codes required for official Brazilian business registration and tax compliance.

**Does it cover all Brazilian industries?**
Yes, it covers all 21 economic sections, including everything from agriculture and manufacturing to IT and services.

**How does it help with market research?**
It allows your agent to quickly map out industry hierarchies and identify specific business groups for more accurate market segmentation.

**Can my agent find codes for specific software types?**
Yes, your agent can drill down from the broad IT section into specific divisions and classes to find the exact code for software development or consulting.

**Is this for general Brazilian economic data?**
No, this Connector is specifically for business classification. For GDP, inflation, or other economic stats, you would need a different data tool.

**Why do I need CNAE codes?**
**CNAE is mandatory** for every business operating in Brazil. It determines your tax regime (Simples Nacional, Lucro Presumido), eligible activities for MEI registration, CNPJ registration, municipal licensing, and regulatory compliance.