SSyncDev

Tesouro Direto MCP Server

Model Context Protocol (MCP) server for Tesouro Direto API integration

Local serverstdio

What is the Tesouro Direto MCP Server?

Model Context Protocol (MCP) server for Tesouro Direto API integration

What you get

A Model Context Protocol (MCP) server implementation for integrating with the Tesouro Direto API, enabling natural language access to Brazilian treasury bond data.

  • market_data: Retrieve general treasury bond market data (opening/closing times, status)
  • bond_data: Get detailed information about a specific bond
  • search_bonds: Search/filter bonds by type, maturity, and other criteria
  • Smart caching — 10-minute in-memory cache based on API update timestamps to reduce calls while ensuring data freshness

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
market_dataRetrieve general market data, including opening/closing times and current status.
bond_data
search_bondsSearch and filter bonds by type (SELIC, IPCA, PREFIXADO), maturity date, and more.

Configuration

VariableDescriptionRequired
USE_MCP_CACHEConfiguration value read at startup.Optional

Example prompts to try

  • “Use Tesouro Direto MCP to market data.”
  • “Use Tesouro Direto MCP to bond data.”
  • “Use Tesouro Direto MCP to search bonds.”

Frequently asked questions

Model Context Protocol (MCP) server for Tesouro Direto API integration Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.