# Tesouro Direto MCP Server

Enable natural language access to Brazilian treasury bond data through MCP-compatible clients. Query market data, bond details, and search/filter bonds using everyday language. Benefit from smart cac…

## Quick Start

```bash
# Connect this server (installs CLI if needed)
npx -y @smithery/cli@latest mcp add AtilioA/tesouro-direto-mcp

# Browse available tools
npx -y @smithery/cli@latest tool list AtilioA/tesouro-direto-mcp

# Get full schema for a tool
npx -y @smithery/cli@latest tool get AtilioA/tesouro-direto-mcp market_data

# Call a tool
npx -y @smithery/cli@latest tool call AtilioA/tesouro-direto-mcp market_data '{}'
```

## Tools (3)

- `market_data` — Retrieves general market data from Tesouro Direto, including opening/closing times and status
- `bond_data` — Retrieves detailed data for a specific bond from Tesouro Direto
- `search_bonds` — Search for bonds by type (ANY,SELIC, IPCA, PREFIXADO) or maturity date range

```bash
# Get full input/output schema for a tool
npx -y @smithery/cli@latest tool get AtilioA/tesouro-direto-mcp <tool-name>
```

---

Source: https://github.com/AtilioA/tesouro-direto-mcp | License: AGPL-3.0
