[Integrations](https://spiral.ai/integrations) › [Amp](https://spiral.ai/integrations/amp) › [IBGE CNAE industry classification](https://spiral.ai/integrations/amp/ibge-cnae-industry-classification)

# How to Use IBGE CNAE industry classification in Amp

Returns Brazilian economic activity classifications and their hierarchy. Use it to explain an industry code or organize sector comparisons consistently.

|  |  |
| --- | --- |
| Model | IBGE CNAE industry classification |
| Available through | Alexandria |
| Category | Finance |
| Price | $0.00873 per call. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with IBGE CNAE industry classification in Amp

- Use IBGE CNAE industry classification to retrieve section C and its divisions. Use IBGE locality details to retrieve São Paulo's geographic record, then add both results to my project's reference data.
- Use IBGE CNAE industry classification to look this up and give me the result as a table. Save the result in ./assets.
- Pull the latest numbers from IBGE CNAE industry classification and tell me what changed since last week.
- Check IBGE CNAE industry classification and summarize what you find in three bullet points.
- Pull the newest data from IBGE CNAE industry classification and give me the result as a table.

## How to set up IBGE CNAE industry classification in Amp

Pick the way that suits you. Each takes about two minutes.

### Use Spiral's MCP server

1. **Add the server**: No header and no client ID or secret: Amp registers itself with Spiral.

```bash
amp mcp add spiral https://api.spiral.ai/mcp
```

2. **Sign in**: Start `amp`. Amp opens Spiral's sign-in page in your browser: sign in, pick the organization and click Authorize. No API key.

3. **Check it**

```bash
amp mcp doctor
```

### Use the Spiral skill

1. **Send Amp this message**: Your agent reads Spiral's skill and sets itself up.

```
set up https://spiral.ai/SKILL.md
```

2. **Sign in or paste a key**: Approve Spiral in the browser, or give the agent a key from the console.

### Use the Spiral CLI

1. **Install and sign in**: Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

```bash
npx -y spiral-cli@latest init
```

### Call the Spiral API

1. **Create an API key**: In the console, under API keys.

2. **Run IBGE CNAE industry classification**: One request; the result comes back by polling or a webhook.

```bash
curl https://api.spiral.ai/v1/runs \
  -H "Authorization: Bearer $SPIRAL_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
    "provider": "alexandria",
    "model": "servicodados-ibge-gov-br/official-statistics/cnae",
    "input": {
      "nivel": "secoes"
    }
  }'
```

Then paste one of the prompts above: Amp finds IBGE CNAE industry classification on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/amp

## IBGE CNAE industry classification tools and prices

- [IBGE service data API · Cnae](https://spiral.ai/tools/alexandria/servicodados-ibge-gov-br/official-statistics/cnae) (Alexandria): $0.00873 per call.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| id |  | — | Code at that level (A, 01, 011, 01113, 0111301). Omit to list. Pattern: ^[A-Za-z0-9]{1,7}$. |
| parent_id |  | — | Pattern: ^[A-Za-z0-9]{1,7}$. |
| parent_nivel | secoes, divisoes, grupos, classes | — | List only the children of this parent level. |

## What can you do with IBGE CNAE industry classification in Amp?

Build a Brazil reference dashboard with statistical comparisons, geographic maps, industry definitions, and historical name charts. A coding agent can turn IBGE results into project data files and expose table coverage beside the charts.

### Regional economic atlas

Find regional economic tables, inspect their coverage, and map published observations. Add CNAE definitions beside sector comparisons and publication dates beside the indicators.

### Sector research briefing

Prepare a briefing on Brazilian manufacturing or services using suitable statistical tables, their definitions, and CNAE labels. Identify the places being compared, map their boundaries, and show upcoming publications.

### Public statistics reference portal

Build a portal with separate sections for economic indicators, industry definitions, geographic references, publication schedules, and historical name statistics. Let readers inspect the table definitions behind each statistical comparison.

### Newsroom data research desk

Support economic reporting with table discovery, definitions, observations, sector labels, geographic references, and release dates. Use historical name frequencies and rankings for separate census features.

### Industry classification glossary

Turn selected CNAE codes into a readable glossary showing their labels and positions within the five-level hierarchy. Use it beside sector tables so readers can understand the economic activities being compared.

## Overview

- [Alexandria](https://spiral.ai/providers/alexandria)
- [All Amp guides](https://spiral.ai/integrations/amp)

## IBGE CNAE industry classification in other agents

- [ChatGPT](https://spiral.ai/integrations/chatgpt/ibge-cnae-industry-classification)
- [Claude](https://spiral.ai/integrations/claude-desktop/ibge-cnae-industry-classification)
- [Claude Code](https://spiral.ai/integrations/claude-code/ibge-cnae-industry-classification)
- [Cline](https://spiral.ai/integrations/cline/ibge-cnae-industry-classification)
- [Codex](https://spiral.ai/integrations/codex/ibge-cnae-industry-classification)
- [Cursor](https://spiral.ai/integrations/cursor/ibge-cnae-industry-classification)
- [Devin](https://spiral.ai/integrations/devin/ibge-cnae-industry-classification)
- [dots](https://spiral.ai/integrations/dots/ibge-cnae-industry-classification)
- [Factory Droid](https://spiral.ai/integrations/factory-droid/ibge-cnae-industry-classification)
- [Gemini](https://spiral.ai/integrations/gemini/ibge-cnae-industry-classification)
- [Gemini CLI](https://spiral.ai/integrations/gemini-cli/ibge-cnae-industry-classification)
- [Google Antigravity](https://spiral.ai/integrations/antigravity/ibge-cnae-industry-classification)
- [goose](https://spiral.ai/integrations/goose/ibge-cnae-industry-classification)
- [Grok](https://spiral.ai/integrations/grok/ibge-cnae-industry-classification)
- [Grok Build](https://spiral.ai/integrations/grok-build/ibge-cnae-industry-classification)
- [Hermes](https://spiral.ai/integrations/hermes/ibge-cnae-industry-classification)
- [Instinct](https://spiral.ai/integrations/instinct/ibge-cnae-industry-classification)
- [Manus](https://spiral.ai/integrations/manus/ibge-cnae-industry-classification)
- [Muse](https://spiral.ai/integrations/muse/ibge-cnae-industry-classification)
- [Muse Code](https://spiral.ai/integrations/muse-code/ibge-cnae-industry-classification)
- [n8n](https://spiral.ai/integrations/n8n/ibge-cnae-industry-classification)
- [Notion](https://spiral.ai/integrations/notion/ibge-cnae-industry-classification)
- [OpenClaw](https://spiral.ai/integrations/openclaw/ibge-cnae-industry-classification)
- [opencode](https://spiral.ai/integrations/opencode/ibge-cnae-industry-classification)
- [Perplexity](https://spiral.ai/integrations/perplexity/ibge-cnae-industry-classification)
- [Raycast](https://spiral.ai/integrations/raycast/ibge-cnae-industry-classification)
- [VS Code](https://spiral.ai/integrations/vscode/ibge-cnae-industry-classification)
- [Windsurf](https://spiral.ai/integrations/windsurf/ibge-cnae-industry-classification)
- [Zapier](https://spiral.ai/integrations/zapier/ibge-cnae-industry-classification)

## More Amp guides

- [Hyperliquid vault details](https://spiral.ai/integrations/amp/hyperliquid-vault-details)
- [IBGE country statistics](https://spiral.ai/integrations/amp/ibge-country-statistics)
- [Hyperliquid recent trades](https://spiral.ai/integrations/amp/hyperliquid-recent-trades)
- [IBGE geographic boundaries](https://spiral.ai/integrations/amp/ibge-geographic-boundaries)
- [Hyperliquid price candles](https://spiral.ai/integrations/amp/hyperliquid-price-candles)
- [IBGE locality details](https://spiral.ai/integrations/amp/ibge-locality-details)

## Questions about IBGE CNAE industry classification in Amp

**Can Amp use IBGE CNAE industry classification?**

Yes. Add Spiral to Amp as an MCP server, and Amp can find and run IBGE CNAE industry classification like any built-in tool.

**How much does IBGE CNAE industry classification cost in Amp?**

$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Amp plan is separate.

**Do I need an Alexandria account to use IBGE CNAE industry classification in Amp?**

No. Spiral runs IBGE CNAE industry classification on its own Alexandria account. You sign in to Spiral once and never paste a key.

**How long does it take to set up IBGE CNAE industry classification in Amp?**

About two minutes: add the server, then sign in, then check it.

**Does Amp wait while IBGE CNAE industry classification runs?**

IBGE CNAE industry classification runs in the background. Amp starts the run, checks on it and gives you the json when it's ready.

**Does every IBGE statistic cover every municipality?**

No. Each statistical table supports its own geographic levels, so a table available nationally or by state may not offer municipal results. Its metadata defines that boundary.

**How often does IBGE publish new data?**

IBGE sets publication intervals separately for each statistical operation, including monthly, quarterly, and annual schedules. There is no single update schedule for all IBGE data.

**How far back can an IBGE statistical series go?**

History depends on the selected table. Table metadata specifies the valid period range, so two tables about the same subject can offer different starting dates.

**Are IBGE publication dates fixed?**

Dates can change. IBGE's 2025 work plan explicitly describes publication dates being changed up to 30 days before the release.

**What limits a large IBGE statistical query?**

The ibger documentation reports a documented ceiling of 100,000 values per request and observed failures above about 50,000. Split broad statistical requests into smaller periods or geographic selections.

