Brazilian Financial Data MCP Servers

Open-source Model Context Protocol (MCP) servers that give AI assistants direct, structured access to official Brazilian financial, corporate, and macroeconomic open data — with local caching and zero API keys required.

MCP servers

3

Official Brazilian public financial & economic data sources.

Monthly downloads

651

Combined PyPI downloads over the last 30 days.

All-time downloads

651

Cumulative PyPI downloads across all MCP servers.

GitHub stars

★ 11

Open-source repositories on GitHub.

The Model Context Protocol (MCP) is an open standard that lets AI assistants (Claude Desktop, Cursor, Windsurf, Claude Code, Antigravity, and other MCP-compatible clients) call external tools safely. Instead of manually downloading CSV archives or guessing outdated numbers, your assistant can query official CVM, Central Bank (BCB), and Tesouro Direto data directly.

Available MCP Servers

CVM / B3 Open Data

cvm-mcp

An MCP server for the CVM open-data repository (dados.cvm.gov.br), giving MCP clients one interface to Brazilian financial statements, corporate filings, fund data, insider trading and more.

  • Annual (DFP) and quarterly (ITR) financial statements of Brazilian public companies
  • Corporate reference filings (FRE), governance, and corporate events
  • Brazilian investment funds (fundos de investimento) data and registration
  • Insider trading reports and CVM public open-data archives (dados.cvm.gov.br)

Downloads (30d): 370 · ★ 6 · Last push: 2026-11-14
R counterpart: GetDFPData2, GetFREData · Dataset archive: GetDFPData2, GetFREData

Central Bank of Brazil (BCB-SGS)

bcb-mcp

An MCP server for the time series of the Central Bank of Brazil (BCB-SGS), with a curated series dictionary, a local parquet cache and DuckDB SQL for LLM agents. It is the Python counterpart of the R package GetBCBData.

  • Curated dictionary and search across BCB-SGS macroeconomic and financial series (Selic, IPCA, CDI, PTAX, GDP, credit)
  • Time-series retrieval and summary statistics directly from the official Central Bank API
  • Local Parquet caching with DuckDB SQL querying for fast multi-series analysis

Downloads (30d): 142 · ★ 1 · Last push: 2026-11-10
R counterpart: GetBCBData

Tesouro Nacional / ANBIMA

tesourodireto-mcp

An MCP server for Brazilian government bonds (Tesouro Direto): historical prices and yields, current rates, per-maturity statistics and the ANBIMA yield curve. It is the Python counterpart of the R package GetTDData.

  • Historical daily prices and yields for Brazilian sovereign bonds (Tesouro Direto)
  • Current Tesouro Direto purchase and redemption rates across available maturities
  • Per-maturity yield statistics and the ANBIMA sovereign yield curve

Downloads (30d): 139 · ★ 4 · Last push: 2026-11-10
R counterpart: GetTDData · Dataset archive: GetTDData

Client Setup Guides

All three servers run locally over standard stdio via uvx (no API keys required). Open any client below to copy the ready-to-paste configuration:

Claude Desktop — ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)

Requires uv (for uvx). Add the block below to your config file and restart Claude Desktop.

{
  "mcpServers": {
    "bcb": {
      "command": "uvx",
      "args": ["bcb-mcp"]
    },
    "cvm": {
      "command": "uvx",
      "args": ["cvm-mcp"]
    },
    "tesourodireto": {
      "command": "uvx",
      "args": ["tesourodireto-mcp"]
    }
  }
}
Cursor — .cursor/mcp.json (project) or ~/.cursor/mcp.json (global)

Create or edit mcp.json in your workspace or home directory, then reload MCP servers in Cursor Settings.

{
  "mcpServers": {
    "bcb": {
      "command": "uvx",
      "args": ["bcb-mcp"]
    },
    "cvm": {
      "command": "uvx",
      "args": ["cvm-mcp"]
    },
    "tesourodireto": {
      "command": "uvx",
      "args": ["tesourodireto-mcp"]
    }
  }
}
Claude Code (CLI) — Run in your terminal

Register all three servers directly from the command line using uvx (no global Python environment pollution).

claude mcp add bcb -- uvx bcb-mcp
claude mcp add cvm -- uvx cvm-mcp
claude mcp add tesourodireto -- uvx tesourodireto-mcp
Windsurf / Antigravity / Generic MCP Client — Client MCP configuration file (mcp_config.json)

Any client supporting the standard stdio MCP transport can launch the servers via uvx or pipx.

{
  "mcpServers": {
    "bcb": {
      "command": "uvx",
      "args": ["bcb-mcp"]
    },
    "cvm": {
      "command": "uvx",
      "args": ["cvm-mcp"]
    },
    "tesourodireto": {
      "command": "uvx",
      "args": ["tesourodireto-mcp"]
    }
  }
}

Example Prompts to Try

Once connected, you can ask your AI assistant questions that combine live official Brazilian data with analysis and charts:

cvm-mcp (CVM / B3 Open Data)

bcb-mcp (Central Bank of Brazil (BCB-SGS))

tesourodireto-mcp (Tesouro Nacional / ANBIMA)

Combining Multiple Servers

Other AI & NLP Research Tools

Machine-Readable Site Endpoints for AI Agents

Looking to connect an LLM or research agent to this website's publications, books, datasets, and software catalog?