orcamento_execucao_municipal

Federal spending executed by location (not the municipal budget)

Spending executed by the FEDERAL GOVERNMENT (federal agencies), not the city government's budget: each row sums the Transparency Portal entries (despesas/execução) for one month, location, function, subfunction and program, with committed, accrued and paid amounts. The location is where the federal spending was recorded (which is why functions like National defense appear in capitals); ibge_code is null when the entry has no municipality (≈74% of rows).

Query via MCP ↓389,565 rows · 13 columns
One row is
one row per (mes_competencia, uf, municipio, codigo_funcao, codigo_subfuncao, codigo_programa)
Key columns
mes_competencia, uf, municipio, codigo_funcao, codigo_subfuncao, codigo_programa
License
gov.br open data (recorded as CC0 in the project's source catalog)
Domain
Public finance
Snapshot
2026-09-25

Columns

ColumnTypeDescription
ibge_codeBIGINTIBGE municipality code (7 digits). Null when the entry has no municipality or the name did not match.
ufKEYVARCHARState abbreviation (UF). Location of the federal spending.
municipioKEYVARCHARMunicipality of the federal spending as published on the Portal (uppercase); null if not reported.
codigo_funcaoKEYVARCHARBudget function code (e.g., 10 Health, 12 Education).
nome_funcaoVARCHARBudget function name.
codigo_subfuncaoKEYVARCHARBudget subfunction code.
nome_subfuncaoVARCHARBudget subfunction name.
codigo_programaKEYVARCHARBudget program code.
valor_empenhadoDOUBLESum of amounts committed in the month (R$).
valor_liquidadoDOUBLESum of amounts accrued in the month (R$).
valor_pagoDOUBLESum of amounts paid in the month (R$).
qtd_lancamentosBIGINTNumber of entries aggregated in the row.
mes_competenciaKEYVARCHARAccrual month (AAAA-MM).

Queries that read this table

  • Federal spending located in the municipality. Execution of FEDERAL spending located in the municipality (Transparency Portal) by function — or by subfunction when a function is given — in a year (default: the most recent). This is not the city government's budget.

Query via MCP

The lake is served through curated queries. Connect your agent to the MCP server and ask — it finds the right query on its own. All you need is an API key — new keys come with 50 free credits (pricing).

orcamento_municipio

How much federal spending was executed in Santos in 2025, by function?