Every public IBGE API: SIDRA tables, places, calendar, CNAE, maps, geodesy. Unofficial.
Maintain this server? Claim it
Call this server's tools from your browser. Nothing to install.
Bearer <Kyrodata API key from kyrodata.com/user/api-keys>
Requests go through mcptry because browsers can't call most MCP servers directly. Header values are sent to the server for that request only and are never stored or logged.
Tool list from our last check. Connect live to refresh it.
Explains one SIDRA table before reading it: survey, subject, periodicity and the first and last period, the territorial levels it publishes (N1 Brazil … N6 municipality), every variable with its unit, and each classification (breakdown) with its categories. categorySearch narrows long category lists (a crop table has dozens of products). The ids returned here are exactly what ibge_get_table_data accepts. Read-only; reads IBGE's public API live through Kyrodata (cached up to an hour). An identical call within 10 minutes is served from memo at 0 credits. Result status is ok, denied or error, with the reason in text. Credit class: free (0 credits).
SIDRA table (aggregate) id, e.g. 1612. ibge_search_tables returns ids.
Filters the categories listed under each classification by these words (e.g. 'soja'). Without it, the first categories of each classification are listed and the total count is given.
How much of the answer to return. `concise` (the default) carries the headline figures; `detailed` adds the row-level series behind them and counts against the export quota.
Pick your client. Values in capitals, like YOUR_TOKEN, are yours to fill in.
Run in a terminal
claude mcp add --transport http ibge https://mcp.kyrodata.com/ibge \ --header 'Authorization: Bearer YOUR_TOKEN'
Headers
Authorization (required): Bearer <Kyrodata API key from kyrodata.com/user/api-keys>Explains one SIDRA table before reading it: survey, subject, periodicity and the first and last period, the territorial levels it publishes (N1 Brazil … N6 municipality), every variable with its unit, and each classification (breakdown) with its categories. categorySearch narrows long category lists (a crop table has dozens of products). The ids returned here are exactly what ibge_get_table_data accepts. Read-only; reads IBGE's public API live through Kyrodata (cached up to an hour). An identical call within 10 minutes is served from memo at 0 credits. Result status is ok, denied or error, with the reason in text. Credit class: free (0 credits).
| Argument | Type | Description |
|---|---|---|
| table* | integer | SIDRA table (aggregate) id, e.g. 1612. ibge_search_tables returns ids. |
| categorySearch | string | Filters the categories listed under each classification by these words (e.g. 'soja'). Without it, the first categories of each classification are listed and the total count is given. |
| response_format | string | How much of the answer to return. `concise` (the default) carries the headline figures; `detailed` adds the row-level series behind them and counts against the export quota. |
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"table"
],
"properties": {
"table": {
"type": "integer",
"maximum": 99999,
"minimum": 1,
"description": "SIDRA table (aggregate) id, e.g. 1612. ibge_search_tables returns ids."
},
"categorySearch": {
"type": "string",
"maxLength": 60,
"minLength": 2,
"description": "Filters the categories listed under each classification by these words (e.g. 'soja'). Without it, the first categories of each classification are listed and the total count is given."
},
"response_format": {
"enum": [
"concise",
"detailed"
],
"type": "string",
"description": "How much of the answer to return. `concise` (the default) carries the headline figures; `detailed` adds the row-level series behind them and counts against the export quota."
}
},
"additionalProperties": false
}Finds Brazilian places by name and returns their official IBGE codes: regions, states, mesoregions, microregions or municipalities (all 5,571). Accent-insensitive; `state` narrows by two-letter abbreviation; `capitals` returns the 27 state capitals in one call. Each result carries the SIDRA level code (N3, N6…) so its id can go straight into ibge_get_table_data `localities`, and the 7-digit municipality code that ibge_get_city_profile and ibge_get_boundary take. Read-only; reads IBGE's public API live through Kyrodata (cached up to an hour). An identical call within 10 minutes is served from memo at 0 credits. Result status is ok, denied or error, with the reason in text. Credit class: free (0 credits).
| Argument | Type | Description |
|---|---|---|
| level | string | Which kind of place to return (default municipality). Each result carries the SIDRA level code to query it. |
| limit | integer | How many items to return (1–50, default 10). |
| query | string | Place name, accents optional (e.g. 'sorriso', 'Sao Paulo'). Omitted: every place at the level, within `state`. |
| state | string | Two-letter state abbreviation that restricts the results (e.g. 'MT'). |
| capitals | boolean | true returns the 27 state capitals (Brasília included) as municipalities, ignoring level, query and state; their ids go straight into ibge_get_table_data `localities` at level N6. |
| response_format |
Returns the official boundary of Brazil, a macro-region, a state or a municipality from IBGE's territorial mesh: name, area in km², centroid and bounding box, plus the GeoJSON URL. includeGeometry adds the polygon itself (minimal quality by default; anything above 300 KB is refused and only the URL is given). Coordinates are SIRGAS 2000 longitude/latitude. Read-only; reads IBGE's public API live through Kyrodata (cached up to an hour). An identical call within 10 minutes is served from memo at 0 credits. Result status is ok, denied or error, with the reason in text. Credit class: comex (up to 2 comex tools per 60-second session = 1 credit).
| Argument | Type | Description |
|---|---|---|
| id* | string | BR for the country; region 1–5; state code (35); municipality code (3550308). |
| level* | string | Kind of territory. |
| quality | string | Geometry detail when includeGeometry is true (default minimal; maximal can be megabytes). |
| includeGeometry | boolean | true adds the GeoJSON polygon (refused above 300 KB, the URL is always given). Default false: centroid, area and bounding box. |
| response_format | string | How much of the answer to return. `concise` (the default) carries the headline figures; `detailed` adds the row-level series behind them and counts against the export quota. |
Reads a municipality's indicators from IBGE Cidades, the portal that gathers each city's census, economy, health, education, environment and public-management figures. Give a `survey` id to get its indicators (up to 30), or specific `indicators`; each comes with its unit, latest year and value, and the recent years. With only the municipality it lists the survey ids available. Municipality codes come from ibge_find_places. Read-only; reads IBGE's public API live through Kyrodata (cached up to an hour). An identical call within 10 minutes is served from memo at 0 credits. Result status is ok, denied or error, with the reason in text. Credit class: comex (up to 2 comex tools per 60-second session = 1 credit).
| Argument | Type | Description |
|---|---|---|
| survey | integer | Cities survey id whose indicators to return. Omitted together with indicators: the list of survey ids. |
| indicators | array | Specific indicator ids (as listed under a survey). Overrides survey. |
| municipality* | string | Municipality code, 7 digits (3550308) or 6 without the check digit. ibge_find_places returns it. |
| response_format | string | How much of the answer to return. `concise` (the default) carries the headline figures; `detailed` adds the row-level series behind them and counts against the export quota. |
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"municipality"
],
"properties": {
"survey": {
"type": "integer",
"maximum": 9999,
"minimum": 1,
"description": "Cities survey id whose indicators to return. Omitted together with indicators: the list of survey ids."
},
"indicators": {
"type": "array",
"items": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 1
},
"maxItems": 30,
"minItems": 1,
"description": "Specific indicator ids (as listed under a survey). Overrides survey."
},
"municipality": {
"type": "string",
"pattern": "^\\d{6,7}$",
"description": "Municipality code, 7 digits (3550308) or 6 without the check digit. ibge_find_places returns it."
},
"response_format": {
"enum": [
"concise",
"detailed"
],
"type": "string",
"description": "How much of the answer to return. `concise` (the default) carries the headline figures; `detailed` adds the row-level series behind them and counts against the export quota."
}
},
"additionalProperties": false
}Reads IBGE's international country profiles (the Países portal, compiled from UN agencies and other multilateral sources): indicators such as population, GDP, education spending or tourism, by country and year. Without `indicators` it lists the indicator ids and names available. Up to 5 countries per call by ISO alpha-2 code. Each series keeps the years that have a value, newest last. Read-only; reads IBGE's public API live through Kyrodata (cached up to an hour). An identical call within 10 minutes is served from memo at 0 credits. Result status is ok, denied or error, with the reason in text. Credit class: comex (up to 2 comex tools per 60-second session = 1 credit).
| Argument | Type | Description |
|---|---|---|
| countries* | array | ISO 3166-1 alpha-2 country codes (e.g. ['BR','AR']). |
| indicators | array | Indicator ids. Omitted: the list of indicator ids and names (no values). |
| response_format | string | How much of the answer to return. `concise` (the default) carries the headline figures; `detailed` adds the row-level series behind them and counts against the export quota. |
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"countries"
],
"properties": {
"countries": {
"type": "array",
"items": {
"type": "string",
"pattern": "^[A-Za-z]{2}$"
},
"maxItems": 5,
"minItems": 1,
"description": "ISO 3166-1 alpha-2 country codes (e.g. ['BR','AR'])."
},
"indicators": {
"type": "array",
"items": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 1
},
"maxItems": 10,
"minItems": 1,
"description": "Indicator ids. Omitted: the list of indicator ids and names (no values)."
},
"response_format": {
"enum": [
"concise",
"detailed"
],
"type": "string",
"description": "How much of the answer to return. `concise` (the default) carries the headline figures; `detailed` adds the row-level series behind them and counts against the export quota."
}
},
"additionalProperties": false
}Reads the 2010 Census first-name statistics. With `names` it returns how many people with each name were born per decade, from before 1930 to the 2000s; without it, the ranking of the most common names, optionally for one decade. `sex` and `locality` (state or municipality code) narrow both. Counts refer to people alive at the 2010 Census, not to all births. Read-only; reads IBGE's public API live through Kyrodata (cached up to an hour). An identical call within 10 minutes is served from memo at 0 credits. Result status is ok, denied or error, with the reason in text. Credit class: comex (up to 2 comex tools per 60-second session = 1 credit).
| Argument | Type | Description |
|---|---|---|
| sex | string | F or M. Omitted: both. |
| names | array | First names to look up (e.g. ['Maria','João']). Returns births per decade. Omitted: the ranking instead. |
| decade | integer | Ranking only: decade of birth (1930–2010). Omitted: all decades together. |
| locality | string | State (2 digits) or municipality (7 digits) code. Omitted: Brazil. |
| response_format | string | How much of the answer to return. `concise` (the default) carries the headline figures; `detailed` adds the row-level series behind them and counts against the export quota. |
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"sex": {
"enum": [
"F",
"M"
],
"type": "string",
"description": "F or M. Omitted: both."
},
"names": {
"type": "array",
"items": {
"type": "string",
"pattern": "^[\\p{L}' -]{2,40}$"
},
"maxItems": 5,
"minItems": 1,
"description": "First names to look up (e.g. ['Maria','João']). Returns births per decade. Omitted: the ranking instead."
},
"decade": {
"type": "integer",
"maximum": 2010,
"minimum": 1930,
"multipleOf": 10,
"description": "Ranking only: decade of birth (1930–2010). Omitted: all decades together."
},
"locality": {
"type": "string",
"pattern": "^\\d{2}$|^\\d{7}$",
"description": "State (2 digits) or municipality (7 digits) code. Omitted: Brazil."
},
"response_format": {
"enum": [
"concise",
"detailed"
],
"type": "string",
"description": "How much of the answer to return. `concise` (the default) carries the headline figures; `detailed` adds the row-level series behind them and counts against the export quota."
}
},
"additionalProperties": false
}Lists IBGE's scheduled releases between two dates: date and time (Brasília), survey or indicator, release type and the reference period it covers. `query` keeps releases of one product (IPCA, PNAD Contínua, LSPA, PIB). Default window: the next 30 days. It answers when a number comes out; the number itself is in ibge_get_table_data, and the text published on release day is in ibge_search_news. Read-only; reads IBGE's public API live through Kyrodata (cached up to an hour). An identical call within 10 minutes is served from memo at 0 credits. Result status is ok, denied or error, with the reason in text. Credit class: free (0 credits).
| Argument | Type | Description |
|---|---|---|
| to | string | Last release date, YYYY-MM-DD (default 30 days after `from`; at most 120 days after it). |
| from | string | First release date, YYYY-MM-DD (default today, Brasília time). |
| limit | integer | How many items to return (1–50, default 20). |
| query | string | Keeps only releases whose product name or title contains these words (e.g. 'IPCA', 'PNAD', 'LSPA'). |
| response_format | string | How much of the answer to return. `concise` (the default) carries the headline figures; `detailed` adds the row-level series behind them and counts against the export quota. |
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"to": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "Last release date, YYYY-MM-DD (default 30 days after `from`; at most 120 days after it)."
},
"from": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "First release date, YYYY-MM-DD (default today, Brasília time)."
},
"limit": {
"type": "integer",
"maximum": 50,
"minimum": 1,
"description": "How many items to return (1–50, default 20)."
},
"query": {
"type": "string",
"maxLength": 80,
"minLength": 2,
"description": "Keeps only releases whose product name or title contains these words (e.g. 'IPCA', 'PNAD', 'LSPA')."
},
"response_format": {
"enum": [
"concise",
"detailed"
],
"type": "string",
"description": "How much of the answer to return. `concise` (the default) carries the headline figures; `detailed` adds the row-level series behind them and counts against the export quota."
}
},
"additionalProperties": false
}Describes IBGE surveys from the official metadata registry: code, name, status (active or discontinued), category, collection and release frequency, and themes. With `survey` (a code such as PA or PNADC) it lists the survey's occurrences, the editions actually carried out. `query` filters the list by name or theme. Tables of a survey are found with ibge_search_tables; release dates with ibge_get_release_calendar. Read-only; reads IBGE's public API live through Kyrodata (cached up to an hour). An identical call within 10 minutes is served from memo at 0 credits. Result status is ok, denied or error, with the reason in text. Credit class: free (0 credits).
| Argument | Type | Description |
|---|---|---|
| limit | integer | How many items to return (1–50, default 20). |
| query | string | Words that filter the survey list by name or theme (e.g. 'agrícola', 'emprego'). Ignored when survey is given. |
| survey | string | Survey code from a previous listing (e.g. 'PA' for Produção Agrícola Municipal). Given: its occurrences (editions). |
| response_format | string | How much of the answer to return. `concise` (the default) carries the headline figures; `detailed` adds the row-level series behind them and counts against the export quota. |
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"limit": {
"type": "integer",
"maximum": 50,
"minimum": 1,
"description": "How many items to return (1–50, default 20)."
},
"query": {
"type": "string",
"maxLength": 80,
"minLength": 2,
"description": "Words that filter the survey list by name or theme (e.g. 'agrícola', 'emprego'). Ignored when survey is given."
},
"survey": {
"type": "string",
"pattern": "^[A-Za-z0-9]{1,6}$",
"description": "Survey code from a previous listing (e.g. 'PA' for Produção Agrícola Municipal). Given: its occurrences (editions)."
},
"response_format": {
"enum": [
"concise",
"detailed"
],
"type": "string",
"description": "How much of the answer to return. `concise` (the default) carries the headline figures; `detailed` adds the row-level series behind them and counts against the export quota."
}
},
"additionalProperties": false
}Reads values from one SIDRA table for chosen variables, periods, territorial level, localities and breakdowns. The query is validated against the table's metadata first, so an invalid variable, period, level or category comes back naming the field and the valid options instead of IBGE's bare error. Values are numbers; IBGE's symbols are kept (`-` is a true zero, `X` is withheld, `..` not applicable). Up to 20,000 values per call. Concise returns the first 40 values plus totals; detailed adds every value as rows. Each answer carries the SIDRA link and a citation line. Read-only; reads IBGE's public API live through Kyrodata (cached up to an hour). An identical call within 10 minutes is served from memo at 0 credits. Result status is ok, denied or error, with the reason in text. Credit class: comex (up to 2 comex tools per 60-second session = 1 credit).
| Argument | Type | Description |
|---|---|---|
| level | string | Territorial level of the rows (default N1, Brazil). Must be one the table publishes. |
| table* | integer | SIDRA table (aggregate) id, e.g. 1612. ibge_search_tables returns ids. |
| within | string | Keeps only localities inside one parent, as 'LEVEL:id': 'N3:51' returns every municipality of Mato Grosso when level is N6. |
| periods | array | Period ids as the table publishes them: '2022' (year), '202403' (month or quarter). Overrides lastPeriods. |
| variables | array | Variable ids from ibge_describe_table. Omitted: every variable except the percentage-of-total ones. |
Looks up Brazil's official activity classification (CNAE 2.0, kept by IBGE). With `code` it returns that node (section, division, group, class or subclass), its full hierarchy and IBGE's notes on what it includes and excludes. With `query` it finds the classes whose description matches. Useful to tag a company activity or to read SIDRA tables broken down by CNAE. Read-only; reads IBGE's public API live through Kyrodata (cached up to an hour). An identical call within 10 minutes is served from memo at 0 credits. Result status is ok, denied or error, with the reason in text. Credit class: free (0 credits).
| Argument | Type | Description |
|---|---|---|
| code | string | A CNAE 2.0 code: section letter (A), division (01), group (011), class (01113) or subclass (0111301). |
| limit | integer | How many items to return (1–30, default 10). |
| query | string | Words describing the activity (e.g. 'cultivo de soja'). Returns matching classes. Ignored when code is given. |
| response_format | string | How much of the answer to return. `concise` (the default) carries the headline figures; `detailed` adds the row-level series behind them and counts against the export quota. |
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"code": {
"type": "string",
"pattern": "^([A-Ua-u]|\\d{2}|\\d{3}|\\d{5}|\\d{7})$",
"description": "A CNAE 2.0 code: section letter (A), division (01), group (011), class (01113) or subclass (0111301)."
},
"limit": {
"type": "integer",
"maximum": 30,
"minimum": 1,
"description": "How many items to return (1–30, default 10)."
},
"query": {
"type": "string",
"maxLength": 80,
"minLength": 2,
"description": "Words describing the activity (e.g. 'cultivo de soja'). Returns matching classes. Ignored when code is given."
},
"response_format": {
"enum": [
"concise",
"detailed"
],
"type": "string",
"description": "How much of the answer to return. `concise` (the default) carries the headline figures; `detailed` adds the row-level series behind them and counts against the export quota."
}
},
"additionalProperties": false
}Queries IBGE's geodetic services. `stations` lists control stations of a municipality or state from the Geodetic Database (code, type, status, coordinates, orthometric height). `tide_gauges` lists the permanent tide-gauge network. `convert_datum` converts a point between Brazilian datums (SAD69, Córrego Alegre, SIRGAS 2000) with IBGE's ProGriD grids. `height_conversion` returns the hgeoHNOR factor that turns a GNSS (ellipsoidal) height into a normal height at a point. Read-only; reads IBGE's public API live through Kyrodata (cached up to an hour). An identical call within 10 minutes is served from memo at 0 credits. Result status is ok, denied or error, with the reason in text. Credit class: comex (up to 2 comex tools per 60-second session = 1 credit).
| Argument | Type | Description |
|---|---|---|
| lat | number | convert_datum, height_conversion: latitude in decimal degrees. |
| lon | number | convert_datum, height_conversion: longitude in decimal degrees. |
| limit | integer | How many items to return (1–50, default 20). |
| state | string | stations: two-letter state abbreviation (used when municipality is absent). |
| toDatum | string | convert_datum: datum to convert to (default sirgas2000). |
| altitude | number | convert_datum, height_conversion: height in metres (default 0). |
Searches the IBGE News Agency: editorial news and official release texts (press releases), newest first. Each item has the publication time, type, title, a short introduction and its link on agenciadenoticias.ibge.gov.br. `type: release` keeps only result releases, the text IBGE publishes with a new figure. Dates bound the search. Release dates still to come are in ibge_get_release_calendar. Read-only; reads IBGE's public API live through Kyrodata (cached up to an hour). An identical call within 10 minutes is served from memo at 0 credits. Result status is ok, denied or error, with the reason in text. Credit class: comex (up to 2 comex tools per 60-second session = 1 credit).
| Argument | Type | Description |
|---|---|---|
| to | string | Latest publication date, YYYY-MM-DD. |
| from | string | Earliest publication date, YYYY-MM-DD. |
| type | string | `release` keeps official result releases (press releases); `news` keeps editorial news. Omitted: both. |
| limit | integer | How many items to return (1–20, default 10). |
| query | string | Words to search in titles and text (e.g. 'safra', 'desocupação'). |
| response_format | string | How much of the answer to return. `concise` (the default) carries the headline figures; `detailed` adds the row-level series behind them and counts against the export quota. |
Searches IBGE's catalogue of statistical and geoscience products (surveys, censuses, maps, territorial studies) by name or theme. Returns each product, its theme and the editions IBGE lists for it, grouped by product. It is a catalogue, not data: the tables of a survey are found with ibge_search_tables, and its editions and status with ibge_get_survey_metadata. Read-only; reads IBGE's public API live through Kyrodata (cached up to an hour). An identical call within 10 minutes is served from memo at 0 credits. Result status is ok, denied or error, with the reason in text. Credit class: comex (up to 2 comex tools per 60-second session = 1 credit).
| Argument | Type | Description |
|---|---|---|
| kind | string | `statistics` (surveys and indicators) or `geosciences` (maps, territory, geodesy). Omitted: both. |
| limit | integer | How many items to return (1–30, default 10). |
| query* | string | Words describing the product (e.g. 'censo agropecuário', 'contas regionais'). |
| response_format | string | How much of the answer to return. `concise` (the default) carries the headline figures; `detailed` adds the row-level series behind them and counts against the export quota. |
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"query"
],
"properties": {
"kind": {
"enum": [
"statistics",
"geosciences"
],
"type": "string",
"description": "`statistics` (surveys and indicators) or `geosciences` (maps, territory, geodesy). Omitted: both."
},
"limit": {
"type": "integer",
"maximum": 30,
"minimum": 1,
"description": "How many items to return (1–30, default 10)."
},
"query": {
"type": "string",
"maxLength": 80,
"minLength": 2,
"description": "Words describing the product (e.g. 'censo agropecuário', 'contas regionais')."
},
"response_format": {
"enum": [
"concise",
"detailed"
],
"type": "string",
"description": "How much of the answer to return. `concise` (the default) carries the headline figures; `detailed` adds the row-level series behind them and counts against the export quota."
}
},
"additionalProperties": false
}Finds SIDRA tables (IBGE's statistical database, about 9,300 tables) by what they measure. Returns table ids, titles and the survey each belongs to, best match first. Matching is accent-insensitive and maps everyday terms to IBGE vocabulary (unemployment → desocupação, income → rendimento), and every query word has to match. It returns no values: ibge_describe_table explains a table's variables, levels and periods, and ibge_get_table_data reads the numbers. Read-only; reads IBGE's public API live through Kyrodata (cached up to an hour). An identical call within 10 minutes is served from memo at 0 credits. Result status is ok, denied or error, with the reason in text. Credit class: free (0 credits).
| Argument | Type | Description |
|---|---|---|
| limit | integer | How many items to return (1–20, default 10). |
| query* | string | Words describing the statistic, in Portuguese or English (e.g. 'soja área plantada', 'unemployment rate', 'IPCA'). Accents are optional; common terms are mapped to IBGE vocabulary (unemployment → desocupação). |
| survey | string | Restricts the search to surveys whose name contains these words (e.g. 'PAM', 'PNAD Contínua', 'Censo Agropecuário'). |
| response_format | string | How much of the answer to return. `concise` (the default) carries the headline figures; `detailed` adds the row-level series behind them and counts against the export quota. |
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"query"
],
"properties": {
"limit": {
"type": "integer",
"maximum": 20,
"minimum": 1,
"description": "How many items to return (1–20, default 10)."
},
"query": {
"type": "string",
"maxLength": 120,
"minLength": 2,
"description": "Words describing the statistic, in Portuguese or English (e.g. 'soja área plantada', 'unemployment rate', 'IPCA'). Accents are optional; common terms are mapped to IBGE vocabulary (unemployment → desocupação)."
},
"survey": {
"type": "string",
"maxLength": 80,
"minLength": 2,
"description": "Restricts the search to surveys whose name contains these words (e.g. 'PAM', 'PNAD Contínua', 'Censo Agropecuário')."
},
"response_format": {
"enum": [
"concise",
"detailed"
],
"type": "string",
"description": "How much of the answer to return. `concise` (the default) carries the headline figures; `detailed` adds the row-level series behind them and counts against the export quota."
}
},
"additionalProperties": false
}We read every tool's name, description and inputs the way the model will, looking for instructions hidden from you. A clean result means no warning signs, not a guarantee. Scanned Nov 28, 2026.
| string |
| How much of the answer to return. `concise` (the default) carries the headline figures; `detailed` adds the row-level series behind them and counts against the export quota. |
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"level": {
"enum": [
"region",
"state",
"mesoregion",
"microregion",
"municipality"
],
"type": "string",
"description": "Which kind of place to return (default municipality). Each result carries the SIDRA level code to query it."
},
"limit": {
"type": "integer",
"maximum": 50,
"minimum": 1,
"description": "How many items to return (1–50, default 10)."
},
"query": {
"type": "string",
"maxLength": 80,
"minLength": 2,
"description": "Place name, accents optional (e.g. 'sorriso', 'Sao Paulo'). Omitted: every place at the level, within `state`."
},
"state": {
"type": "string",
"pattern": "^[A-Za-z]{2}$",
"description": "Two-letter state abbreviation that restricts the results (e.g. 'MT')."
},
"capitals": {
"type": "boolean",
"description": "true returns the 27 state capitals (Brasília included) as municipalities, ignoring level, query and state; their ids go straight into ibge_get_table_data `localities` at level N6."
},
"response_format": {
"enum": [
"concise",
"detailed"
],
"type": "string",
"description": "How much of the answer to return. `concise` (the default) carries the headline figures; `detailed` adds the row-level series behind them and counts against the export quota."
}
},
"additionalProperties": false
}{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"level",
"id"
],
"properties": {
"id": {
"type": "string",
"pattern": "^(BR|\\d{1,7})$",
"description": "BR for the country; region 1–5; state code (35); municipality code (3550308)."
},
"level": {
"enum": [
"country",
"region",
"state",
"municipality"
],
"type": "string",
"description": "Kind of territory."
},
"quality": {
"enum": [
"minimal",
"intermediate",
"maximal"
],
"type": "string",
"description": "Geometry detail when includeGeometry is true (default minimal; maximal can be megabytes)."
},
"includeGeometry": {
"type": "boolean",
"description": "true adds the GeoJSON polygon (refused above 300 KB, the URL is always given). Default false: centroid, area and bounding box."
},
"response_format": {
"enum": [
"concise",
"detailed"
],
"type": "string",
"description": "How much of the answer to return. `concise` (the default) carries the headline figures; `detailed` adds the row-level series behind them and counts against the export quota."
}
},
"additionalProperties": false
}| localities | array | Locality ids at `level` (state 35, municipality 3550308 — ibge_find_places returns them). Omitted: all. |
| lastPeriods | integer | How many of the most recent periods to return when periods is omitted (default 1). |
| classifications | array | Breakdowns. A classification left out is returned at its total, as IBGE does by default. |
| response_format | string | How much of the answer to return. `concise` (the default) carries the headline figures; `detailed` adds the row-level series behind them and counts against the export quota. |
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"table"
],
"properties": {
"level": {
"type": "string",
"pattern": "^N\\d{1,3}$",
"description": "Territorial level of the rows (default N1, Brazil). Must be one the table publishes."
},
"table": {
"type": "integer",
"maximum": 99999,
"minimum": 1,
"description": "SIDRA table (aggregate) id, e.g. 1612. ibge_search_tables returns ids."
},
"within": {
"type": "string",
"pattern": "^N\\d{1,3}:\\d{1,8}$",
"description": "Keeps only localities inside one parent, as 'LEVEL:id': 'N3:51' returns every municipality of Mato Grosso when level is N6."
},
"periods": {
"type": "array",
"items": {
"type": "string",
"pattern": "^\\d{4,6}$"
},
"maxItems": 60,
"minItems": 1,
"description": "Period ids as the table publishes them: '2022' (year), '202403' (month or quarter). Overrides lastPeriods."
},
"variables": {
"type": "array",
"items": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 1
},
"maxItems": 10,
"minItems": 1,
"description": "Variable ids from ibge_describe_table. Omitted: every variable except the percentage-of-total ones."
},
"localities": {
"type": "array",
"items": {
"type": "string",
"pattern": "^\\d{1,8}$"
},
"maxItems": 100,
"minItems": 1,
"description": "Locality ids at `level` (state 35, municipality 3550308 — ibge_find_places returns them). Omitted: all."
},
"lastPeriods": {
"type": "integer",
"maximum": 60,
"minimum": 1,
"description": "How many of the most recent periods to return when periods is omitted (default 1)."
},
"classifications": {
"type": "array",
"items": {
"type": "object",
"required": [
"classification",
"categories"
],
"properties": {
"categories": {
"type": "array",
"items": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"maxItems": 50,
"description": "Category ids to break the values down by; an empty list returns every category."
},
"classification": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 1,
"description": "Classification id from ibge_describe_table."
}
},
"additionalProperties": false
},
"maxItems": 4,
"description": "Breakdowns. A classification left out is returned at its total, as IBGE does by default."
},
"response_format": {
"enum": [
"concise",
"detailed"
],
"type": "string",
"description": "How much of the answer to return. `concise` (the default) carries the headline figures; `detailed` adds the row-level series behind them and counts against the export quota."
}
},
"additionalProperties": false
}| fromDatum | string | convert_datum: datum of the input point (default sad69). |
| operation* | string | `stations`: geodetic control stations of a municipality or state. `tide_gauges`: the national tide-gauge network. `convert_datum`: a point from one datum to another (ProGriD). `height_conversion`: the hgeoHNOR factor between a GNSS (ellipsoidal) height and a normal height at a point. |
| municipality | string | stations: 7-digit municipality code. |
| response_format | string | How much of the answer to return. `concise` (the default) carries the headline figures; `detailed` adds the row-level series behind them and counts against the export quota. |
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"operation"
],
"properties": {
"lat": {
"type": "number",
"maximum": 7,
"minimum": -35,
"description": "convert_datum, height_conversion: latitude in decimal degrees."
},
"lon": {
"type": "number",
"maximum": -28,
"minimum": -75,
"description": "convert_datum, height_conversion: longitude in decimal degrees."
},
"limit": {
"type": "integer",
"maximum": 50,
"minimum": 1,
"description": "How many items to return (1–50, default 20)."
},
"state": {
"type": "string",
"pattern": "^[A-Za-z]{2}$",
"description": "stations: two-letter state abbreviation (used when municipality is absent)."
},
"toDatum": {
"enum": [
"ca61",
"ca7072",
"sad69",
"sad69_96",
"sad69_96_gps",
"sirgas2000"
],
"type": "string",
"description": "convert_datum: datum to convert to (default sirgas2000)."
},
"altitude": {
"type": "number",
"maximum": 9000,
"minimum": -500,
"description": "convert_datum, height_conversion: height in metres (default 0)."
},
"fromDatum": {
"enum": [
"ca61",
"ca7072",
"sad69",
"sad69_96",
"sad69_96_gps",
"sirgas2000"
],
"type": "string",
"description": "convert_datum: datum of the input point (default sad69)."
},
"operation": {
"enum": [
"stations",
"tide_gauges",
"convert_datum",
"height_conversion"
],
"type": "string",
"description": "`stations`: geodetic control stations of a municipality or state. `tide_gauges`: the national tide-gauge network. `convert_datum`: a point from one datum to another (ProGriD). `height_conversion`: the hgeoHNOR factor between a GNSS (ellipsoidal) height and a normal height at a point."
},
"municipality": {
"type": "string",
"pattern": "^\\d{7}$",
"description": "stations: 7-digit municipality code."
},
"response_format": {
"enum": [
"concise",
"detailed"
],
"type": "string",
"description": "How much of the answer to return. `concise` (the default) carries the headline figures; `detailed` adds the row-level series behind them and counts against the export quota."
}
},
"additionalProperties": false
}{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"to": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "Latest publication date, YYYY-MM-DD."
},
"from": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "Earliest publication date, YYYY-MM-DD."
},
"type": {
"enum": [
"news",
"release"
],
"type": "string",
"description": "`release` keeps official result releases (press releases); `news` keeps editorial news. Omitted: both."
},
"limit": {
"type": "integer",
"maximum": 20,
"minimum": 1,
"description": "How many items to return (1–20, default 10)."
},
"query": {
"type": "string",
"maxLength": 80,
"minLength": 2,
"description": "Words to search in titles and text (e.g. 'safra', 'desocupação')."
},
"response_format": {
"enum": [
"concise",
"detailed"
],
"type": "string",
"description": "How much of the answer to return. `concise` (the default) carries the headline figures; `detailed` adds the row-level series behind them and counts against the export quota."
}
},
"additionalProperties": false
}