How to connect IBGE service data API to Claude
Add the Firecrawl connector to Claude once and it can call the IBGE service data API API and every other provider in Firecrawl Alexandria, with no IBGE service data API integration code.
To connect IBGE service data API to Claude, add the Firecrawl connector to Claude, sign in on a Firecrawl team with Alexandria enabled, and ask for IBGE service data API data in plain language. The connection works in Claude on the web, Claude Desktop and Cowork, and you set it up once.
Claude uses IBGE service data API as an MCP tool through Firecrawl's hosted MCP server, so you don't install or host a separate MCP server for IBGE service data API.
Claude is Anthropic's AI assistant. Connectors give it tools from other services, and the Firecrawl connector adds web search, scraping and every data provider in Firecrawl Alexandria.
How do I connect IBGE service data API to Claude?
Add the Firecrawl connector
Open the Firecrawl connector in Claude's connector directory and select Connect to Claude. In Claude Desktop you can also go to Customize, then Connectors, and search for Firecrawl.

Connect your Firecrawl account
Claude opens Firecrawl in your browser. Sign in, choose a team with Alexandria enabled, and approve access. No account yet? You can create one for free in the same flow.

Turn on Firecrawl in a chat
In a new conversation, open the + menu, go to Connectors and switch on Firecrawl.

Ask Claude for the data
Ask in plain language and mention IBGE service data API or Firecrawl Alexandria. Claude finds the IBGE service data API capability that fits, checks its inputs and runs it. For example:
Use Firecrawl to compare IBGE’s 2024 population estimates for São Paulo municipality 3550308 and Rio de Janeiro municipality 3304557.
What can Claude do with IBGE service data API?
Brazil's national statistics institute (IBGE) open JSON API at servicodados.ibge.gov.br: territorial codes (localidades), SIDRA aggregated statistics (agregados: official municipal / state / national population and household counts from the 2022 Census and the yearly population estimates, IPCA, PNAD, GDP and ~8,000 other tables), 2010 Census first-name frequencies and rankings, IBGE news/releases and release calendar, country profiles and indicators (paises), territorial meshes (malhas) and the CNAE activity classification. Anonymous, no key, Portuguese-language values as published.
Claude can run any of IBGE service data API's 12 capabilities through Alexandria. Each call is billed in Firecrawl credits on your Firecrawl team.
- Agregado dados: Query a SIDRA table (/api/v3/agregados/{agregado}/periodos/{periodos}/variaveis/{variaveis}?localidades=...&classificacao=...): one or more variables, a period selector (`-3` last three, `2024`, `202401-202412`, `2020,2022`, `all`), one or more territorial levels each with explicit ids or `all`, and optional classification/category filters. This is the official source for municipal population and household counts (market sizing, demographics): Census 2022 resident population is agregado 4709 variavel 93, Census 2022 occupied private households (domicílios particulares permanentes ocupados) and their residents are agregado 4712 variaveis 381 and 382 (5930 = residents per household), and the yearly population estimates are agregado 6579 variavel 9324; select a municipality with localidades [{nivel: N6, ids: [7-digit IBGE code]}], a state with N3. Values come back as the source publishes them (strings; `...`, `-`, `X` are SIDRA's not-available markers). Costs 5 Firecrawl credits per call.
- Agregado metadados: Metadata of one SIDRA table (/api/v3/agregados/{id}/metadados): name, survey, subject, periodicity with first/last period, territorial levels, variables (id, name, unit) and classifications with their categories; optionally the full list of period ids (/periodos) and the localities available at one level (/localidades/{nivel}). Costs 5 Firecrawl credits per call.
- Agregados: Discover SIDRA tables (agregados) from the /api/v3/agregados catalog: filter server-side by assunto, periodicidade (P1 P5 P8 ...), nivel (N1 N3 N6 ...), periodo and classificacao, and client-side by a case/accent-insensitive text query over the table name and survey name. Returns flat rows {id, nome, pesquisa_id, pesquisa_nome} sliced with limit / offset. Costs 5 Firecrawl credits per call.
- Calendario: IBGE release calendar (/api/v3/calendario/): upcoming and past release dates, optionally for one product (produto id or alias, e.g. 9173 or pesquisa-nacional-por-amostra-de-domicilios-continua-trimestral) and a date window; paginated. Costs 5 Firecrawl credits per call.
- Cnae: CNAE 2.x economic-activity classification (/api/v2/cnae): list a level (secoes, divisoes, grupos, classes, subclasses), optionally under a parent (e.g. classes of divisao 01), or fetch one code with its full parent chain and notes. Costs 5 Firecrawl credits per call.
- Localidade: Look up one or more localities by IBGE code at a level (/api/v1/localidades/{nivel}/{id|id|...}): full parent hierarchy per item. Unknown codes are dropped by the source; when none resolves the result is not_found. Costs 5 Firecrawl credits per call.
- Localidades: List Brazilian localities of one level (regioes, estados, mesorregioes, microrregioes, regioes-intermediarias, regioes-imediatas, regioes-metropolitanas, municipios, distritos, subdistritos) from /api/v1/localidades, optionally bounded to a parent locality (e.g. municipios of estado 35 / SP, distritos of municipio 3550308) and filtered by name. Ordered by name; sliced client-side with limit / offset. Costs 5 Firecrawl credits per call.
- Malha: Territorial mesh (boundary) of one locality from /api/v4/malhas/{nivel}/{id} as GeoJSON at a chosen simplification quality (minima | intermediaria | maxima), optionally subdivided into intra-region features (intrarregiao), plus the mesh metadata (/metadados: centroid, bounding box, area). Costs 5 Firecrawl credits per call.
- Nomes: Frequency of one or more first names in the 2010 Census (/api/v2/censos/nomes/{nome|nome}): total by birth decade for Brazil or one locality (estado / municipio id), optionally by sex, or grouped by state (groupBy=UF: population, frequency and proportion per 100,000 for each UF). Names unknown to the census are not_found. Costs 5 Firecrawl credits per call.
- Nomes ranking: Ranking of the most frequent first names in the 2010 Census (/api/v2/censos/nomes/ranking), optionally for one birth decade, one locality (estado or municipio id) and one sex. Top 20 as the source publishes. Costs 5 Firecrawl credits per call.
See all 12 capabilities and their inputs on the IBGE service data API API page.
What should I ask Claude?
Name IBGE service data API or Firecrawl Alexandria in the prompt so Claude reaches for it. Each example opens in Claude with the prompt filled in.
- Use Firecrawl to compare IBGE’s 2024 population estimates for São Paulo municipality 3550308 and Rio de Janeiro municipality 3304557.
- Use Firecrawl to show the metadata for IBGE SIDRA table 1737, including its variables, units, classification categories and available periods.
- Use Firecrawl to show the top 20 female first names for people born in the 1990s in São Paulo state, using IBGE’s 2010 Census name ranking.
- Use Firecrawl to help with this: Retrieve the simplified GeoJSON boundary and mesh metadata for São Paulo municipality 3550308.
Troubleshooting
Why doesn't Claude use IBGE service data API?
The connector has to be on in each conversation. Open the + menu, go to Connectors and check that Firecrawl is switched on, then ask again and name IBGE service data API or Firecrawl Alexandria in the prompt.
Claude says it can't reach the Firecrawl server. What should I do?
Open Customize, then Connectors, disconnect Firecrawl and connect it again. On a Team or Enterprise plan, an owner has to allow the connector before members can add it.
Why does Claude say IBGE service data API isn't available?
Alexandria needs a Firecrawl team with Alexandria enabled. Reconnect Firecrawl and pick that team on the consent screen.
Use IBGE service data API in other AI apps
The same Firecrawl account reaches IBGE service data API from other AI apps. Pick one for its setup steps:
- IBGE service data API in ChatGPT
- IBGE service data API in Cursor
- IBGE service data API in Grok Bot
IBGE service data API in Muse
Other data providers you can connect to Claude
Frequently Asked Questions
What is Firecrawl?
Firecrawl is the web data API to search, scrape and interact with the web at scale. It turns websites into clean, LLM-ready data for AI agents and apps. The Firecrawl connector brings those tools into Claude, along with every data provider in Firecrawl Alexandria.
What is Firecrawl Alexandria?
Firecrawl Alexandria is Firecrawl's library of 550+ data providers for AI agents, IBGE service data API among them. Each provider returns structured data through documented capabilities. Claude finds the capability that fits your question and calls it through the Firecrawl connector, so you don't write any integration code. Alexandria needs a Firecrawl account signed in on a team with Alexandria enabled, or an API key from such a team; keyless connections don't include it.
Is there a IBGE service data API MCP server for Claude?
Claude reaches IBGE service data API through Firecrawl's hosted MCP server, which serves IBGE service data API and every other Alexandria provider as tools. Add the Firecrawl connector once and you don't install or host a separate MCP server for IBGE service data API.
What does connecting IBGE service data API to Claude unlock?
Claude can run all 12 of IBGE service data API's capabilities, including Agregado dados, Agregado metadados and Agregados, from any chat, with structured results it can sort, compare and summarize. For example, ask: "Use Firecrawl to compare IBGE’s 2024 population estimates for São Paulo municipality 3550308 and Rio de Janeiro municipality 3304557." In the same conversation, Claude can combine IBGE service data API with Firecrawl's web search and scraping and the other providers in Firecrawl Alexandria.
Do I need my own IBGE service data API account or API key to use it in Claude?
No. Claude calls IBGE service data API through Firecrawl Alexandria and each call is billed in Firecrawl credits, so you don't need a separate IBGE service data API account or API key.
How much does it cost to use IBGE service data API in Claude?
Each IBGE service data API call costs 5 Firecrawl credits. The capability list on this page shows each price and its unit. The credits come from the Firecrawl team you connect to Claude, and finding the right capability is free.
Can Claude use other providers besides IBGE service data API?
Yes. The same Firecrawl connector reaches every provider in Firecrawl Alexandria, along with Firecrawl's web search and scraping, so you connect once.
Can I use IBGE service data API in other AI apps?
Yes. Connect Firecrawl to ChatGPT, Cursor, Grok Bot, Muse signed in on a Firecrawl team with Alexandria enabled, or use the Firecrawl MCP server, CLI or API with an API key from that team, and the same IBGE service data API capabilities are available there. Keyless connections don't include Alexandria.