How to Use IBGE CNAE industry classification in Grok
Returns Brazilian economic activity classifications and their hierarchy. Use it to explain an industry code or organize sector comparisons consistently.
Prompts to try with IBGE CNAE industry classification in Grok
Copy an example into Grok, or ask in your own words.
Use IBGE CNAE industry classification to explain section C and its divisions. Use IBGE locality details to identify the geographic record for São Paulo city for a regional manufacturing briefing.
Use IBGE CNAE industry classification to look this up and give me the result as a table.
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 Grok
Pick the way that suits you. Each takes about two minutes.
Use the Grok connector
- Add a custom connector
In Grok open Settings › Connect Apps, then Add a custom connector. Name it Spiral, paste this URL, leave Headers empty and click Add MCP.
https://api.spiral.ai/mcp
- Sign in to Spiral and approve
Grok opens Spiral: sign in, pick the organization and click Authorize. Spiral gives the connection its own API key; Grok never sees it, and you can remove the connection under Settings › Connected apps.
- Check that it is connected
Connect Apps › Custom shows Spiral as Connected. It works in every Grok chat and Grok bot.
Use the Spiral skill
- Send Grok this message
Your agent reads Spiral's skill and sets itself up.
set up https://spiral.ai/SKILL.md
- Sign in or paste a key
Approve Spiral in the browser, or give the agent a key from the console.
Use the Spiral CLI
- Install and sign in
Installs the Spiral CLI, signs you in and adds its skill to your coding agents.
npx -y spiral-cli@latest init
Call the Spiral API
- Create an API key
In the console, under API keys.
- Run IBGE CNAE industry classification
One request; the result comes back by polling or a webhook.
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: Grok finds IBGE CNAE industry classification on Spiral, shows the price and runs it.
IBGE CNAE industry classification providers and prices
Spiral runs IBGE CNAE industry classification through Alexandria. Open a card for today's price, with every fee included.
Settings you can ask for
Ask Grok for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Nivel | secoes, divisoes, grupos, classes, or subclasses | nivel | |
| Parent nivel | secoes, divisoes, grupos, or classes | List only the children of this parent level. |
Every API field of IBGE service data API · Cnae is on its tool page: open its card above.
What can you do with IBGE CNAE industry classification in Grok?
Prepare a Brazil research brief with official observations, place references, industry definitions, or historical name comparisons. A chat app can explain the results alongside the coverage and reporting periods IBGE provides.
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.
More on IBGE CNAE industry classification and Grok
Overview
IBGE CNAE industry classification in other agents
Questions about IBGE CNAE industry classification in Grok
Can Grok use IBGE CNAE industry classification?
Yes. Add Spiral to Grok as an MCP server, and Grok can find and run IBGE CNAE industry classification like any built-in tool.
How much does IBGE CNAE industry classification cost in Grok?
$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Grok plan is separate.
Do I need an Alexandria account to use IBGE CNAE industry classification in Grok?
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 Grok?
About two minutes: add a custom connector, then sign in to Spiral and approve, then check that it is connected.
Does Grok wait while IBGE CNAE industry classification runs?
IBGE CNAE industry classification runs in the background. Grok 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.
Start using IBGE CNAE industry classification in Grok
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into Grok:
set up https://spiral.ai/SKILL.md


