[Integrations](https://spiral.ai/integrations) › [Hermes](https://spiral.ai/integrations/hermes) › [IBGE statistical table metadata](https://spiral.ai/integrations/hermes/ibge-statistical-table-metadata)

# How to Use IBGE statistical table metadata in Hermes

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

|  |  |
| --- | --- |
| Model | IBGE statistical table metadata |
| 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 statistical table metadata in Hermes

- Every month, use IBGE statistical table search to look for tables about Brazilian manufacturing. Use IBGE statistical table metadata to report newly available tables or changes in their geographic coverage and available periods.
- Every Monday at 9am: use IBGE statistical table metadata to look this up and give me the result as a table.
- 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 Hermes

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

### Use the Spiral skill

1. **Send Hermes 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 Spiral's MCP server

1. **Add the server and sign in**: Hermes opens your browser: sign in to Spiral and click Authorize. No API key. When Hermes asks Enable all tools? \[Y/n/select], answer Y: n cancels without saving the server, and select hides the tools you leave out.

```bash
hermes mcp add spiral \
  --url https://api.spiral.ai/mcp \
  --auth oauth \
  --connect-timeout 300
```

2. **Check it**: In a chat that was already open, run `/reload-mcp`.

```bash
hermes mcp list
hermes mcp test spiral
```

### 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 statistical table metadata**: 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/agregado_metadados",
    "input": {
      "agregado": 1
    }
  }'
```

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

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

## IBGE statistical table metadata tools and prices

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

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| include_periodos |  | — | Also fetch /periodos and return every period id (monthly tables have hundreds). |
| localidades_nivel |  | — | Also fetch /localidades/{nivel} and return the localities the table offers at that level (N3 = 27 states; N6 = up to 5,570 municipalities). Pattern: ^N[0-9]{1,3}$. |

## What can you do with IBGE statistical table metadata in Hermes?

Maintain a Brazil reference briefing that flags new statistical periods and changes to publication schedules. A scheduled agent can also check geographic and classification references while keeping historical name results tied to their census reference.

### 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.

## Overview

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

## IBGE statistical table metadata in other agents

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

## More Hermes guides

- [IBGE statistical table data](https://spiral.ai/integrations/hermes/ibge-statistical-table-data)
- [IBGE statistical table search](https://spiral.ai/integrations/hermes/ibge-statistical-table-search)
- [IBGE release calendar](https://spiral.ai/integrations/hermes/ibge-release-calendar)
- [IMF World Economic Outlook forecasts](https://spiral.ai/integrations/hermes/imf-world-economic-outlook-forecasts)
- [IBGE popular name rankings](https://spiral.ai/integrations/hermes/ibge-popular-name-rankings)
- [IMF dataset search](https://spiral.ai/integrations/hermes/imf-dataset-search)

## Questions about IBGE statistical table metadata in Hermes

**Can Hermes use IBGE statistical table metadata?**

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

**How much does IBGE statistical table metadata cost in Hermes?**

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

**Do I need an Alexandria account to use IBGE statistical table metadata in Hermes?**

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 Hermes?**

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

**Does Hermes wait while IBGE statistical table metadata runs?**

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

