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

Gemini CLI · Finance

How to Use IBGE country statistics in Gemini CLI

Fetch country profiles and international indicator series published by IBGE. Use it to compare national statistics or add country context to a report, rather than search for news coverage.

Prompts to try with IBGE country statistics in Gemini CLI

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

Use IBGE country statistics to retrieve country profiles, select Brazil, Argentina, and Chile from the results, and build a comparison table in this project.

IBGE country statisticsGemini CLI
Try asking
  • Use IBGE country statistics to retrieve total GDP series, select Brazil and Argentina from the results, and chart their available common years.

  • Use IBGE country statistics to look this up and give me the result as a table. Save the result in ./assets.

  • Pull the latest numbers from IBGE country statistics and tell me what changed since last week.

  • Check IBGE country statistics and summarize what you find in three bullet points.

How to set up IBGE country statistics in Gemini CLI

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

Use Spiral's MCP server

  1. Add the server

    Or add it to ~/.gemini/settings.json yourself:

    gemini mcp add --scope user --transport http spiral https://api.spiral.ai/mcp
  2. Sign in

    Start gemini and run:

    /mcp auth spiral
  3. Check it

    In Gemini CLI, run /mcp. From your shell:

    gemini mcp list

Use the Spiral skill

  1. Send Gemini CLI 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 country statistics

    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/paises",
        "input": {
          "paises": [
            "<paises>"
          ]
        }
      }'

Then paste one of the prompts above: Gemini CLI finds IBGE country statistics on Spiral, shows the price and runs it.

IBGE country statistics providers and prices

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

AlexandriaFinance
IBGE service data API · Paises
servicodados-ibge-gov-br/official-statistics/paises

Settings you can ask for

Ask Gemini CLI for any of these in your prompt.

SettingAllowed valuesDefaultDescription
LangEN or ES

EN or ES for translated names; default PT.

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

What can you do with IBGE country statistics in Gemini CLI?

Build a Brazil research view with IBGE reporting or country comparison tables. A coding agent can turn the returned material into components and reports that fit your project.

Brazil market brief

Combine IBGE reporting on Brazil’s economy with country GDP and population context for a market research brief.

Population research

Find IBGE reporting about population and use country indicators to put Brazil’s results in an international comparison.

Economics teaching material

Build a lesson around an IBGE statistical release, then compare country GDP figures in a separate exercise.

Evidence for a policy memo

Gather IBGE reporting on a policy topic and add international indicators that give the Brazilian findings context.

Country comparison table

Compare countries using the same indicator and period, with country profiles beside the results.

Questions about IBGE country statistics in Gemini CLI

Can Gemini CLI use IBGE country statistics?

Yes. Add Spiral to Gemini CLI as an MCP server, and Gemini CLI can find and run IBGE country statistics like any built-in tool.

How much does IBGE country statistics cost in Gemini CLI?

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

Do I need an Alexandria account to use IBGE country statistics in Gemini CLI?

No. Spiral runs IBGE country statistics 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 country statistics in Gemini CLI?

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

Does Gemini CLI wait while IBGE country statistics runs?

IBGE country statistics runs in the background. Gemini CLI starts the run, checks on it and gives you the json when it's ready.

Does IBGE cover countries beyond Brazil?

Yes. IBGE describes its Países coverage as 193 states recognized by the United Nations; its news service covers IBGE surveys, studies, and products.

Does IBGE produce every statistic it publishes?

Its country statistics include information from international organizations such as the United Nations and World Bank. That differs from IBGE news about the institute’s own surveys, studies, and products.

How are IBGE’s international figures updated?

IBGE describes automatic imports when country data changes at the original source. This describes the update mechanism, not a guaranteed daily or hourly refresh schedule.

Which subjects does IBGE’s international data cover?

Países uses six themes: economy, social indicators, environment, population, networks, and health. Country profiles also include territory, currency, and language.

Does IBGE offer historical comparisons?

Países supports historical indicator series and country rankings. Use those series for comparisons over time, and IBGE news for reporting about published results.

Get started

Start using IBGE country statistics in Gemini CLI

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

Paste this into Gemini CLI:

Set up Gemini CLI

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