
DataBR — API de Dados Públicos Brasileiros
io.github.igorpdevPublished by GitHub account igorpdevv1.0.0Updated Oct 24, 2026
Brazilian public data API for AI agents. BCB, IBGE, CVM, B3, compliance. x402 payments on Base.
Overview
Remote MCP server exposing Brazilian public data — central bank, IBGE, companies, markets, government transparency and more — paid per query in USDC.
- What you can do
- Query economic indicators from BCB, IBGE and IPEA, such as Selic, PTAX exchange rates, IPCA, GDP and Focus expectations, plus consolidated economic panoramas and IPEA series. Look up companies by CNPJ: registration data, compliance checks, sector analysis, credit score, due diligence and network or portfolio risk analyses. Retrieve financial market data: B3 stock quotes, Ibovespa, CVM fund details and quotas, relevant facts, Tesouro Direto and BNDES credit operations. Search government transparency and legislative records: bids, contracts, public servants, PEP lists, TCU rulings, budget execution, official gazette, deputies, senators, bills, votes and TSE candidates. Access judicial, tax, ag
- When to use it
- Useful when an assistant needs Brazilian public-sector or corporate data — macro indicators, CNPJ due diligence, market quotes, transparency or legislative records — and the user is willing to pay small per-query fees in USDC instead of registering for an API key.
- Requirements
- Remote endpoint at databr.api.br/mcp; no signup or API key. Each query requires on-chain payment in USDC on the Base network via the x402 protocol, sent with an X-PAYMENT header, so a funded wallet is needed. Rate limits apply per IP and per wallet.
Installation
In SourceWeft
- Open DataBR — API de Dados Públicos Brasileiros in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Web executable via Streamable HTTP. Remote servers run from the web runtime once configured in a workspace.
Use with an agent
Paste this prompt into Claude Code, Codex, Cursor or another agent — or into SourceWeft chat. The agent reads this server's install guide, shows you its publisher, endpoint and sign-in, and adds it to your client once you agree. Keys never go into a command.
Read https://sourceweft.com/mcp/io.github.igorpdev%2Fdatabr/install.md and connect the MCP server it describes to my client. Before changing any config, show me its publisher, endpoint and sign-in method and wait for my OK. Never put an API key in a command or in a file I would commit; ask me where it should come from.Other MCP clients
Add this to your client's mcpServers config.
{
"mcpServers": {
"databr-api-de-dados-p-blicos-brasileiros": {
"type": "http",
"url": "https://databr.api.br/mcp"
}
}
}README
DataBR
API de dados públicos brasileiros para agentes de IA, com pagamento on-chain via protocolo x402 (USDC na rede Base).
Sem cadastro. Sem API key. Pague por consulta.
Documentação | Python SDK | MCP Server | MCP Marketplace | Smithery
Como funciona
O protocolo x402 permite que agentes de IA paguem por dados automaticamente, sem cadastro ou chave de API. Basta ter USDC na rede Base.
Início rápido
curl (explorar sem pagar)
Python SDK
MCP (Claude, Cursor, etc.)
Listado no MCP Marketplace — instale direto pelo marketplace ou adicione manualmente ao seu MCP client:
170+ ferramentas disponíveis cobrindo todos os endpoints da API.
Endpoints
122 endpoints organizados por domínio. Documentação completa em databr.api.br/docs.
Economia
Empresas
Mercado financeiro
Transparência e governo
Legislativo
Jurídico
Ambiental
Saúde, energia, transporte e mais
Tributário
Análises compostas
Query parameters
Todos os endpoints aceitam:
Formato de resposta
Preços
Rate limits: 100 req/min por IP | 500 req/min por wallet x402.
Python SDK
Namespaces disponíveis
Tratamento de erros
Testnet
Fontes de dados
42 coletores automáticos + 8 on-demand, cobrindo:
Desenvolvimento local
Pré-requisitos
- Go 1.24+
- Docker (PostgreSQL + Redis)
Setup
A API sobe em http://localhost:8080. Sem WALLET_ADDRESS configurado, os endpoints /v1/* funcionam sem pagamento (modo dev).
Estrutura
Stack
Variáveis de ambiente
Links
- API: https://databr.api.br
- Docs (Scalar): https://databr.api.br/docs
- OpenAPI spec: https://databr.api.br/openapi.yaml
- MCP discovery: https://databr.api.br/.well-known/mcp.json
- x402 discovery: https://databr.api.br/.well-known/x402
- Python SDK: https://pypi.org/project/databr/
- Health: https://databr.api.br/health
Licença
MIT
Source: README.md at commit 608ea5c
Tools
0Version history
1- v1.0.0LatestSep 16, 2026
Score
40% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 daysRequired25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declaredRequired10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts
Declare a license in the repository or the registry entry.