[Integrations](https://spiral.ai/integrations) › [opencode](https://spiral.ai/integrations/opencode) › [IBGE popular name rankings](https://spiral.ai/integrations/opencode/ibge-popular-name-rankings)

# How to Use IBGE popular name rankings in opencode

Returns names ranked by census frequency, with historical birth-decade comparisons. Use it to discover the leading names in a place instead of starting with a particular name.

|  |  |
| --- | --- |
| Model | IBGE popular name rankings |
| 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 popular name rankings in opencode

- Use IBGE name frequency to retrieve Maria's available birth-decade counts in Brazil. Use IBGE popular name rankings to retrieve Brazil's historical rankings, then build separate frequency and ranking charts with the census reference stated.
- Use IBGE popular name rankings to look this up and give me the result as a table. Save the result in ./assets.
- Pull the latest numbers from IBGE popular name rankings and tell me what changed since last week.
- Check IBGE popular name rankings and summarize what you find in three bullet points.
- Pull the newest data from IBGE popular name rankings and give me the result as a table.

## How to set up IBGE popular name rankings in opencode

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

### Use Spiral's MCP server

1. **Add the server**: Leave out `--global` to add Spiral to the current project only. No header and no client ID or secret: opencode registers itself with Spiral.

```bash
opencode mcp add spiral --global --url https://api.spiral.ai/mcp
```

2. **Sign in**: Your browser opens. Sign in to Spiral, pick the organization and click Authorize, then return to the terminal. No API key. Inside opencode, `/mcps` starts the same sign-in.

```bash
opencode mcp auth spiral
```

3. **Check it**: Spiral shows as connected.

```bash
opencode mcp list
```

### Use the Spiral skill

1. **Send opencode 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 popular name rankings**: 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/nomes_ranking",
    "input": {
      "sexo": "F"
    }
  }'
```

Then paste one of the prompts above: opencode finds IBGE popular name rankings on Spiral, shows the price and runs it.

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

## IBGE popular name rankings tools and prices

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

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| sexo | F, M | — | sexo |
| decada | 1930 to 2010 | — | Birth decade start year, a multiple of 10 (1930..2000). |
| localidade |  | — | IBGE code of an estado (35) or municipio (3550308); default Brazil. Pattern: ^[0-9]{1,7}$. |

## What can you do with IBGE popular name rankings in opencode?

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.

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

### Historical name comparison

Compare the frequency of Maria or João across available birth decades and contrast those results with the leading names in the same place. Present the results as aggregate census history.

### Census names classroom exercise

Create an exercise that compares a chosen first name's frequency with a place's name rankings. Ask students to explain the difference between looking up one name and discovering the most frequent names.

## Overview

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

## IBGE popular name rankings in other agents

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

## More opencode guides

- [IBGE news and releases](https://spiral.ai/integrations/opencode/ibge-news-and-releases)
- [IBGE release calendar](https://spiral.ai/integrations/opencode/ibge-release-calendar)
- [IBGE name frequency](https://spiral.ai/integrations/opencode/ibge-name-frequency)
- [IBGE statistical table data](https://spiral.ai/integrations/opencode/ibge-statistical-table-data)
- [IBGE locality search](https://spiral.ai/integrations/opencode/ibge-locality-search)
- [IBGE statistical table metadata](https://spiral.ai/integrations/opencode/ibge-statistical-table-metadata)

## Questions about IBGE popular name rankings in opencode

**Can opencode use IBGE popular name rankings?**

Yes. Add Spiral to opencode as an MCP server, and opencode can find and run IBGE popular name rankings like any built-in tool.

**How much does IBGE popular name rankings cost in opencode?**

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

**Do I need an Alexandria account to use IBGE popular name rankings in opencode?**

No. Spiral runs IBGE popular name rankings 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 popular name rankings in opencode?**

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

**Does opencode wait while IBGE popular name rankings runs?**

IBGE popular name rankings runs in the background. opencode 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.

