• DATA
  • MODELS
  • ANALYSIS
  • HUMAN

How to model fixed income yields with your AI

Connect your AI to live Brazilian market data. Once linked, your agent can pull the CDI rate to build precise valuation models.

Ask AI about this page

Short answer

How can I use my AI to model fixed income yields?

Your AI uses the get_cdi tool to fetch the current CDI rate. You can then use this rate to calculate benchmarks and discount cash flows for Brazilian assets. This gives you a direct line from market data to your valuation math.

The outcomes

What you get from this connection

The AI handles the data retrieval so you can focus on the math.

DATA

Live CDI rates

The AI pulls the latest CDI values. You get the exact numbers needed for benchmark calculations.

MODELS

Accurate benchmarks

Use the retrieved rates to set yield targets. This keeps your fixed income models grounded in current market reality.

ANALYSIS

Yield comparisons

Compare different asset yields against the CDI. Your agent can quickly flag spreads or deviations.

HUMAN

Final decision making

The AI provides the numbers and the math. You decide which assets to buy or hold based on the results.

The workflow

What your AI does when the data is requested.

The AI acts as a bridge between the Central Bank data and your prompt.

  1. Fetch CDI

    The AI reaches out to the source to grab the most recent CDI rate.

    get_cdi
  2. Format data

    The agent cleans the raw rate into a usable number for your calculations.

    get_cdi
  3. Apply to model

    The AI inserts the rate into your specific yield formula or spreadsheet logic.

    get_cdi
  4. Report results

    The agent presents the calculated yield or benchmark spread in your chat window.

    get_cdi

Try it

Copy these to start.

Use these prompts to kick off your analysis.

Starting points

These are basic starters. Swap out the asset names or specific dates to fit your actual portfolio.

Banco Central do Brasil Connector

You're all set. Choose your MCP client and follow the setup instructions.

Connector linkhttps://edge.vinkius.com/vk_preview_P7oHV5GHq8rxTC1NTv2JLJCXn6T6RfSyNztgHEJ6/mcp

Claude Desktop

Follow the steps below to connect in seconds.

  1. 1In Claude Desktop, open Settings → Connectors.
  2. 2Click “Add custom connector” and paste the connector link above as the remote MCP server URL.
  3. 3Click Add and start a new chat — Banco Central do Brasil capabilities are ready to use.
Configuration · claude_desktop_config.jsonCopy
{
  "mcpServers": {
    "bcb-juros-selic-cdi-e-expectativas-focus-mcp": {
      "url": "https://edge.vinkius.com/vk_preview_P7oHV5GHq8rxTC1NTv2JLJCXn6T6RfSyNztgHEJ6/mcp"
    }
  }
}
Copy into chat04
  • Get the current CDI rate and tell me the spread for a 110% CDI bond.

  • Use the latest CDI to calculate the present value of a fixed income asset paying 12% per year.

  • Compare the current CDI against the yield of my Tesouro Selic position.

  • What is the current CDI rate, and how does it affect my yield-to-maturity calculations?

  • Claude
  • ChatGPT
  • Cursor
  • VS Code
  • Windsurf
  • Claude Code
  • JetBrains
  • Cline

Start here

Connect BCB Juros once, then ask.

Click the link to connect the MCP to your client. Your credentials stay encrypted and private. You can find the full technical details on the Connector page.

Connect BCB Juros to your AI

FAQ

Common questions

  • 01

    Can the AI change the CDI rate?

    No. The AI can only read the rate from the source. It cannot modify market data.

  • 02

    Does the AI perform the actual trade?

    No. The AI provides the data and the math, but you must execute all trades yourself.

  • 03

    How often is the CDI updated?

    The AI pulls the most recent data available through the get_cdi tool at the moment you ask.

  • 04

    Can I use this for Selic rates too?

    This specific tool is built for CDI retrieval to establish benchmarks.

  • 05

    Will the AI save my financial models?

    No. The AI processes the data within your chat session. It does not have a persistent database for your private models.

  • More questions about BCB Juros? The Connector page answers them. See everything the BCB Juros Connector can do

Connect Banco Central do Brasil to Claude, Cursor, ChatGPT & more