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

Muse · Finance

How to Use IBGE locality search in Muse

Returns lists of Brazilian geographic divisions, including municipalities and districts. Use it to find places or assemble the geographic scope of a regional comparison.

Prompts to try with IBGE locality search in Muse

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

Use IBGE locality search to look this up and give me the result as a table.

IBGE locality searchMuse
Try asking
  • Pull the latest numbers from IBGE locality search and tell me what changed since last week.

  • Check IBGE locality search and summarize what you find in three bullet points.

  • Pull the newest data from IBGE locality search and give me the result as a table.

  • Check IBGE locality search every morning and tell me only when something changed.

How to set up IBGE locality search in Muse

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

Use the Muse connector

  1. Create an API key

    Create one under API keys in the Spiral console.

  2. Send Muse this message

    Muse reads Spiral's skill and asks for an API key.

    set up https://spiral.ai/SKILL.md
  3. Give Muse the key

    Paste the key when Muse asks for it, never in the chat itself.

Use the Spiral skill

  1. Send Muse 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 locality search

    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/localidades",
        "input": {
          "nivel": "regioes"
        }
      }'

Then paste one of the prompts above: Muse finds IBGE locality search on Spiral, shows the price and runs it.

IBGE locality search providers and prices

Spiral runs IBGE locality search through Alexandria. Open a card for today's price, with every fee included.

AlexandriaFinance
IBGE service data API · Localidades
servicodados-ibge-gov-br/official-statistics/localidades

Settings you can ask for

Ask Muse for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Nivelregioes, estados, mesorregioes, microrregioes, regioes-intermediarias, regioes-imediatas, regioes-metropolitanas, municipios and 2 more

Level to list.

Limit1 to 1000100

Items per page (default 100).

Offseta number from 0

next_offset from the previous page of the same query.

Parent nivelregioes, estados, mesorregioes, microrregioes, regioes-intermediarias, regioes-imediatas, municipios, or distritos

Level of the bounding parent (estados for municipios of a state, municipios for its distritos, regioes for its estados, ...).

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

What can you do with IBGE locality search in Muse?

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.

Brazilian place reference map

List municipalities within a selected state, retrieve locality records, and draw their boundaries. Use the result as a geographic reference for regional reporting.

Questions about IBGE locality search in Muse

Can Muse use IBGE locality search?

Yes. Add Spiral to Muse as an MCP server, and Muse can find and run IBGE locality search like any built-in tool.

How much does IBGE locality search cost in Muse?

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

Do I need an Alexandria account to use IBGE locality search in Muse?

You need no Alexandria account. Muse uses one Spiral API key for every tool, and Spiral runs IBGE locality search on its own Alexandria account.

How long does it take to set up IBGE locality search in Muse?

About two minutes: create an API key, then send Muse this message, then give Muse the key.

Does Muse wait while IBGE locality search runs?

IBGE locality search runs in the background. Muse 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 locality search in Muse

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

Paste this into Muse:

Set up Muse

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