- MCP tools
- 9
- curated queries
- 24
- lake tables
- 15
- rows in the lake
- ~44.7M
- live gov.br operations
- 153
How it works
From a plain-language question to a sourced number.
- 1
Connect the MCP server
One command in Claude Code, or a few lines of config in Cursor, Kiro or Claude Desktop. One API key, nothing to host.
- 2
Ask in plain language
The agent finds the right curated query (consultas_buscar), reads its contract and runs it with validated params — a municipality by IBGE code or "Name/UF".
- 3
Get data with its source
Every response carries documented columns with units and a "fonte" block naming the table and original source. When it needs "right now", the agent goes straight to gov.br APIs.
Connect
export LAKEBRASIL_API_KEY=lb_live_...
claude mcp add --transport http lakebrasil https://lakebrasil-nonprod-1n3kwbyyi5.gateway.bedrock-agentcore.sa-east-1.amazonaws.com/mcp \
--header "Authorization: Bearer $LAKEBRASIL_API_KEY"Curation
Curated, not scraped.
Government data is messy: codes change, files get republished, columns drift, and sources ship errors. The work happens before your agent ever sees a row.
Official sources only
IBGE, INEP, DataSUS, the National Treasury, CGU, the Chamber of Deputies, the Federal Revenue Service, the Central Bank, ANP, Senatran and more — straight from the publisher.
Quality gate on every load
Declarative data-quality checks gate each load — a load that fails them never reaches the lake.
Documented columns
Every table has its grain, source, license and a description for every column, with units.
Corrected source errors
Known problems in the original files are fixed before loading, and municipalities are keyed by a validated 7-digit IBGE code.
Lineage
Every response carries a "fonte" block naming the table and original source behind each number.
Scheduled freshness
Loads re-run on a schedule as sources publish; each table carries its snapshot date.
In practice
Ask the way you'd ask an analyst.
These requests work today, with the free key. The agent picks the tools on its own.
- Give me a profile of Santos/SP: population, GDP per capita, HDI, IDEB and who was elected mayor in 2024.
- Which 10 municipalities in São Paulo state have the most formal jobs (RAIS)? Cite the source of each number.
- Compare Recife and Fortaleza on Bolsa Família beneficiaries since 2023.
- What's the current Selic rate, and how did it move over the last 12 months?
Works with your agent
One MCP server. Any agent.
lakebrasil is built for AI agents: no SDK, no database to run. Connect the MCP server to the client you already use and ask.
- Claude Code
- Cursor
- Kiro
- Claude Desktop
- Any MCP client with remote-server support
municipio_perfil
Give me a profile of Santos/SP: population, GDP per capita, HDI, IDEB
and who was elected mayor in 2024.