Skip to main content
Glama

Open Economics

Server Details

Discover, resolve, and query official Brazilian economic data with semantic search and provenance.

If you are the author of this connector, you can claim ownership with GitHub, an HTTP challenge, or a DNS record. Claimed connector authors can inspect health checks, view analytics, and manage their listing.
Status
Healthy
Last Tested
Transport
Streamable HTTP
URL
Repository
felipegambettadesouza6-jpg/open-economics
GitHub Stars
0

TDQS

Score is being calculated.

Available Tools

19 tools
describe_official_datasetDescribe an official dataset
Read-onlyIdempotent
Inspect

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.

ParametersJSON Schema
NameRequiredDescriptionDefault
dataset_idYesExact 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.
get_anp_fuel_pricesQuery official ANP fuel prices
Read-onlyIdempotent
Inspect

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.

ParametersJSON Schema
NameRequiredDescriptionDefault
yearNo
limitNo
monthNo
stateNo
periodNoweek
productNoExact ANP product label, for example GASOLINA or ETANOL.
geographyNocountry
dataset_idYes
fuel_groupYes
municipalityNo
get_bcb_schemaInspect BCB series meaning and units
Read-onlyIdempotent
Inspect

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.

ParametersJSON Schema
NameRequiredDescriptionDefault
dataset_idYesExact BCB dataset ID returned by search_official_data.
get_bcb_seriesGet observations from a BCB SGS series
Read-onlyIdempotent
Inspect

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.

ParametersJSON Schema
NameRequiredDescriptionDefault
endNoInclusive end date; defaults to today.
limitNo
orderNoasc
startNoInclusive start date; defaults to three years ago.
dataset_idYesExact BCB dataset ID returned by search_official_data.
get_comexstat_dataQuery official Brazilian merchandise trade
Read-onlyIdempotent
Inspect

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.

ParametersJSON Schema
NameRequiredDescriptionDefault
toYesLast month, YYYY-MM.
flowYes
fromYesFirst month, YYYY-MM.
detailsNo
filtersNo
metricsNo
languageNopt
dataset_idYes
month_detailNo
get_cvm_investment_fundsQuery official CVM investment-fund reports
Read-onlyIdempotent
Inspect

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.

ParametersJSON Schema
NameRequiredDescriptionDefault
toNo
fromNo
fundsNoUnformatted 14-digit fund/class CNPJ values.
limitNo
queryNoFund-name search; use only with breakdown=fund.
breakdownNoclassification
dataset_idYes
classificationsNo
get_cvm_investment_funds_schemaInspect CVM investment-fund measures and dimensions
Read-onlyIdempotent
Inspect

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.

ParametersJSON Schema
NameRequiredDescriptionDefault
dataset_idYes
get_epe_electricity_consumptionQuery official electricity consumption
Read-onlyIdempotent
Inspect

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.

ParametersJSON Schema
NameRequiredDescriptionDefault
toNo
fromNo
limitNo
statesNo
classesNo
marketsNo
regionsNo
geographyNocountry
dataset_idYes
get_ibge_dataQuery multidimensional IBGE data
Read-onlyIdempotent
Inspect

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.

ParametersJSON Schema
NameRequiredDescriptionDefault
periodsNoRecent-period shorthand such as -12, or explicit official period IDs separated by |.-12
localityNoBR or an explicit IBGE geography selection such as N3[35].BR
variableYesOne or more official variable IDs separated by |.
dataset_idYes
classificationNoExplicit classification selections from the schema, such as 11255[90707].
get_ibge_schemaInspect an IBGE aggregate's measures and dimensions
Read-onlyIdempotent
Inspect

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.

ParametersJSON Schema
NameRequiredDescriptionDefault
dataset_idYesExact IBGE aggregate ID returned by search_official_data.
get_mte_formal_employmentQuery official formal-employment stock and flows
Read-onlyIdempotent
Inspect

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.

ParametersJSON Schema
NameRequiredDescriptionDefault
toNo
fromNo
limitNo
statesNo
regionsNo
breakdownNocountry
dataset_idYes
industriesNoExact official activity IDs returned by get_mte_formal_employment_schema; empty means all activities.
get_mte_formal_employment_schemaInspect Novo Caged dimensions and measures
Read-onlyIdempotent
Inspect

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.

ParametersJSON Schema
NameRequiredDescriptionDefault
dataset_idYes
get_siconfi_dataQuery official SICONFI fiscal data
Read-onlyIdempotent
Inspect

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.

ParametersJSON Schema
NameRequiredDescriptionDefault
yearNo
annexNoExact official annex name from the SICONFI documentation.
powerNoRGF government branch.
entityNoOfficial IBGE entity code.
periodNoRREO bimestre (1-6) or RGF period (1-3).
sphereNo
dataset_idYes
periodicityNoRGF only: four-month (Q) or half-year (S).
report_typeNo
get_siconfi_schemaInspect a SICONFI fiscal report
Read-onlyIdempotent
Inspect

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.

ParametersJSON Schema
NameRequiredDescriptionDefault
dataset_idYes
get_tesouro_dpfQuery Federal Public Debt statistics
Read-onlyIdempotent
Inspect

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.

ParametersJSON Schema
NameRequiredDescriptionDefault
toNo
fromNo
limitNo
queryNoCategory-label search; useful when category IDs are unknown.
tableNocomposition
categoriesNoExact category IDs returned for the selected table by get_tesouro_dpf_schema.
dataset_idYes
get_tesouro_dpf_schemaInspect Federal Public Debt statistics
Read-onlyIdempotent
Inspect

Inspect the six versioned RMD annex tables, their distinct units and coverage, category IDs, holder definitions, source publication, and methodological constraints before selecting data.

ParametersJSON Schema
NameRequiredDescriptionDefault
dataset_idYes
get_tesouro_rtnQuery Government Central revenue, expenditure, and result
Read-onlyIdempotent
Inspect

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.

ParametersJSON Schema
NameRequiredDescriptionDefault
toNo
fromNo
limitNo
queryNoAccount-label search; omit accounts to search the full tree.
accountsNoExact account IDs returned by get_tesouro_rtn_schema.
dataset_idYes
get_tesouro_rtn_schemaInspect Government Central fiscal accounts
Read-onlyIdempotent
Inspect

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.

ParametersJSON Schema
NameRequiredDescriptionDefault
dataset_idYes
search_official_dataSearch Brazilian official economic data
Read-onlyIdempotent
Inspect

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.

ParametersJSON Schema
NameRequiredDescriptionDefault
limitNoMaximum official dataset candidates to return.
queryYesThe user's complete economic-data need, including measure, geography, period, and breakdown when known.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. 19 tool updates
    • First observeddescribe_official_dataset
    • First observedget_anp_fuel_prices
    • First observedget_bcb_schema
    • First observedget_bcb_series
    • First observedget_comexstat_data
    • First observedget_cvm_investment_funds
    • First observedget_cvm_investment_funds_schema
    • First observedget_epe_electricity_consumption
    • First observedget_ibge_data
    • First observedget_ibge_schema
    • First observedget_mte_formal_employment
    • First observedget_mte_formal_employment_schema
    • First observedget_siconfi_data
    • First observedget_siconfi_schema
    • First observedget_tesouro_dpf
    • First observedget_tesouro_dpf_schema
    • First observedget_tesouro_rtn
    • First observedget_tesouro_rtn_schema
    • First observedsearch_official_data

Frequently Asked Questions

Discussions

No comments yet. Be the first to start the discussion!

Related MCP Connectors

Related MCP Servers

  • A
    license
    Not graded
    quality
    Not graded
    maintenance
    Connects AI agents to 28 Brazilian public APIs, providing over 200 tools to access data on economy, legislation, transparency, and the judiciary. It enables complex queries and cross-referencing of government datasets like IBGE, the Central Bank, and the National Congress through natural language.
    -
  • A
    license
    Not graded
    quality
    C
    maintenance
    Enables querying Portugal's national open data portal (dados.gov.pt) through natural language.
    8
    MIT
  • A
    license
    Not graded
    quality
    B
    maintenance
    Enables agents to query 153 live Brazilian government data tools across federal and state sources, including economy, legislature, judiciary, elections, health, education, and more, reading directly from original APIs.
    MIT
Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.