Open Economics
What this MCP does
Discovers and queries official Brazilian economic datasets from agencies including BCB, IBGE, ANP, MDIC, CVM, EPE, MTE, SICONFI, and Tesouro, with schema and provenance metadata.
Tools
Input schema
{'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.'}}}
Output schema
{'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': {}}
Input schema
{'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.'}}}
Output schema
{'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': {}}
Input schema
{'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.'}}}
Output schema
{'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': {}}
Input schema
{'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.'}}}
Output schema
{'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': {}}
Input schema
{'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.'}}}
Output schema
{'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': {}}
Input schema
{'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.'}}}
Output schema
{'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': {}}
Input schema
{'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.'}}}
Output schema
{'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': {}}
Input schema
{'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.'}}}
Output schema
{'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': {}}
Input schema
{'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].'}}}
Output schema
{'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': {}}
Input schema
{'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.'}}}
Output schema
{'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': {}}
Input schema
{'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.'}}}
Output schema
{'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': {}}
Input schema
{'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.'}}}
Output schema
{'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': {}}
Input schema
{'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.'}}}
Output schema
{'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': {}}
Input schema
{'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.'}}}
Output schema
{'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': {}}
Input schema
{'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.'}}}
Output schema
{'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': {}}
Input schema
{'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.'}}}
Output schema
{'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': {}}
Input schema
{'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.'}}}
Output schema
{'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': {}}
Input schema
{'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.'}}}
Output schema
{'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': {}}
Input schema
{'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."}}}
Output schema
{'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': {}}
Recent tool changes
Similar MCP servers
LiveDataLink
Exposes public-data tools covering economics, labor, banking, transport, books, legal opinions, carriers, environmental data, and…
Stratalize Healthcare
Retired Stratalize server exposing benchmark, market intelligence, compliance, financial, healthcare, legal, real estate, and eco…
Stratalize Governance
Retired Stratalize server exposing benchmark, market intelligence, compliance, financial, healthcare, legal, real estate, and eco…
Stratalize Oracle
Retired Stratalize server exposing benchmark, market intelligence, compliance, financial, healthcare, legal, real estate, and eco…
Stratalize Real Estate
Retired Stratalize server exposing benchmark, market intelligence, compliance, financial, healthcare, legal, real estate, and eco…
Stratalize Crypto & DeFi
Retired Stratalize server exposing benchmark, market intelligence, compliance, financial, healthcare, legal, real estate, and eco…
Valuein — SEC EDGAR Fundamentals & Smart-Money Data
Provides point-in-time SEC EDGAR fundamentals, filings, ownership signals, financial analysis, valuation models, research reports…
equibles
Provides equity and market research tools covering SEC filings, company financials, portfolios, prices, options, macroeconomic da…