DataBR — API De Dados PúBlicos Brasileiros MCP Server

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

Local serverstdioPython

What is the DataBR — API De Dados PúBlicos Brasileiros MCP server?

Most developer tooling work still happens through a UI a human drives. DataBR — API De Dados PúBlicos Brasileiros MCP server moves it into the conversation instead. Brazilian public data API for AI agents. BCB, IBGE, CVM, B3, compliance. x402 payments on Base.

The short version

API de dados públicos brasileiros para agentes de IA, com pagamento on-chain via protocolo x402 (USDC na rede Base).

The tools it exposes

The server publishes 7 tools. What each one is for:

  • Economia — The Economia tool exposed by this server
  • Empresas — The Empresas tool exposed by this server
  • Legislativo — The Legislativo tool exposed by this server
  • Ambiental — The Ambiental tool exposed by this server
  • Testnet — The Testnet tool exposed by this server
  • Setup — The Setup tool exposed by this server
  • Estrutura — The Estrutura tool exposed by this server

Getting it running

The server ships on PyPI as databr, so your MCP client can launch it on demand — there is no separate build step. Add the server block to your client's configuration, restart it, and the tools register themselves.

What it needs from you

Configuration is passed through the environment: DATABASE_URL, REDIS_URL, X402_FACILITATOR_URL, CDP_KEY_ID, CDP_KEY_SECRET, TRANSPARENCIA_API_KEY, DATAJUD_API_KEY, MINHARECEITA_URL. Treat anything key-shaped as a real credential — scope it to the minimum the server needs, and rotate it if it ever lands in a shared config.

How it compares

This sits in the developer tooling group, where several servers overlap in what they claim to do but differ sharply once you actually set them up. DataBR — API De Dados PúBlicos Brasileiros's toolset — Economia, Empresas, Legislativo and 4 more — is a fair guide to whether it matches your workflow. It is maintained by igorpdev; worth a glance at recent repository activity before you build anything load-bearing on it.

We check each listing at SyncDev against the project's documentation before it goes live — if something here drifts out of date, it is a bug worth reporting.

Things to watch

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • Missing credentials fail quietly in some clients — if no tools show up, check the environment block first.
  • Keep per-call confirmation enabled while you learn its behaviour; it is the cheapest safeguard you have.

Available tools

ToolWhat it does
EconomiaThe Economia tool exposed by this server.
EmpresasThe Empresas tool exposed by this server.
LegislativoThe Legislativo tool exposed by this server.
AmbientalThe Ambiental tool exposed by this server.
TestnetThe Testnet tool exposed by this server.
SetupThe Setup tool exposed by this server.
EstruturaThe Estrutura tool exposed by this server.

How to install the DataBR — API De Dados PúBlicos Brasileiros MCP server

{
  "mcpServers": {
    "databr": {
      "command": "uvx",
      "args": ["databr"],
      "env": {
        "DATABASE_URL": "your-value",
        "REDIS_URL": "your-value",
        "X402_FACILITATOR_URL": "your-value",
        "CDP_KEY_ID": "your-value",
        "CDP_KEY_SECRET": "your-value",
        "TRANSPARENCIA_API_KEY": "your-value",
        "DATAJUD_API_KEY": "your-value",
        "MINHARECEITA_URL": "your-value"
      }
    }
  }
}

Add to claude_desktop_config.json, then restart Claude Desktop.

Configuration

VariableDescriptionRequired
DATABASE_URLEndpoint or connection string the server talks to.Yes
REDIS_URLEndpoint or connection string the server talks to.Yes
X402_FACILITATOR_URLEndpoint or connection string the server talks to.Yes
CDP_KEY_IDCredential the server authenticates with.Yes
CDP_KEY_SECRETCredential the server authenticates with.Yes
TRANSPARENCIA_API_KEYCredential the server authenticates with.Yes
DATAJUD_API_KEYCredential the server authenticates with.Yes
MINHARECEITA_URLEndpoint or connection string the server talks to.Yes

Example prompts to try

  • Use DataBR — API De Dados PúBlicos Brasileiros to Economia.
  • Use DataBR — API De Dados PúBlicos Brasileiros to Empresas.
  • Use DataBR — API De Dados PúBlicos Brasileiros to Legislativo.

Frequently asked questions

It connects DataBR — API De Dados PúBlicos Brasileiros to MCP-compatible AI assistants such as Claude and Cursor, exposing 7 tools (Economia, Empresas, Legislativo, and more) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with DataBR — API De Dados PúBlicos Brasileiros directly.