Prototype · Preview: every server in the official registry, synced every 30 minutes. Sign in with Google to write reviews.
PopNx MCPMCP servers for people who use AI · explained in plain words

DataBR — API de Dados Públicos Brasileiros

by igorpdevversion 1.0.0i★ 0iRuns in the cloud
Registry nameio.github.igorpdev/databr

How to install

What it does

Brazilian public data API for AI agents. BCB, IBGE, CVM, B3, compliance. x402 payments on Base.

  • Connects Runs in the cloud
  • Account or key No key needed
  • Category Law & government data

Install

Pick the AI app you use, then copy the settings.

Passed 1/3 checks · What you ask goes through the maker’s server (databr.api.br)

First: which AI do you use?

Pick your app and the steps appear below.

Works with Claude · about 2 min

No key, nothing to install · Set it up once on claude.ai or the desktop app, then use it in chat · free accounts can add 1 · on Team/Enterprise an Owner adds it

  1. Open Claude’s Connectors page

    CustomizeConnectors

    CustomizeConnectors1+ Add2https://…3Add4
  2. Click “+ Add” → “Add custom connector” and fill in these 2 fields

    Copy each value into the field with the same name in Claude, then click Continue

    Name · NameDataBR — API de Dados Públicos Brasileiros
    Remote MCP server URL · Addresshttps://databr.api.br/mcp

    Leave Authentication as Claude detected it, then click Add

  3. Turn it on in a chat

    +ConnectorsDataBR — API de Dados Públicos Brasileiros

  4. Try it

    Use DataBR — API de Dados Públicos Brasileiros and tell me what you can do for me, then show me one thing

    ✓ If Claude says it is using DataBR — API de Dados Públicos Brasileiros or shows a DataBR — API de Dados Públicos Brasileiros tool in the answer, you are connected

Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Works with ChatGPT on business plans only

ChatGPT Business, Enterprise or Edu on the web, added by a workspace admin or owner · On Free, Plus or Pro: your ChatGPT plan cannot connect MCP yet

  1. Open ChatGPT’s add-MCP page on the web

    Plugins+Add custom MCP server

    ChatGPTPlugins1+2https://…3Create4
  2. Fill in the name and address

    Enter a name, paste the address under Connection, tick the risk warning and click Create as a plugin

    Name · NameDataBR — API de Dados Públicos Brasileiros
    Connection · Addresshttps://databr.api.br/mcp
  3. Pick DataBR — API de Dados Públicos Brasileiros in a chat

    Start a new chat and pick DataBR — API de Dados Públicos Brasileiros from your plugins before typing

  4. Try it

    Use DataBR — API de Dados Públicos Brasileiros and tell me what you can do for me, then show me one thing

    ✓ If ChatGPT says it is using DataBR — API de Dados Públicos Brasileiros or shows a DataBR — API de Dados Públicos Brasileiros tool in the answer, you are connected

Menu names checked against OpenAI’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Works with Claude Code · about 2 min

No key, nothing to install

  1. Open Terminal

    Mac: press Command+Space and type Terminal · Windows: open PowerShell

  2. Paste this command and press Enter

    claude mcp add --transport http --scope user databr https://databr.api.br/mcp
  3. Type /mcp in Claude Code

    You should see DataBR — API de Dados Públicos Brasileiros listed as connected

  4. Try it

    Use DataBR — API de Dados Públicos Brasileiros and tell me what you can do for me, then show me one thing

    ✓ If Claude Code says it is using DataBR — API de Dados Públicos Brasileiros or shows a DataBR — API de Dados Públicos Brasileiros tool in the answer, you are connected

Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Works with Cursor · about 2 min

No key, nothing to install

  1. Click this button to open Cursor

    Open in Cursor

    Cursor asks you to confirm; click Install

  2. Open the AI chat in Cursor in Agent mode

  3. Try it

    Use DataBR — API de Dados Públicos Brasileiros and tell me what you can do for me, then show me one thing

    ✓ If Cursor says it is using DataBR — API de Dados Públicos Brasileiros or shows a DataBR — API de Dados Públicos Brasileiros tool in the answer, you are connected

Menu names checked against Cursor’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Works with VS Code · about 2 min

No key, nothing to install

  1. Click this button to open VS Code

    Open in VS Code

    VS Code asks you to confirm; click Install

  2. Open the AI chat in VS Code in Agent mode

  3. Try it

    Use DataBR — API de Dados Públicos Brasileiros and tell me what you can do for me, then show me one thing

    ✓ If VS Code says it is using DataBR — API de Dados Públicos Brasileiros or shows a DataBR — API de Dados Públicos Brasileiros tool in the answer, you are connected

Menu names checked against VS Code’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Other apps that use MCP, such as Windsurf, Zed or Gemini CLI, each add servers differently. See how in the app list.

See every app that uses MCP →

Address for apps that connect over the web

Addresshttps://databr.api.br/mcp

JSON settings are under “For developers” below

Stuck? Ask people who use DataBR — API de Dados Públicos Brasileiros💬 Discussion →
For developers: Terminal commands and JSON settings

Over the web

Claude Code

claude mcp add --transport http --scope user databr https://databr.api.br/mcp

Cursor (~/.cursor/mcp.json)

{
  "mcpServers": {
    "databr": {
      "url": "https://databr.api.br/mcp"
    }
  }
}

VS Code (mcp.json)

{
  "servers": {
    "databr": {
      "type": "http",
      "url": "https://databr.api.br/mcp"
    }
  }
}

These settings are generated from the maker’s registry entry. If the README says otherwise, follow the README.

At a glance

Downloads per weeki
Not on npm/PyPI
Licencei
No licence stated
Connection
Runs in the cloud
Transport
streamable-http
Latest versioni
1.0.0
Published to registryi
Feb 25, 2026
Code last changedi
Mar 10, 2026
Maker
igorpdev
Registry status
Active

Which apps can use it

Based on how this server connects and on each app’s own docs, checked Nov 10, 2026.

Connect over the internet in

ClaudeChatGPTGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatOpen WebUIRaycast

All apps, with pros and cons →

Related guides

What it can do

The server did not answer when we last checked, so we could not read its tools.

Basic checksi

We check information anyone can see; we have not read the code. Checks that do not apply are left out of the count. · Checked Nov 12, 2026

  • ✓ Pass

    Maker matches the repo

    The registry name was verified with the GitHub account igorpdev, which owns the repo

  • ! Caution

    Still maintained

    Code last changed 8 months ago, more than 6 months ago

  • … Not checked yet

    Has a licence

    We have not read this repo from GitHub yet

  • ✕ Fail

    Endpoint responds

    Did not respond within 6 seconds when we checked

  • – Not applicable

    Sign-in with OAuth

    Did not respond within 6 seconds when we checked

  • … Not checked yet

    No hidden instructions in tool descriptions

    Not checked yet; we read the tool list when we check the endpoint

Discussion

Ask, share a tip or report that it does not work. Sorted by what people marked helpful.

No posts yet. Be the first to ask or share.

Posts here are written by users, not the PopNx team.

Sign in with Google to post

User reviews

No reviews yet

Sign in with Google to write a review

Compared with others in Law & government datai

  • More stars than 0% of the other 1811 servers in this category
  • Published to the registry more recently than 1% of the other 1811 servers in this category
  • Basic checks equal to or better than 9% of the other 1811 servers in this category

Compared with every active server in this category in the registry. Stars count only when the publisher owns the repo.

Common questions

Is DataBR — API de Dados Públicos Brasileiros safe?

It passed 1 of 3 applicable basic checks. We have not read the code. Before adding a key or token, see what access the server asks for and use a key with only the permissions you need.

What keys or codes does it need?

The registry does not list a required key, though some servers ask you to sign in on first use.

Does it run on my computer or in the cloud?

It runs in the maker’s cloud. Connect over the internet with nothing to install, but what you send passes through the maker’s servers.

Is it still maintained?

The GitHub repo last changed 8 months ago, and the latest version (1.0.0) reached the registry 9 months ago.

Which apps can use it?

Apps that support MCP, such as Claude Desktop, Claude Code, Cursor and VS Code. It connects by URL, so apps that accept remote MCP servers work too, such as ChatGPT Business and above.

What can I use instead?

In the same category: Korean Law MCP, Global law, Tw Legal Rag

Others in the same category

Servers in the same category from other makers, sorted by stars.

Reading a card:↓ Downloads per weeki★ GitHub starsiThree pillars: reviews · checks · usageiUpdated = latest version published to the registryi

Korean Law MCP

Korean law: statutes, precedents, ordinances, treaties and citation verification (법제처 API).

by chrisryugjWidely used★ 2.9KUpdated 9 days ago

Runs in the cloud

Global law

The law of nearly every country on earth, any date: read it, see what changed it, check citations.

by lexifinaGrowing★ 1.9KUpdated 2 days ago

Runs in the cloud✓ lexifina.com

Tw Legal Rag

Taiwan law MCP server: 22M court judgments, statutes, agency rulings, with citation checks

by aa0101181514Growing★ 346Updated yesterday

Runs in the cloud

README from the maker

Open the README

Copied from the maker’s repo as written. PopNx MCP has not reviewed or endorsed it. HTML, images and scripts are removed. Links lead off this site.

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

Agente IA → GET /v1/bcb/selic → 402 Payment Required

→ Paga $0.003 USDC on-chain (Base) → Retry com header X-PAYMENT → 200 OK + dados

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)
# Health check

curl https://databr.api.br/health

Ver requisitos de pagamento de qualquer endpoint

curl -I https://databr.api.br/v1/bcb/selic

→ 402 Payment Required + JSON com instruções x402

Python SDK
pip install databr
from databr import DataBR

client = DataBR(private_key="0x...") # wallet com USDC na Base

Taxa Selic

selic = client.bcb.selic() print(selic.data) # {"valor": "14.25", ...}

Empresa por CNPJ

empresa = client.empresas.consultar("33000167000101") print(empresa.data["razao_social"])

Due diligence completa

dd = client.empresas.due_diligence("33000167000101")

Formato LLM-ready

ipca = client.economia.ipca(format="context") print(ipca.context) # texto pronto para prompt

MCP (Claude, Cursor, etc.)

Listado no MCP Marketplace — instale direto pelo marketplace ou adicione manualmente ao seu MCP client:

{

"mcpServers": { "databr": { "url": "https://databr.api.br/mcp" } } }

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
EndpointPreçoDescrição
GET /v1/bcb/selic$0.003Taxa Selic vigente
GET /v1/bcb/cambio/{moeda}$0.003Câmbio PTAX (USD, EUR, etc.)
GET /v1/bcb/credito$0.003Oferta de crédito
GET /v1/bcb/reservas$0.003Reservas internacionais
GET /v1/bcb/taxas-credito$0.003Taxas de juros por modalidade
GET /v1/bcb/pix/estatisticas$0.003Estatísticas PIX
GET /v1/bcb/focus$0.003Expectativas Focus (mercado)
GET /v1/economia/ipca$0.003Inflação IPCA
GET /v1/economia/pib$0.003PIB trimestral
GET /v1/economia/panorama$0.015Panorama econômico consolidado
GET /v1/ipea/serie/{codigo}$0.003Séries IPEA (macro, social, regional)
Empresas
EndpointPreçoDescrição
GET /v1/empresas/{cnpj}$0.003Dados cadastrais (Receita Federal)
GET /v1/empresas/{cnpj}/compliance$0.007Check rápido CEIS/CNEP/CEPIM
GET /v1/empresas/{cnpj}/setor$0.007Análise setorial
GET /v1/empresas/{cnpj}/perfil-completo$0.020Perfil completo com cruzamentos
GET /v1/empresas/{cnpj}/duediligence$0.075Due diligence automatizada
GET /v1/compliance/{cnpj}$0.010Compliance completo (CGU + CNJ)
GET /v1/credito/score/{cnpj}$0.010Score de crédito estimado
Mercado financeiro
EndpointPreçoDescrição
GET /v1/mercado/acoes/{ticker}$0.005Cotação de ações (B3)
GET /v1/mercado/indices/ibovespa$0.005Índice Ibovespa
GET /v1/mercado/fundos/{cnpj}$0.010Detalhes de fundo (CVM)
GET /v1/mercado/fundos/{cnpj}/cotas$0.005Cotas de fundo
GET /v1/mercado/fundos/{cnpj}/analise$0.010Análise de fundo
GET /v1/mercado/fatos-relevantes$0.005Fatos relevantes CVM
GET /v1/mercado/{cnae}/competicao$0.030Análise de competição
GET /v1/tesouro/titulos$0.003Tesouro Direto
GET /v1/bndes/{cnpj}/operacoes$0.005Operações de crédito BNDES
Transparência e governo
EndpointPreçoDescrição
GET /v1/transparencia/licitacoes$0.003Licitações PNCP
GET /v1/transparencia/contratos$0.003Contratos federais
GET /v1/transparencia/servidores$0.003Servidores públicos
GET /v1/transparencia/pgfn$0.003Dívida ativa PGFN por CNPJ
GET /v1/transparencia/pep$0.003Pessoas Expostas Politicamente (por nome)
GET /v1/transparencia/leniencias$0.003Acordos de leniência por CNPJ
GET /v1/transparencia/renuncias$0.003Renúncias fiscais por exercício
GET /v1/tcu/acordaos$0.003Acórdãos do TCU
GET /v1/tcu/certidao/{cnpj}$0.003Certidão TCU
GET /v1/orcamento/despesas$0.003Execução orçamentária
GET /v1/dou/busca$0.007Busca em diários oficiais
Legislativo
EndpointPreçoDescrição
GET /v1/legislativo/deputados$0.003Deputados federais
GET /v1/legislativo/senado/senadores$0.003Senadores
GET /v1/legislativo/proposicoes$0.003Projetos de lei
GET /v1/legislativo/votacoes$0.003Votações
GET /v1/eleicoes/candidatos$0.003Candidatos TSE
GET /v1/eleicoes/filiados$0.003Filiados partidários por UF
GET /v1/eleicoes/compliance/{cpf_cnpj}$0.007Compliance eleitoral
Jurídico
EndpointPreçoDescrição
GET /v1/judicial/stf$0.010Decisões do STF
GET /v1/judicial/stj$0.010Decisões do STJ
GET /v1/judicial/processos/{doc}$0.015Processos por CPF/CNPJ
GET /v1/litigio/{cnpj}/risco$0.030Risco litigioso
Ambiental
EndpointPreçoDescrição
GET /v1/ambiental/desmatamento$0.005Alertas DETER (INPE)
GET /v1/ambiental/prodes$0.005Monitoramento PRODES
GET /v1/ambiental/embargos$0.005Embargos IBAMA
GET /v1/ambiental/uso-solo$0.005Cobertura MapBiomas
GET /v1/ambiental/risco/{municipio}$0.007Risco ambiental
GET /v1/ambiental/empresa/{cnpj}/esg$0.030Análise ESG
Saúde, energia, transporte e mais
EndpointPreçoDescrição
GET /v1/saude/medicamentos/{registro}$0.003Medicamentos ANVISA
GET /v1/saude/planos$0.003Planos ANS
GET /v1/energia/geracao$0.005Geração de energia (ONS)
GET /v1/energia/tarifas$0.003Tarifas ANEEL
GET /v1/energia/combustiveis$0.003Preços ANP
GET /v1/transporte/aeronaves$0.005Aeronaves ANAC
GET /v1/transporte/acidentes$0.005Acidentes PRF
GET /v1/comercio/exportacoes$0.005Exportações (ComexStat)
GET /v1/educacao/censo-escolar$0.005Censo escolar INEP
GET /v1/emprego/rais$0.005RAIS (emprego formal)
GET /v1/emprego/caged$0.005CAGED (admissões/demissões)
Tributário
EndpointPreçoDescrição
GET /v1/tributario/ncm/{codigo}$0.003Carga tributária por NCM/NBS (IBPT)
GET /v1/tributario/icms/{uf}$0.003Alíquota ICMS interna de um estado
GET /v1/tributario/icms$0.003Tabela ICMS completa (27 UFs) ou interestadual
Análises compostas
EndpointPreçoDescrição
GET /v1/rede/{cnpj}/influencia$0.050Análise de rede e influência
POST /v1/carteira/risco$0.150Risco de carteira (múltiplos CNPJs)

Query parameters

Todos os endpoints aceitam:

ParâmetroExemploDescrição
format?format=contextTexto LLM-ready em vez de JSON (+$0.002)
fields?fields=valor,dataProjeção de campos
since?since=2026-01-01Filtrar a partir de data
until?until=2026-02-01Filtrar até data
limit?limit=10Limite de registros
offset?offset=20Offset para paginação

Formato de resposta

{

"source": "bcb_sgs", "updated_at": "2026-02-21T10:00:00Z", "cached": true, "cache_age_seconds": 3600, "cost_usdc": "0.003", "data": { "valor": "14.25", "data": "2026-02-21" } }


Preços

FaixaPreço (USDC)Exemplos
Consultas básicas$0.003BCB, IBGE, empresas, legislativo, tributário
Consultas padrão$0.005Ações B3, CVM, comércio exterior
Consultas avançadas$0.007Compliance empresa, DOU, risco ambiental
Premium$0.010Compliance completo, fundos, decisões STF/STJ
Análises cruzadas$0.015–$0.030Panorama, ESG, litígio, competição
Análises profundas$0.050–$0.150Rede de influência, due diligence, carteira
Formato contexto+$0.002Adicional sobre qualquer endpoint

Rate limits: 100 req/min por IP | 500 req/min por wallet x402.


Python SDK

pip install databr
Namespaces disponíveis
NamespaceExemploMétodos
bcbclient.bcb.selic()selic, cambio, focus, credito, reservas, taxas_credito, pix
empresasclient.empresas.consultar(cnpj)consultar, compliance, perfil_completo, due_diligence
economiaclient.economia.ipca()ipca, pib, panorama
mercadoclient.mercado.acoes("PETR4")acoes, fundos, cotas, fatos, indices, competicao
complianceclient.compliance.verificar(cnpj)verificar, ceis, cnep, cepim
judicialclient.judicial.processos(doc)processos, stf, stj, litigio
legislativoclient.legislativo.deputados()deputados, senadores, proposicoes, votacoes
ambientalclient.ambiental.desmatamento()desmatamento, prodes, embargos, uso_solo, esg
transparenciaclient.transparencia.licitacoes()licitacoes, contratos, servidores, orcamento
saudeclient.saude.medicamentos(reg)medicamentos, operadoras, estabelecimentos
energiaclient.energia.tarifas()tarifas, geracao, carga, combustiveis
transporteclient.transporte.aeronaves()aeronaves, transportadores, acidentes
comercioclient.comercio.exportacoes()exportacoes, importacoes
empregoclient.emprego.rais()rais, caged
tributarioclient.tributario.ncm("22030000", uf="SP")ncm, icms
Tratamento de erros
from databr import DataBR, NotFoundError, PaymentError, RateLimitError

try: empresa = client.empresas.consultar("00000000000000") except NotFoundError: print("CNPJ não encontrado") except PaymentError: print("Pagamento falhou — verificar saldo USDC") except RateLimitError as e: print(f"Rate limit — retry em {e.retry_after}s")

Testnet
client = DataBR(private_key="0x...", network="testnet")  # Base Sepolia, USDC de teste

Fontes de dados

42 coletores automáticos + 8 on-demand, cobrindo:

FonteÓrgãoAtualização
Selic, PTAX, crédito, reservas, PIX, FocusBCBDiária/semanal
IPCA, PIB, população, pesquisasIBGEDiária/mensal
Cotações, IbovespaB3Diária (dias úteis)
Fundos, fatos relevantes, cotasCVMDiária
Candidatos, bens, doações, filiadosTSEAnual / On-demand
Licitações PNCPPortal da TransparênciaDiária
Acórdãos, certidões, inabilitadosTCUSemanal
Deputados, senadores, proposiçõesCâmara/SenadoDiária
RREO, RGF, Tesouro DiretoTesouro NacionalDiária/mensal
Exportações, importaçõesComexStatMensal
Tarifas, geração, cargaANEEL/ONSSemanal/diária
MedicamentosANVISAMensal

| Operadoras, plan

Only the beginning is shown; read the rest in the repo