Spiral gives your agent every tool with one account. Browse the tools →

Grok Build · Finance

How to Use IBGE statistical table metadata in Grok Build

Returns a table's variables, classifications, geographic coverage, and reporting frequency. Use it to check what a statistic measures before requesting its values.

Prompts to try with IBGE statistical table metadata in Grok Build

Copy an example into Grok Build, or ask in your own words.

Use IBGE statistical table search to find tables about Brazilian manufacturing, then use IBGE statistical table metadata to inspect their geographic coverage and variables. Save the candidates in my project's research directory.

IBGE statistical table metadataGrok Build
Try asking
  • Use IBGE statistical table metadata to look this up and give me the result as a table. Save the result in ./assets.

  • Pull the latest numbers from IBGE statistical table metadata and tell me what changed since last week.

  • Check IBGE statistical table metadata and summarize what you find in three bullet points.

  • Pull the newest data from IBGE statistical table metadata and give me the result as a table.

How to set up IBGE statistical table metadata in Grok Build

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

Use Spiral's MCP server

  1. Add the server

    Add --scope project to add Spiral to the current repository only. No header and no client ID or secret: Grok registers itself with Spiral.

    grok mcp add --transport http spiral https://api.spiral.ai/mcp
  2. Sign in

    Start grok and run /mcps. Select Spiral and press i. Your browser opens: sign in to Spiral, pick the organization and click Authorize. No API key.

  3. Check it
    grok mcp doctor spiral

Use the Spiral skill

  1. Send Grok Build 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.

    npx -y spiral-cli@latest init

Call the Spiral API

  1. Create an API key

    In the console, under API keys.

  2. Run IBGE statistical table metadata

    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/agregado_metadados",
        "input": {
          "agregado": 1
        }
      }'

Then paste one of the prompts above: Grok Build finds IBGE statistical table metadata on Spiral, shows the price and runs it.

IBGE statistical table metadata providers and prices

Spiral runs IBGE statistical table metadata through Alexandria. Open a card for today's price, with every fee included.

AlexandriaFinance
IBGE service data API · Agregado metadados
servicodados-ibge-gov-br/official-statistics/agregado_metadados

Settings you can ask for

Ask Grok Build for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Agregadoa number from 1

SIDRA table id, e.g. 1737 (IPCA), 4709 (Census 2022 population), 4712 (Census 2022 occupied households), 6579 (population estimates), 4099 (PNAD unemployment), 5938 (municipal GDP).

Include periodoson or off

Also fetch /periodos and return every period id (monthly tables have hundreds).

Every API field of IBGE service data API · Agregado metadados is on its tool page: open its card above.

What can you do with IBGE statistical table metadata in Grok Build?

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.

Questions about IBGE statistical table metadata in Grok Build

Can Grok Build use IBGE statistical table metadata?

Yes. Add Spiral to Grok Build as an MCP server, and Grok Build can find and run IBGE statistical table metadata like any built-in tool.

How much does IBGE statistical table metadata cost in Grok Build?

$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 Build plan is separate.

Do I need an Alexandria account to use IBGE statistical table metadata in Grok Build?

No. Spiral runs IBGE statistical table metadata 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 statistical table metadata in Grok Build?

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

Does Grok Build wait while IBGE statistical table metadata runs?

IBGE statistical table metadata runs in the background. Grok Build 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.

Get started

Start using IBGE statistical table metadata in Grok Build

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into Grok Build:

Set up Grok Build

set up https://spiral.ai/SKILL.md
Are you an AI agent? See setup options