MCP Dados Brasil logo

MCP Dados Brasil

Queries official Brazilian data from IBGE, Banco Central, INMET, Câmara dos Deputados, and Senado through MCP tools.

Install MCP Dados Brasil

Pick your client, then add it in one click or paste the config.

STDIOPython
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "mcp-dados-brasil": {
      "command": "uvx",
      "args": [
        "mcp-dados-br"
      ],
      "env": {
        "INMET_TOKEN": "YOUR_VALUE_HERE",
        "MCP_TRANSPORTE": "YOUR_VALUE_HERE",
        "MCP_HOST": "YOUR_VALUE_HERE",
        "MCP_PORTA": "YOUR_VALUE_HERE",
        "MCP_AUTH_TOKEN": "YOUR_VALUE_HERE",
        "MCP_LOG_LEVEL": "YOUR_VALUE_HERE"
      }
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Values are written into the snippet above so you can paste it as is. They never leave your browser.

Claude Code command
claude mcp add --env INMET_TOKEN=YOUR_VALUE_HERE --env MCP_TRANSPORTE=YOUR_VALUE_HERE --env MCP_HOST=YOUR_VALUE_HERE --env MCP_PORTA=YOUR_VALUE_HERE --env MCP_AUTH_TOKEN=YOUR_VALUE_HERE --env MCP_LOG_LEVEL=YOUR_VALUE_HERE --transport stdio mcp-dados-brasil -- uvx mcp-dados-br

Run in your terminal. Add --scope project to share it with your team through .mcp.json.

We couldn’t confirm it starts correctly

We hit an unexpected error while testing this listing automatically.

uvx mcp-dados-br

Rate limit exceeded, please try again later - you have reached the maximum number of concurrent E2B sandboxes (20). If you need more, please visit 'https://e2b.dev/docs/billing'

This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked .

Overview

MCP Dados Brasil MCP server exposes official Brazilian public data through tools for IBGE, Banco Central, INMET, Câmara dos Deputados, and Senado Federal. It uses open government APIs and supports stdio by default, with optional streamable HTTP for local networks or Docker deployments. Most tools need no API key; INMET hourly observations require an INMET token. Use it when an assistant needs current Brazilian statistics, economic indicators, weather observations, or legislative data.

Use cases

  • Query Brazilian population and GDP statistics
  • Retrieve Banco Central series and exchange rates
  • Check INMET stations and weather observations
  • Search legislative proposals and voting records
  • Review Brazilian legislative agendas and proceedings

Key features

  • Provides 19 tools across five official Brazilian data sources
  • Supports stdio and streamable HTTP transports
  • Caches identical API requests for 10 minutes
  • Retries selected network and temporary HTTP failures
  • Validates tool inputs before making API requests
  • Offers optional Bearer authentication for HTTP mode

Tools19

What MCP Dados Brasil lets your agent do. Expand a tool for its parameters.

Verified live~2.5k tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

17/17 checks healthy over the last 84d

What it can do

From the 19 tools this server returned when we ran it.

Handles credentials · 1Read-only tools · 19
Network at startup2 connections
Files written at startupNone

Observed 2026-10-29 in an isolated sandbox. A description of reach, not a security audit.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 6d ago via OSV.dev · mcp-dados-br (PyPI)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars3Stargazers on the source repository.
Last commit4d agoMost recent push to the default branch.
Install checkInconclusiveWe hit an unexpected error running the automated check.
Tools exposed19Callable tools this server registers over MCP.

How MCP Dados Brasil works

What MCP Dados Brasil MCP server does

The MCP Dados Brasil MCP server gives MCP-compatible assistants access to public Brazilian data from five official sources. It covers demographic and economic statistics from IBGE/SIDRA, financial series and exchange rates from Banco Central, weather stations and observations from INMET, and legislative information from the Chamber of Deputies and Federal Senate.

The tools are designed for direct questions such as retrieving recent IPCA values, checking Selic expectations, finding municipalities, listing senators, searching bills, reviewing voting results, or checking the Chamber agenda. Responses are formatted as readable text for language models. Selected tools also return structured content: bcb_serie, bcb_cambio, and camara_deputados provide schemas with ISO dates and numeric values.

How it works

By default, the process communicates with an MCP client over stdio. It can also run through streamable HTTP when deployed with Docker or shared across a local network. HTTP clients connect to /mcp on the configured host and port.

Each request is validated before an upstream URL is created. Validation covers Brazilian state abbreviations, three-letter ISO currency codes, ISO dates, numeric IBGE/SIDRA codes, positive identifiers, and limits for date or result ranges. Identical API requests are cached in memory for 10 minutes. Network failures and common temporary HTTP errors, including 429, 502, 503, and 504, are retried automatically.

Unexpected changes in an upstream response are returned as tool errors that identify the affected source and field. This helps distinguish an API-format problem from an empty result.

Setup and configuration

The MCP Dados Brasil MCP server can be started without a permanent installation using uvx mcp-dados-br. A Claude Desktop configuration can launch it with the uvx command and the mcp-dados-br argument. Source-based deployments can use uv sync followed by the package command. Claude Code can register either the uvx command or a local uv run --directory invocation.

No key is needed for the IBGE, Banco Central, Câmara, or Senado tools. INMET station listings are also open, but hourly observed data requires an INMET_TOKEN obtained from the INMET portal. Supply that variable in the MCP client's environment.

For HTTP mode, set MCP_TRANSPORTE=streamable-http; MCP_HOST controls the listening interface and MCP_PORTA controls the port. MCP_AUTH_TOKEN optionally enables Bearer authentication. Docker examples expose port 8000 and can pass both the authentication and INMET tokens through environment variables.

Tools and capabilities

  • IBGE: population, GDP, municipality lookup, and generic SIDRA aggregate queries.
  • Banco Central: SGS series, named shortcuts such as Selic, IPCA, and CDI, PTAX exchange rates, currencies, and Focus Bulletin expectations.
  • INMET: station listings and token-protected hourly observations.
  • Câmara dos Deputados: deputies, deputy details, propositions, proposition votes, agenda, and legislative processing.
  • Senado Federal: current senators, legislative matters, and nominal votes with tallies.

Limitations and notes

The MCP Dados Brasil MCP server depends on the availability and response formats of the official upstream APIs. INMET hourly observations are unavailable without the required token, although the other 18 tools continue to work without it.

HTTP mode has no authentication unless MCP_AUTH_TOKEN is set. Exposing the service on 0.0.0.0 without a token may allow anyone who can reach the port to call the tools, consume public API quotas, or use the configured INMET token. The documentation recommends a long random token and a TLS reverse proxy for networked deployments; the token is sent over plain HTTP unless TLS is placed in front.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about MCP Dados Brasil

MCP Dados Brasil is an MCP server that connects assistants to official Brazilian APIs from IBGE, Banco Central, INMET, Câmara dos Deputados, and Senado Federal. Its main tools query statistics, economic series, exchange rates, weather stations and observations, deputies, propositions, agendas, senators, matters, and votes. Most tools require no API key.

Run `uvx mcp-dados-br` and register that command in your MCP client. Claude Desktop uses `command: uvx` with `mcp-dados-br` as an argument, while Claude Code supports `claude mcp add dados-brasil -- uvx mcp-dados-br`. You can also clone the repository and run it with `uv`.

Yes, MCP Dados Brasil works with Cursor through its MCP configuration. Add the server to Cursor's `mcp.json`, using either the `uv` command with the local project directory or the equivalent `uvx mcp-dados-br` setup.

No API key is needed for the IBGE, Banco Central, Câmara, or Senado tools, and INMET station listings are open. INMET hourly observed data is the exception: it requires an `INMET_TOKEN` obtained from the INMET portal.

Set `MCP_TRANSPORTE=streamable-http` and start the server, then connect an MCP client to `http://localhost:8000/mcp` by default. Use `MCP_HOST` and `MCP_PORTA` to change network binding or port, and set `MCP_AUTH_TOKEN` to require Bearer authentication.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewMCP Dados Brasil AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/mcp-dados-brasil?style=directory)](https://allmcps.com/mcp/mcp-dados-brasil)
HTML Embed
<a href="https://allmcps.com/mcp/mcp-dados-brasil"><img src="https://allmcps.com/api/badge/mcp-dados-brasil?style=directory" alt="MCP Dados Brasil on AllMCPs" /></a>