Open Economics is an MCP server published by io.github.felipegambettadesouza6-jpg, hosted at open-economics-data.knbf982hkn.chatgpt.site. When last checked on 2026-11-23 it was working: it answers and lists its tools. It declares 19 tools, including search_official_data, describe_official_dataset, get_bcb_series, get_bcb_schema, get_ibge_schema.
Discover, resolve, and query official Brazilian economic data with semantic search and provenance.
134 connections through 5 shared values. Tap any node.
Start here for a natural-language Brazilian economic-information need in Portuguese or English. Resolves the economic concept independently of current coverage, returns ranked official datasets, stable-series shortcuts, confidence, missing source integrations, and an explicit unresolved/partial state. Use this before any data query when the exact official dataset ID is unknown.
| Parameter | Type | Description |
|---|---|---|
| limit | integer | Maximum official dataset candidates to return. |
| query * | string | The user's complete economic-data need, including measure, geography, period, and breakdown when known. |
{
"name": "search_official_data",
"title": "Search Brazilian official economic data",
"description": "Start here for a natural-language Brazilian economic-information need in Portuguese or English. Resolves the economic concept independently of current coverage, returns ranked official datasets, stable-series shortcuts, confidence, missing source integrations, and an explicit unresolved/partial state. Use this before any data query when the exact official dataset ID is unknown.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"query"
],
"properties": {
"limit": {
"type": "integer",
"default": 10,
"maximum": 25,
"minimum": 1,
"description": "Maximum official dataset candidates to return."
},
"query": {
"type": "string",
"maxLength": 300,
"minLength": 2,
"description": "The user's complete economic-data need, including measure, geography, period, and breakdown when known."
}
}
},
"outputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"query",
"normalizedQuery",
"resolution",
"concepts",
"datasets",
"availability"
],
"properties": {
"query": {
"type": "string",
"description": "The original natural-language economic need."
},
"concepts": {
"type": "array",
"items": {
"type": "object",
"required": [
"id"
],
"properties": {
"id": {
"type": "string",
"description": "Stable Open Economics concept ID."
}
},
"additionalProperties": {}
},
"description": "Ranked economic concepts matched to the request."
},
"datasets": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"provider",
"sourceAgency",
"title",
"sourceUrl",
"metadataUrl"
],
"properties": {
"id": {
"type": "string",
"description": "Stable official dataset ID."
},
"title": {
"type": "string",
"description": "Official dataset title."
},
"provider": {
"type": "string",
"description": "Open Economics provider identifier."
},
"sourceUrl": {
"type": "string",
"description": "Official source URL."
},
"metadataUrl": {
"type": "string",
"description": "Official metadata URL."
},
"sourceAgency": {
"type": "string",
"description": "Official publishing agency."
}
},
"additionalProperties": {}
},
"description": "Ranked official datasets and their source identity."
},
"resolution": {
"type": "object",
"required": [
"status",
"explanation"
],
"properties": {
"status": {
"type": "string",
"description": "Resolution state for the requested concept."
},
"confidence": {
"type": "number",
"description": "Resolution confidence from 0 to 1."
},
"explanation": {
"type": "string",
"description": "Why the concept was or was not resolved."
}
},
"description": "Concept-resolution result.",
"additionalProperties": {}
},
"availability": {
"type": "object",
"required": [
"status",
"complete",
"explanation",
"missingSources"
],
"properties": {
"status": {
"type": "string",
"description": "Availability state in the current Open Economics coverage."
},
"complete": {
"type": "boolean",
"description": "Whether the requested need is completely covered."
},
"explanation": {
"type": "string",
"description": "Coverage explanation."
},
"missingSources": {
"type": "array",
"items": {
"type": "string"
},
"description": "Required source integrations that are not present."
}
},
"description": "Coverage assessment.",
"additionalProperties": {}
},
"normalizedQuery": {
"type": "string",
"description": "Normalized form used for semantic resolution."
}
},
"description": "Semantic discovery result with ranked concepts, official datasets, and coverage state.",
"additionalProperties": {}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}None yet. Changes appear after a server's second daily check.
Squares are this server's values; dots are other servers sharing them. A shared address or publisher is a lead, not proof of a common operator.
Inferred from the host name and headers: what a server runs on, not who runs it.
Get identity, publisher, collection, provenance links, query capability, and any stable Open Economics series shortcuts for an exact dataset ID returned by search_official_data. This does not fetch observations.
| Parameter | Type | Description |
|---|---|---|
| dataset_id * | string | Exact ID returned by search_official_data, such as bcb-sgs:432, ibge-aggregates:5932, siconfi:dca, tesouro-rtn:government-central, tesouro-dpf:debt-profile, comexstat:general, anp:fuel-prices, epe:electricity-consumption, mte:formal-employment, or cvm:investment-funds. |
{
"name": "describe_official_dataset",
"title": "Describe an official dataset",
"description": "Get identity, publisher, collection, provenance links, query capability, and any stable Open Economics series shortcuts for an exact dataset ID returned by search_official_data. This does not fetch observations.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"dataset_id"
],
"properties": {
"dataset_id": {
"type": "string",
"pattern": "^(?:(?:bcb-sgs|ibge-aggregates):\\d+|siconfi:(?:rreo|rgf|dca|entes)|tesouro-rtn:government-central|tesouro-dpf:debt-profile|comexstat:general|anp:fuel-prices|epe:electricity-consumption|mte:formal-employment|cvm:investment-funds)$",
"description": "Exact ID returned by search_official_data, such as bcb-sgs:432, ibge-aggregates:5932, siconfi:dca, tesouro-rtn:government-central, tesouro-dpf:debt-profile, comexstat:general, anp:fuel-prices, epe:electricity-consumption, mte:formal-employment, or cvm:investment-funds."
}
}
},
"outputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"id",
"provider",
"sourceAgency",
"title",
"sourceUrl",
"metadataUrl",
"queryCapability"
],
"properties": {
"id": {
"type": "string",
"description": "Stable official dataset ID."
},
"title": {
"type": "string",
"description": "Official dataset title."
},
"provider": {
"type": "string",
"description": "Open Economics provider identifier."
},
"sourceUrl": {
"type": "string",
"description": "Official source URL."
},
"collection": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "Official collection identifier, when supplied by the publisher."
},
"metadataUrl": {
"type": "string",
"description": "Official metadata URL."
},
"sourceAgency": {
"type": "string",
"description": "Official publishing agency."
},
"collectionName": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "Official collection name, when supplied by the publisher."
},
"queryCapability": {
"type": "string",
"description": "Supported query capability."
}
},
"description": "Official dataset identity, source, provenance, and query capability.",
"additionalProperties": {}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Retrieve official observations and authoritative schema metadata for an exact BCB SGS dataset ID. Use only after search_official_data identifies the series. Dates, units, periodicity, source, and raw values are preserved; generic access does not guess transformations.
| Parameter | Type | Description |
|---|---|---|
| end | string | Inclusive end date; defaults to today. |
| limit | integer | Maximum number of observations to return. |
| order | string | Observation order by date. |
| start | string | Inclusive start date; defaults to three years ago. |
| dataset_id * | string | Exact BCB dataset ID returned by search_official_data. |
{
"name": "get_bcb_series",
"title": "Get observations from a BCB SGS series",
"description": "Retrieve official observations and authoritative schema metadata for an exact BCB SGS dataset ID. Use only after search_official_data identifies the series. Dates, units, periodicity, source, and raw values are preserved; generic access does not guess transformations.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"dataset_id"
],
"properties": {
"end": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "Inclusive end date; defaults to today."
},
"limit": {
"type": "integer",
"default": 5000,
"maximum": 5000,
"minimum": 1,
"description": "Maximum number of observations to return."
},
"order": {
"enum": [
"asc",
"desc"
],
"type": "string",
"default": "asc",
"description": "Observation order by date."
},
"start": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "Inclusive start date; defaults to three years ago."
},
"dataset_id": {
"type": "string",
"pattern": "^bcb-sgs:\\d+$",
"description": "Exact BCB dataset ID returned by search_official_data."
}
}
},
"outputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"data",
"meta"
],
"properties": {
"data": {
"description": "Source-preserving data or schema payload for the selected official dataset."
},
"meta": {
"type": "object",
"properties": {
"dataset": {
"description": "Open Economics dataset identity when supplied."
},
"provenance": {
"description": "Upstream source URLs, versions, timestamps, and methodology details."
}
},
"description": "Response metadata and source provenance.",
"additionalProperties": {}
},
"links": {
"type": "object",
"properties": {
"self": {
"type": "string",
"description": "Canonical URL for this response."
},
"observations": {
"type": "string",
"description": "Canonical observations endpoint for this dataset."
}
},
"description": "Related API links.",
"additionalProperties": {}
}
},
"description": "REST-aligned Open Economics response with data, metadata, links, and source provenance.",
"additionalProperties": {}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Fetch authoritative metadata for an exact BCB SGS series, including full name, subject hierarchy, periodicity, unit, source, coverage dates, decimals, formula, and warnings. Use when interpreting a BCB series without retrieving observations.
| Parameter | Type | Description |
|---|---|---|
| dataset_id * | string | Exact BCB dataset ID returned by search_official_data. |
{
"name": "get_bcb_schema",
"title": "Inspect BCB series meaning and units",
"description": "Fetch authoritative metadata for an exact BCB SGS series, including full name, subject hierarchy, periodicity, unit, source, coverage dates, decimals, formula, and warnings. Use when interpreting a BCB series without retrieving observations.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"dataset_id"
],
"properties": {
"dataset_id": {
"type": "string",
"pattern": "^bcb-sgs:\\d+$",
"description": "Exact BCB dataset ID returned by search_official_data."
}
}
},
"outputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"data",
"meta"
],
"properties": {
"data": {
"description": "Source-preserving data or schema payload for the selected official dataset."
},
"meta": {
"type": "object",
"properties": {
"dataset": {
"description": "Open Economics dataset identity when supplied."
},
"provenance": {
"description": "Upstream source URLs, versions, timestamps, and methodology details."
}
},
"description": "Response metadata and source provenance.",
"additionalProperties": {}
},
"links": {
"type": "object",
"properties": {
"self": {
"type": "string",
"description": "Canonical URL for this response."
},
"observations": {
"type": "string",
"description": "Canonical observations endpoint for this dataset."
}
},
"description": "Related API links.",
"additionalProperties": {}
}
},
"description": "REST-aligned Open Economics response with data, metadata, links, and source provenance.",
"additionalProperties": {}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Fetch official metadata for an IBGE aggregate selected by search_official_data. Always use this before get_ibge_data unless the official variable, locality, and classification IDs are already known. It prevents guessing a measure or dimensional slice.
| Parameter | Type | Description |
|---|---|---|
| dataset_id * | string | Exact IBGE aggregate ID returned by search_official_data. |
{
"name": "get_ibge_schema",
"title": "Inspect an IBGE aggregate's measures and dimensions",
"description": "Fetch official metadata for an IBGE aggregate selected by search_official_data. Always use this before get_ibge_data unless the official variable, locality, and classification IDs are already known. It prevents guessing a measure or dimensional slice.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"dataset_id"
],
"properties": {
"dataset_id": {
"type": "string",
"pattern": "^ibge-aggregates:\\d+$",
"description": "Exact IBGE aggregate ID returned by search_official_data."
}
}
},
"outputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"data",
"meta"
],
"properties": {
"data": {
"description": "Source-preserving data or schema payload for the selected official dataset."
},
"meta": {
"type": "object",
"properties": {
"dataset": {
"description": "Open Economics dataset identity when supplied."
},
"provenance": {
"description": "Upstream source URLs, versions, timestamps, and methodology details."
}
},
"description": "Response metadata and source provenance.",
"additionalProperties": {}
},
"links": {
"type": "object",
"properties": {
"self": {
"type": "string",
"description": "Canonical URL for this response."
},
"observations": {
"type": "string",
"description": "Canonical observations endpoint for this dataset."
}
},
"description": "Related API links.",
"additionalProperties": {}
}
},
"description": "REST-aligned Open Economics response with data, metadata, links, and source provenance.",
"additionalProperties": {}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Retrieve an explicit slice of an IBGE aggregate after inspecting its schema. Returns variables containing classification selections, geographies, and observations; official suppression, missing, quality-flag, and zero states remain distinct.
| Parameter | Type | Description |
|---|---|---|
| periods | string | Recent-period shorthand such as -12, or explicit official period IDs separated by |. |
| locality | string | BR or an explicit IBGE geography selection such as N3[35]. |
| variable * | string | One or more official variable IDs separated by |. |
| dataset_id * | string | Exact IBGE aggregate ID returned by search_official_data. |
| classification | string | Explicit classification selections from the schema, such as 11255[90707]. |
{
"name": "get_ibge_data",
"title": "Query multidimensional IBGE data",
"description": "Retrieve an explicit slice of an IBGE aggregate after inspecting its schema. Returns variables containing classification selections, geographies, and observations; official suppression, missing, quality-flag, and zero states remain distinct.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"dataset_id",
"variable"
],
"properties": {
"periods": {
"type": "string",
"default": "-12",
"pattern": "^(?:-\\d{1,3}|\\d{4,6}(?:\\|\\d{4,6}){0,119})$",
"description": "Recent-period shorthand such as -12, or explicit official period IDs separated by |."
},
"locality": {
"type": "string",
"default": "BR",
"pattern": "^(?:BR|N\\d{1,2}\\[(?:all|\\d+(?:,\\d+)*)\\])$",
"description": "BR or an explicit IBGE geography selection such as N3[35]."
},
"variable": {
"type": "string",
"pattern": "^\\d+(?:\\|\\d+)*$",
"description": "One or more official variable IDs separated by |."
},
"dataset_id": {
"type": "string",
"pattern": "^ibge-aggregates:\\d+$",
"description": "Exact IBGE aggregate ID returned by search_official_data."
},
"classification": {
"type": "string",
"pattern": "^\\d+\\[(?:all|\\d+(?:,\\d+)*)\\](?:\\|\\d+\\[(?:all|\\d+(?:,\\d+)*)\\])*$",
"description": "Explicit classification selections from the schema, such as 11255[90707]."
}
}
},
"outputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"data",
"meta"
],
"properties": {
"data": {
"description": "Source-preserving data or schema payload for the selected official dataset."
},
"meta": {
"type": "object",
"properties": {
"dataset": {
"description": "Open Economics dataset identity when supplied."
},
"provenance": {
"description": "Upstream source URLs, versions, timestamps, and methodology details."
}
},
"description": "Response metadata and source provenance.",
"additionalProperties": {}
},
"links": {
"type": "object",
"properties": {
"self": {
"type": "string",
"description": "Canonical URL for this response."
},
"observations": {
"type": "string",
"description": "Canonical observations endpoint for this dataset."
}
},
"description": "Related API links.",
"additionalProperties": {}
}
},
"description": "REST-aligned Open Economics response with data, metadata, links, and source provenance.",
"additionalProperties": {}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Get the meaning and required selection fields for an exact SICONFI dataset returned by search_official_data. Use this before get_siconfi_data so entity, reporting period, report type, government branch, and annex are explicit rather than guessed.
| Parameter | Type | Description |
|---|---|---|
| dataset_id * | string | Exact SICONFI dataset ID returned by search_official_data. |
{
"name": "get_siconfi_schema",
"title": "Inspect a SICONFI fiscal report",
"description": "Get the meaning and required selection fields for an exact SICONFI dataset returned by search_official_data. Use this before get_siconfi_data so entity, reporting period, report type, government branch, and annex are explicit rather than guessed.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"dataset_id"
],
"properties": {
"dataset_id": {
"type": "string",
"pattern": "^siconfi:(?:rreo|rgf|dca|entes)$",
"description": "Exact SICONFI dataset ID returned by search_official_data."
}
}
},
"outputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"data",
"meta"
],
"properties": {
"data": {
"description": "Source-preserving data or schema payload for the selected official dataset."
},
"meta": {
"type": "object",
"properties": {
"dataset": {
"description": "Open Economics dataset identity when supplied."
},
"provenance": {
"description": "Upstream source URLs, versions, timestamps, and methodology details."
}
},
"description": "Response metadata and source provenance.",
"additionalProperties": {}
},
"links": {
"type": "object",
"properties": {
"self": {
"type": "string",
"description": "Canonical URL for this response."
},
"observations": {
"type": "string",
"description": "Canonical observations endpoint for this dataset."
}
},
"description": "Related API links.",
"additionalProperties": {}
}
},
"description": "REST-aligned Open Economics response with data, metadata, links, and source provenance.",
"additionalProperties": {}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Retrieve an explicit official SICONFI DCA, RREO, RGF, or entity-registry selection. First inspect the schema. This tool preserves account, column, annex, period, entity, raw value fields, and upstream provenance without aggregating or substituting concepts.
| Parameter | Type | Description |
|---|---|---|
| year | integer | Calendar year of the official report. |
| annex | string | Exact official annex name from the SICONFI documentation. |
| power | string | RGF government branch. |
| entity | integer | Official IBGE entity code. |
| period | integer | RREO bimestre (1-6) or RGF period (1-3). |
| sphere | string | Government sphere: municipal, state, federal, or consortium. |
| dataset_id * | string | Exact SICONFI dataset ID returned by search_official_data. |
| periodicity | string | RGF only: four-month (Q) or half-year (S). |
| report_type | string | Official SICONFI report type for the selected dataset. |
{
"name": "get_siconfi_data",
"title": "Query official SICONFI fiscal data",
"description": "Retrieve an explicit official SICONFI DCA, RREO, RGF, or entity-registry selection. First inspect the schema. This tool preserves account, column, annex, period, entity, raw value fields, and upstream provenance without aggregating or substituting concepts.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"dataset_id"
],
"properties": {
"year": {
"type": "integer",
"maximum": 2100,
"minimum": 2013,
"description": "Calendar year of the official report."
},
"annex": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "Exact official annex name from the SICONFI documentation."
},
"power": {
"enum": [
"E",
"L",
"J",
"M",
"D"
],
"type": "string",
"description": "RGF government branch."
},
"entity": {
"type": "integer",
"maximum": 9999999,
"minimum": 1,
"description": "Official IBGE entity code."
},
"period": {
"type": "integer",
"maximum": 6,
"minimum": 1,
"description": "RREO bimestre (1-6) or RGF period (1-3)."
},
"sphere": {
"enum": [
"M",
"E",
"U",
"C"
],
"type": "string",
"description": "Government sphere: municipal, state, federal, or consortium."
},
"dataset_id": {
"type": "string",
"pattern": "^siconfi:(?:rreo|rgf|dca|entes)$",
"description": "Exact SICONFI dataset ID returned by search_official_data."
},
"periodicity": {
"enum": [
"Q",
"S"
],
"type": "string",
"description": "RGF only: four-month (Q) or half-year (S)."
},
"report_type": {
"enum": [
"RREO",
"RREO Simplificado",
"RGF",
"RGF Simplificado"
],
"type": "string",
"description": "Official SICONFI report type for the selected dataset."
}
}
},
"outputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"data",
"meta"
],
"properties": {
"data": {
"description": "Source-preserving data or schema payload for the selected official dataset."
},
"meta": {
"type": "object",
"properties": {
"dataset": {
"description": "Open Economics dataset identity when supplied."
},
"provenance": {
"description": "Upstream source URLs, versions, timestamps, and methodology details."
}
},
"description": "Response metadata and source provenance.",
"additionalProperties": {}
},
"links": {
"type": "object",
"properties": {
"self": {
"type": "string",
"description": "Canonical URL for this response."
},
"observations": {
"type": "string",
"description": "Canonical observations endpoint for this dataset."
}
},
"description": "Related API links.",
"additionalProperties": {}
}
},
"description": "REST-aligned Open Economics response with data, metadata, links, and source provenance.",
"additionalProperties": {}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Retrieve a bounded, explicit MDIC Comex Stat export or import slice from 1997 onward. Use comexstat:general only after search_official_data. Select period, dimensions, metrics, and optional official filter codes; partner, product, state, transport, classification, and raw metric fields remain attached to the result.
| Parameter | Type | Description |
|---|---|---|
| to * | string | Last month, YYYY-MM. |
| flow * | string | Trade direction to retrieve. |
| from * | string | First month, YYYY-MM. |
| details | array | Official dimensions to include, up to eight. |
| filters | array | Optional official dimension filters. |
| metrics | array | Official Comex Stat metrics to return. |
| language | string | Language for labels in the upstream response. |
| dataset_id * | string | The official MDIC Comex Stat dataset identifier. |
| month_detail | boolean | Whether to keep month-level detail in the response. |
{
"name": "get_comexstat_data",
"title": "Query official Brazilian merchandise trade",
"description": "Retrieve a bounded, explicit MDIC Comex Stat export or import slice from 1997 onward. Use comexstat:general only after search_official_data. Select period, dimensions, metrics, and optional official filter codes; partner, product, state, transport, classification, and raw metric fields remain attached to the result.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"dataset_id",
"flow",
"from",
"to"
],
"properties": {
"to": {
"type": "string",
"pattern": "^\\d{4}-(?:0[1-9]|1[0-2])$",
"description": "Last month, YYYY-MM."
},
"flow": {
"enum": [
"export",
"import"
],
"type": "string",
"description": "Trade direction to retrieve."
},
"from": {
"type": "string",
"pattern": "^\\d{4}-(?:0[1-9]|1[0-2])$",
"description": "First month, YYYY-MM."
},
"details": {
"type": "array",
"items": {
"enum": [
"country",
"economicBlock",
"state",
"via",
"urf",
"ncm",
"subHeading",
"heading",
"chapter",
"section",
"BECLevel3",
"BECLevel2",
"BECLevel1",
"SITCBasicHeading",
"SITCSubGroup",
"SITCGroup",
"SITCDivision",
"SITCSection",
"ISICClass",
"ISICGroup",
"ISICDivision",
"ISICSection"
],
"type": "string"
},
"default": [],
"maxItems": 8,
"description": "Official dimensions to include, up to eight."
},
"filters": {
"type": "array",
"items": {
"type": "object",
"required": [
"filter",
"values"
],
"properties": {
"filter": {
"enum": [
"country",
"economicBlock",
"state",
"via",
"urf",
"ncm",
"subHeading",
"heading",
"chapter",
"section",
"BECLevel3",
"BECLevel2",
"BECLevel1",
"SITCBasicHeading",
"SITCSubGroup",
"SITCGroup",
"SITCDivision",
"SITCSection",
"ISICClass",
"ISICGroup",
"ISICDivision",
"ISICSection"
],
"type": "string",
"description": "Official dimension code to filter."
},
"values": {
"type": "array",
"items": {
"anyOf": [
{
"type": "string",
"maxLength": 30
},
{
"type": "number"
}
]
},
"maxItems": 50,
"minItems": 1,
"description": "One or more official filter values."
}
}
},
"default": [],
"maxItems": 6,
"description": "Optional official dimension filters."
},
"metrics": {
"type": "array",
"items": {
"enum": [
"metricFOB",
"metricKG",
"metricStatistic",
"metricFreight",
"metricInsurance",
"metricCIF"
],
"type": "string"
},
"default": [
"metricFOB"
],
"maxItems": 6,
"description": "Official Comex Stat metrics to return."
},
"language": {
"enum": [
"pt",
"en",
"es"
],
"type": "string",
"default": "pt",
"description": "Language for labels in the upstream response."
},
"dataset_id": {
"type": "string",
"const": "comexstat:general",
"description": "The official MDIC Comex Stat dataset identifier."
},
"month_detail": {
"type": "boolean",
"default": true,
"description": "Whether to keep month-level detail in the response."
}
}
},
"outputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"data",
"meta"
],
"properties": {
"data": {
"description": "Source-preserving data or schema payload for the selected official dataset."
},
"meta": {
"type": "object",
"properties": {
"dataset": {
"description": "Open Economics dataset identity when supplied."
},
"provenance": {
"description": "Upstream source URLs, versions, timestamps, and methodology details."
}
},
"description": "Response metadata and source provenance.",
"additionalProperties": {}
},
"links": {
"type": "object",
"properties": {
"self": {
"type": "string",
"description": "Canonical URL for this response."
},
"observations": {
"type": "string",
"description": "Canonical observations endpoint for this dataset."
}
},
"description": "Related API links.",
"additionalProperties": {}
}
},
"description": "REST-aligned Open Economics response with data, metadata, links, and source provenance.",
"additionalProperties": {}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Retrieve auditable fuel and GLP price statistics calculated from official ANP station observations. Omit year and month for the rolling latest four weeks, or provide both for a published monthly file from 2023 onward. Results retain period, product, geography, unit, sample count, source URL, and the disclosed aggregation method while excluding station identity and addresses.
| Parameter | Type | Description |
|---|---|---|
| year | integer | Published source year; provide with month for a monthly file. |
| limit | integer | Maximum aggregate rows to return. |
| month | integer | Published source month; provide with year for a monthly file. |
| state | string | Two-letter Brazilian state code when geography is state or municipality. |
| period | string | Reporting period granularity. |
| product | string | Exact ANP product label, for example GASOLINA or ETANOL. |
| geography | string | Geographic aggregation level. |
| dataset_id * | string | The official ANP fuel-prices dataset identifier. |
| fuel_group * | string | ANP product group to retrieve. |
| municipality | string | Municipality name when geography is municipality. |
{
"name": "get_anp_fuel_prices",
"title": "Query official ANP fuel prices",
"description": "Retrieve auditable fuel and GLP price statistics calculated from official ANP station observations. Omit year and month for the rolling latest four weeks, or provide both for a published monthly file from 2023 onward. Results retain period, product, geography, unit, sample count, source URL, and the disclosed aggregation method while excluding station identity and addresses.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"dataset_id",
"fuel_group"
],
"properties": {
"year": {
"type": "integer",
"maximum": 2100,
"minimum": 2023,
"description": "Published source year; provide with month for a monthly file."
},
"limit": {
"type": "integer",
"default": 1000,
"maximum": 5000,
"minimum": 1,
"description": "Maximum aggregate rows to return."
},
"month": {
"type": "integer",
"maximum": 12,
"minimum": 1,
"description": "Published source month; provide with year for a monthly file."
},
"state": {
"type": "string",
"pattern": "^[A-Za-z]{2}$",
"description": "Two-letter Brazilian state code when geography is state or municipality."
},
"period": {
"enum": [
"week",
"month"
],
"type": "string",
"default": "week",
"description": "Reporting period granularity."
},
"product": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "Exact ANP product label, for example GASOLINA or ETANOL."
},
"geography": {
"enum": [
"country",
"region",
"state",
"municipality"
],
"type": "string",
"default": "country",
"description": "Geographic aggregation level."
},
"dataset_id": {
"type": "string",
"const": "anp:fuel-prices",
"description": "The official ANP fuel-prices dataset identifier."
},
"fuel_group": {
"enum": [
"gasoline-ethanol",
"diesel-gnv",
"glp"
],
"type": "string",
"description": "ANP product group to retrieve."
},
"municipality": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "Municipality name when geography is municipality."
}
}
},
"outputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"data",
"meta"
],
"properties": {
"data": {
"description": "Source-preserving data or schema payload for the selected official dataset."
},
"meta": {
"type": "object",
"properties": {
"dataset": {
"description": "Open Economics dataset identity when supplied."
},
"provenance": {
"description": "Upstream source URLs, versions, timestamps, and methodology details."
}
},
"description": "Response metadata and source provenance.",
"additionalProperties": {}
},
"links": {
"type": "object",
"properties": {
"self": {
"type": "string",
"description": "Canonical URL for this response."
},
"observations": {
"type": "string",
"description": "Canonical observations endpoint for this dataset."
}
},
"description": "Related API links.",
"additionalProperties": {}
}
},
"description": "REST-aligned Open Economics response with data, metadata, links, and source provenance.",
"additionalProperties": {}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Retrieve monthly EPE electricity consumption and consumer counts from 2004 onward. Select a bounded period, country/region/UF geography, consumption classes, and regulated/free market. The response identifies the exact synchronized official workbook version and discloses aggregation across source system rows.
| Parameter | Type | Description |
|---|---|---|
| to | string | Inclusive last month, YYYY-MM. |
| from | string | Inclusive first month, YYYY-MM. |
| limit | integer | Maximum rows to return. |
| states | array | Optional official state codes when geography is state. |
| classes | array | Consumption classes to include. |
| markets | array | Electricity-market segments to include. |
| regions | array | Optional official regions when geography is region. |
| geography | string | Geographic aggregation level. |
| dataset_id * | string | The official EPE electricity-consumption dataset identifier. |
{
"name": "get_epe_electricity_consumption",
"title": "Query official electricity consumption",
"description": "Retrieve monthly EPE electricity consumption and consumer counts from 2004 onward. Select a bounded period, country/region/UF geography, consumption classes, and regulated/free market. The response identifies the exact synchronized official workbook version and discloses aggregation across source system rows.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"dataset_id"
],
"properties": {
"to": {
"type": "string",
"pattern": "^\\d{4}-(?:0[1-9]|1[0-2])$",
"description": "Inclusive last month, YYYY-MM."
},
"from": {
"type": "string",
"pattern": "^\\d{4}-(?:0[1-9]|1[0-2])$",
"description": "Inclusive first month, YYYY-MM."
},
"limit": {
"type": "integer",
"default": 1000,
"maximum": 5000,
"minimum": 1,
"description": "Maximum rows to return."
},
"states": {
"type": "array",
"items": {
"enum": [
"AC",
"AL",
"AM",
"AP",
"BA",
"CE",
"DF",
"ES",
"GO",
"MA",
"MG",
"MS",
"MT",
"PA",
"PB",
"PE",
"PI",
"PR",
"RJ",
"RN",
"RO",
"RR",
"RS",
"SC",
"SE",
"SP",
"TO"
],
"type": "string"
},
"default": [],
"maxItems": 8,
"description": "Optional official state codes when geography is state."
},
"classes": {
"type": "array",
"items": {
"enum": [
"Comercial",
"Industrial",
"Outros",
"Residencial",
"Rural"
],
"type": "string"
},
"default": [
"Comercial",
"Industrial",
"Outros",
"Residencial",
"Rural"
],
"maxItems": 5,
"description": "Consumption classes to include."
},
"markets": {
"type": "array",
"items": {
"enum": [
"Cativo",
"Livre"
],
"type": "string"
},
"default": [
"Cativo",
"Livre"
],
"maxItems": 2,
"description": "Electricity-market segments to include."
},
"regions": {
"type": "array",
"items": {
"enum": [
"Centro-Oeste",
"Nordeste",
"Norte",
"Sudeste",
"Sul"
],
"type": "string"
},
"default": [],
"maxItems": 5,
"description": "Optional official regions when geography is region."
},
"geography": {
"enum": [
"country",
"region",
"state"
],
"type": "string",
"default": "country",
"description": "Geographic aggregation level."
},
"dataset_id": {
"type": "string",
"const": "epe:electricity-consumption",
"description": "The official EPE electricity-consumption dataset identifier."
}
}
},
"outputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"data",
"meta"
],
"properties": {
"data": {
"description": "Source-preserving data or schema payload for the selected official dataset."
},
"meta": {
"type": "object",
"properties": {
"dataset": {
"description": "Open Economics dataset identity when supplied."
},
"provenance": {
"description": "Upstream source URLs, versions, timestamps, and methodology details."
}
},
"description": "Response metadata and source provenance.",
"additionalProperties": {}
},
"links": {
"type": "object",
"properties": {
"self": {
"type": "string",
"description": "Canonical URL for this response."
},
"observations": {
"type": "string",
"description": "Canonical observations endpoint for this dataset."
}
},
"description": "Related API links.",
"additionalProperties": {}
}
},
"description": "REST-aligned Open Economics response with data, metadata, links, and source provenance.",
"additionalProperties": {}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Inspect the official adjusted Novo Caged selection contract, source vintage, measure meanings, available industry IDs, and the constraint that geography and industry come from separate official tables. Use before an industry query.
| Parameter | Type | Description |
|---|---|---|
| dataset_id * | string | The official MTE Novo Caged dataset identifier. |
{
"name": "get_mte_formal_employment_schema",
"title": "Inspect Novo Caged dimensions and measures",
"description": "Inspect the official adjusted Novo Caged selection contract, source vintage, measure meanings, available industry IDs, and the constraint that geography and industry come from separate official tables. Use before an industry query.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"dataset_id"
],
"properties": {
"dataset_id": {
"type": "string",
"const": "mte:formal-employment",
"description": "The official MTE Novo Caged dataset identifier."
}
}
},
"outputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"data",
"meta"
],
"properties": {
"data": {
"description": "Source-preserving data or schema payload for the selected official dataset."
},
"meta": {
"type": "object",
"properties": {
"dataset": {
"description": "Open Economics dataset identity when supplied."
},
"provenance": {
"description": "Upstream source URLs, versions, timestamps, and methodology details."
}
},
"description": "Response metadata and source provenance.",
"additionalProperties": {}
},
"links": {
"type": "object",
"properties": {
"self": {
"type": "string",
"description": "Canonical URL for this response."
},
"observations": {
"type": "string",
"description": "Canonical observations endpoint for this dataset."
}
},
"description": "Related API links.",
"additionalProperties": {}
}
},
"description": "REST-aligned Open Economics response with data, metadata, links, and source provenance.",
"additionalProperties": {}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Retrieve revised monthly Novo Caged stock, admissions, dismissals, balance, and relative change from 2020 onward. Select exactly one official breakdown: country, region, state, or economic activity. The response preserves the MTE workbook vintage and never synthesizes state-by-industry values.
| Parameter | Type | Description |
|---|---|---|
| to | string | Inclusive last month, YYYY-MM. |
| from | string | Inclusive first month, YYYY-MM. |
| limit | integer | Maximum rows to return. |
| states | array | Optional official state codes when breakdown is state. |
| regions | array | Optional official regions when breakdown is region. |
| breakdown | string | Official breakdown for the employment result. |
| dataset_id * | string | The official MTE Novo Caged dataset identifier. |
| industries | array | Exact official activity IDs returned by get_mte_formal_employment_schema; empty means all activities. |
{
"name": "get_mte_formal_employment",
"title": "Query official formal-employment stock and flows",
"description": "Retrieve revised monthly Novo Caged stock, admissions, dismissals, balance, and relative change from 2020 onward. Select exactly one official breakdown: country, region, state, or economic activity. The response preserves the MTE workbook vintage and never synthesizes state-by-industry values.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"dataset_id"
],
"properties": {
"to": {
"type": "string",
"pattern": "^\\d{4}-(?:0[1-9]|1[0-2])$",
"description": "Inclusive last month, YYYY-MM."
},
"from": {
"type": "string",
"pattern": "^\\d{4}-(?:0[1-9]|1[0-2])$",
"description": "Inclusive first month, YYYY-MM."
},
"limit": {
"type": "integer",
"default": 1000,
"maximum": 5000,
"minimum": 1,
"description": "Maximum rows to return."
},
"states": {
"type": "array",
"items": {
"enum": [
"AC",
"AL",
"AM",
"AP",
"BA",
"CE",
"DF",
"ES",
"GO",
"MA",
"MG",
"MS",
"MT",
"PA",
"PB",
"PE",
"PI",
"PR",
"RJ",
"RN",
"RO",
"RR",
"RS",
"SC",
"SE",
"SP",
"TO"
],
"type": "string"
},
"default": [],
"maxItems": 27,
"description": "Optional official state codes when breakdown is state."
},
"regions": {
"type": "array",
"items": {
"enum": [
"Centro-Oeste",
"Nordeste",
"Norte",
"Sudeste",
"Sul"
],
"type": "string"
},
"default": [],
"maxItems": 5,
"description": "Optional official regions when breakdown is region."
},
"breakdown": {
"enum": [
"country",
"region",
"state",
"industry"
],
"type": "string",
"default": "country",
"description": "Official breakdown for the employment result."
},
"dataset_id": {
"type": "string",
"const": "mte:formal-employment",
"description": "The official MTE Novo Caged dataset identifier."
},
"industries": {
"type": "array",
"items": {
"type": "string",
"pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*$"
},
"default": [],
"maxItems": 26,
"description": "Exact official activity IDs returned by get_mte_formal_employment_schema; empty means all activities."
}
}
},
"outputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"data",
"meta"
],
"properties": {
"data": {
"description": "Source-preserving data or schema payload for the selected official dataset."
},
"meta": {
"type": "object",
"properties": {
"dataset": {
"description": "Open Economics dataset identity when supplied."
},
"provenance": {
"description": "Upstream source URLs, versions, timestamps, and methodology details."
}
},
"description": "Response metadata and source provenance.",
"additionalProperties": {}
},
"links": {
"type": "object",
"properties": {
"self": {
"type": "string",
"description": "Canonical URL for this response."
},
"observations": {
"type": "string",
"description": "Canonical observations endpoint for this dataset."
}
},
"description": "Related API links.",
"additionalProperties": {}
}
},
"description": "REST-aligned Open Economics response with data, metadata, links, and source provenance.",
"additionalProperties": {}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Inspect the synchronized CVM daily-report window, official classifications, fund-search contract, measure meanings, and aggregation constraints. Use before querying a fund by name or comparing classes.
| Parameter | Type | Description |
|---|---|---|
| dataset_id * | string | The official CVM investment-funds dataset identifier. |
{
"name": "get_cvm_investment_funds_schema",
"title": "Inspect CVM investment-fund measures and dimensions",
"description": "Inspect the synchronized CVM daily-report window, official classifications, fund-search contract, measure meanings, and aggregation constraints. Use before querying a fund by name or comparing classes.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"dataset_id"
],
"properties": {
"dataset_id": {
"type": "string",
"const": "cvm:investment-funds",
"description": "The official CVM investment-funds dataset identifier."
}
}
},
"outputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"data",
"meta"
],
"properties": {
"data": {
"description": "Source-preserving data or schema payload for the selected official dataset."
},
"meta": {
"type": "object",
"properties": {
"dataset": {
"description": "Open Economics dataset identity when supplied."
},
"provenance": {
"description": "Upstream source URLs, versions, timestamps, and methodology details."
}
},
"description": "Response metadata and source provenance.",
"additionalProperties": {}
},
"links": {
"type": "object",
"properties": {
"self": {
"type": "string",
"description": "Canonical URL for this response."
},
"observations": {
"type": "string",
"description": "Canonical observations endpoint for this dataset."
}
},
"description": "Related API links.",
"additionalProperties": {}
}
},
"description": "REST-aligned Open Economics response with data, metadata, links, and source provenance.",
"additionalProperties": {}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Inspect RTN table 1.2 account IDs, hierarchy, current-value unit, coverage, source vintage, and above/below-the-line constraints. Use before selecting revenue or expenditure categories.
| Parameter | Type | Description |
|---|---|---|
| dataset_id * | string | The official Tesouro Nacional RTN dataset identifier. |
{
"name": "get_tesouro_rtn_schema",
"title": "Inspect Government Central fiscal accounts",
"description": "Inspect RTN table 1.2 account IDs, hierarchy, current-value unit, coverage, source vintage, and above/below-the-line constraints. Use before selecting revenue or expenditure categories.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"dataset_id"
],
"properties": {
"dataset_id": {
"type": "string",
"const": "tesouro-rtn:government-central",
"description": "The official Tesouro Nacional RTN dataset identifier."
}
}
},
"outputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"data",
"meta"
],
"properties": {
"data": {
"description": "Source-preserving data or schema payload for the selected official dataset."
},
"meta": {
"type": "object",
"properties": {
"dataset": {
"description": "Open Economics dataset identity when supplied."
},
"provenance": {
"description": "Upstream source URLs, versions, timestamps, and methodology details."
}
},
"description": "Response metadata and source provenance.",
"additionalProperties": {}
},
"links": {
"type": "object",
"properties": {
"self": {
"type": "string",
"description": "Canonical URL for this response."
},
"observations": {
"type": "string",
"description": "Canonical observations endpoint for this dataset."
}
},
"description": "Related API links.",
"additionalProperties": {}
}
},
"description": "REST-aligned Open Economics response with data, metadata, links, and source provenance.",
"additionalProperties": {}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Retrieve monthly current-value RTN accounts from 1997 onward. Defaults to total revenue, transfers, net revenue, total expenditure, and the above-the-line primary result; select exact account IDs or search account labels for detail.
| Parameter | Type | Description |
|---|---|---|
| to | string | Inclusive last month, YYYY-MM. |
| from | string | Inclusive first month, YYYY-MM. |
| limit | integer | Maximum account rows to return. |
| query | string | Account-label search; omit accounts to search the full tree. |
| accounts | array | Exact account IDs returned by get_tesouro_rtn_schema. |
| dataset_id * | string | The official Tesouro Nacional RTN dataset identifier. |
{
"name": "get_tesouro_rtn",
"title": "Query Government Central revenue, expenditure, and result",
"description": "Retrieve monthly current-value RTN accounts from 1997 onward. Defaults to total revenue, transfers, net revenue, total expenditure, and the above-the-line primary result; select exact account IDs or search account labels for detail.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"dataset_id"
],
"properties": {
"to": {
"type": "string",
"pattern": "^\\d{4}-(?:0[1-9]|1[0-2])$",
"description": "Inclusive last month, YYYY-MM."
},
"from": {
"type": "string",
"pattern": "^\\d{4}-(?:0[1-9]|1[0-2])$",
"description": "Inclusive first month, YYYY-MM."
},
"limit": {
"type": "integer",
"default": 1000,
"maximum": 5000,
"minimum": 1,
"description": "Maximum account rows to return."
},
"query": {
"type": "string",
"maxLength": 120,
"minLength": 2,
"description": "Account-label search; omit accounts to search the full tree."
},
"accounts": {
"type": "array",
"items": {
"type": "string",
"pattern": "^\\d+(?:\\.\\d+)*$"
},
"default": [],
"maxItems": 8,
"description": "Exact account IDs returned by get_tesouro_rtn_schema."
},
"dataset_id": {
"type": "string",
"const": "tesouro-rtn:government-central",
"description": "The official Tesouro Nacional RTN dataset identifier."
}
}
},
"outputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"data",
"meta"
],
"properties": {
"data": {
"description": "Source-preserving data or schema payload for the selected official dataset."
},
"meta": {
"type": "object",
"properties": {
"dataset": {
"description": "Open Economics dataset identity when supplied."
},
"provenance": {
"description": "Upstream source URLs, versions, timestamps, and methodology details."
}
},
"description": "Response metadata and source provenance.",
"additionalProperties": {}
},
"links": {
"type": "object",
"properties": {
"self": {
"type": "string",
"description": "Canonical URL for this response."
},
"observations": {
"type": "string",
"description": "Canonical observations endpoint for this dataset."
}
},
"description": "Related API links.",
"additionalProperties": {}
}
},
"description": "REST-aligned Open Economics response with data, metadata, links, and source provenance.",
"additionalProperties": {}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Inspect the six versioned RMD annex tables, their distinct units and coverage, category IDs, holder definitions, source publication, and methodological constraints before selecting data.
| Parameter | Type | Description |
|---|---|---|
| dataset_id * | string | The official Tesouro Nacional DPF debt-profile dataset identifier. |
{
"name": "get_tesouro_dpf_schema",
"title": "Inspect Federal Public Debt statistics",
"description": "Inspect the six versioned RMD annex tables, their distinct units and coverage, category IDs, holder definitions, source publication, and methodological constraints before selecting data.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"dataset_id"
],
"properties": {
"dataset_id": {
"type": "string",
"const": "tesouro-dpf:debt-profile",
"description": "The official Tesouro Nacional DPF debt-profile dataset identifier."
}
}
},
"outputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"data",
"meta"
],
"properties": {
"data": {
"description": "Source-preserving data or schema payload for the selected official dataset."
},
"meta": {
"type": "object",
"properties": {
"dataset": {
"description": "Open Economics dataset identity when supplied."
},
"provenance": {
"description": "Upstream source URLs, versions, timestamps, and methodology details."
}
},
"description": "Response metadata and source provenance.",
"additionalProperties": {}
},
"links": {
"type": "object",
"properties": {
"self": {
"type": "string",
"description": "Canonical URL for this response."
},
"observations": {
"type": "string",
"description": "Canonical observations endpoint for this dataset."
}
},
"description": "Related API links.",
"additionalProperties": {}
}
},
"description": "REST-aligned Open Economics response with data, metadata, links, and source provenance.",
"additionalProperties": {}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Retrieve one official monthly RMD table at a time: debt composition, DPMFi holders, average maturity, average maturity by indexer, monthly cost, or twelve-month cost. Units remain table-specific and are never combined.
| Parameter | Type | Description |
|---|---|---|
| to | string | Inclusive last month, YYYY-MM. |
| from | string | Inclusive first month, YYYY-MM. |
| limit | integer | Maximum debt-statistics rows to return. |
| query | string | Category-label search; useful when category IDs are unknown. |
| table | string | Versioned RMD table to retrieve. |
| categories | array | Exact category IDs returned for the selected table by get_tesouro_dpf_schema. |
| dataset_id * | string | The official Tesouro Nacional DPF debt-profile dataset identifier. |
{
"name": "get_tesouro_dpf",
"title": "Query Federal Public Debt statistics",
"description": "Retrieve one official monthly RMD table at a time: debt composition, DPMFi holders, average maturity, average maturity by indexer, monthly cost, or twelve-month cost. Units remain table-specific and are never combined.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"dataset_id"
],
"properties": {
"to": {
"type": "string",
"pattern": "^\\d{4}-(?:0[1-9]|1[0-2])$",
"description": "Inclusive last month, YYYY-MM."
},
"from": {
"type": "string",
"pattern": "^\\d{4}-(?:0[1-9]|1[0-2])$",
"description": "Inclusive first month, YYYY-MM."
},
"limit": {
"type": "integer",
"default": 1000,
"maximum": 5000,
"minimum": 1,
"description": "Maximum debt-statistics rows to return."
},
"query": {
"type": "string",
"maxLength": 120,
"minLength": 2,
"description": "Category-label search; useful when category IDs are unknown."
},
"table": {
"enum": [
"composition",
"holders",
"average-maturity",
"average-maturity-by-indexer",
"monthly-cost",
"twelve-month-cost"
],
"type": "string",
"default": "composition",
"description": "Versioned RMD table to retrieve."
},
"categories": {
"type": "array",
"items": {
"type": "string",
"pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*$"
},
"default": [],
"maxItems": 8,
"description": "Exact category IDs returned for the selected table by get_tesouro_dpf_schema."
},
"dataset_id": {
"type": "string",
"const": "tesouro-dpf:debt-profile",
"description": "The official Tesouro Nacional DPF debt-profile dataset identifier."
}
}
},
"outputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"data",
"meta"
],
"properties": {
"data": {
"description": "Source-preserving data or schema payload for the selected official dataset."
},
"meta": {
"type": "object",
"properties": {
"dataset": {
"description": "Open Economics dataset identity when supplied."
},
"provenance": {
"description": "Upstream source URLs, versions, timestamps, and methodology details."
}
},
"description": "Response metadata and source provenance.",
"additionalProperties": {}
},
"links": {
"type": "object",
"properties": {
"self": {
"type": "string",
"description": "Canonical URL for this response."
},
"observations": {
"type": "string",
"description": "Canonical observations endpoint for this dataset."
}
},
"description": "Related API links.",
"additionalProperties": {}
}
},
"description": "REST-aligned Open Economics response with data, metadata, links, and source provenance.",
"additionalProperties": {}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Retrieve daily CVM aggregates by official fund classification or resolve a fund/class latest report by CNPJ or name. Net assets and flows are additive; quota values stay fund-level; reported holder totals are not deduplicated people.
| Parameter | Type | Description |
|---|---|---|
| to | string | Inclusive last report date, YYYY-MM-DD. |
| from | string | Inclusive first report date, YYYY-MM-DD. |
| funds | array | Unformatted 14-digit fund/class CNPJ values. |
| limit | integer | Maximum fund or classification rows to return. |
| query | string | Fund-name search; use only with breakdown=fund. |
| breakdown | string | Whether to aggregate by official classification or resolve a fund. |
| dataset_id * | string | The official CVM investment-funds dataset identifier. |
| classifications | array | Official fund classifications to include. |
{
"name": "get_cvm_investment_funds",
"title": "Query official CVM investment-fund reports",
"description": "Retrieve daily CVM aggregates by official fund classification or resolve a fund/class latest report by CNPJ or name. Net assets and flows are additive; quota values stay fund-level; reported holder totals are not deduplicated people.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"dataset_id"
],
"properties": {
"to": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "Inclusive last report date, YYYY-MM-DD."
},
"from": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "Inclusive first report date, YYYY-MM-DD."
},
"funds": {
"type": "array",
"items": {
"type": "string",
"pattern": "^\\d{14}$"
},
"default": [],
"maxItems": 8,
"description": "Unformatted 14-digit fund/class CNPJ values."
},
"limit": {
"type": "integer",
"default": 25,
"maximum": 100,
"minimum": 1,
"description": "Maximum fund or classification rows to return."
},
"query": {
"type": "string",
"maxLength": 120,
"minLength": 2,
"description": "Fund-name search; use only with breakdown=fund."
},
"breakdown": {
"enum": [
"classification",
"fund"
],
"type": "string",
"default": "classification",
"description": "Whether to aggregate by official classification or resolve a fund."
},
"dataset_id": {
"type": "string",
"const": "cvm:investment-funds",
"description": "The official CVM investment-funds dataset identifier."
},
"classifications": {
"type": "array",
"items": {
"enum": [
"Ações",
"Cambial",
"FMP-FGTS",
"Multimercado",
"Não classificado",
"Renda Fixa"
],
"type": "string"
},
"default": [],
"maxItems": 6,
"description": "Official fund classifications to include."
}
}
},
"outputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"data",
"meta"
],
"properties": {
"data": {
"description": "Source-preserving data or schema payload for the selected official dataset."
},
"meta": {
"type": "object",
"properties": {
"dataset": {
"description": "Open Economics dataset identity when supplied."
},
"provenance": {
"description": "Upstream source URLs, versions, timestamps, and methodology details."
}
},
"description": "Response metadata and source provenance.",
"additionalProperties": {}
},
"links": {
"type": "object",
"properties": {
"self": {
"type": "string",
"description": "Canonical URL for this response."
},
"observations": {
"type": "string",
"description": "Canonical observations endpoint for this dataset."
}
},
"description": "Related API links.",
"additionalProperties": {}
}
},
"description": "REST-aligned Open Economics response with data, metadata, links, and source provenance.",
"additionalProperties": {}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Resolve the user's economic need with search_official_data before selecting data. Never substitute a nearby series for an unsupported need. Preserve units, reference periods, dimensions, source identifiers, source URLs, and retrieval times in answers.
Names, descriptions and schemas were written by the server and are shown as data.
Shared addresses on big platforms (Cloudflare, Vercel and the like) put unrelated servers together; those are marked shared_infrastructure. A match is a pivot, not a link between operators.