# BCB Juros Rate MCP MCP

> BCB Juros — Selic, CDI e Expectativas Focus accesses Brazilian central bank financial data directly through the MCP. Get four essential rate benchmarks in one place: the official SELIC target rate (COPOM decisions), the daily effective rate, the interbank CDI rate, and market forecasts for future rates from the Focus Survey. This single connection lets you build models that track Brazil's monetary policy shifts instantly.

## Overview
- **Category:** industry-titans
- **Price:** Free
- **Tags:** interest-rates, selic-rate, cdi-rate, monetary-policy, financial-benchmarks

## Description

This connector gives your agent direct access to key Brazilian interest rates, letting you model how changes in the economy affect financing costs. You don't have to visit multiple government sites or piece together data from different reports. Instead, you can ask for a comprehensive view—for example, comparing today’s daily SELIC rate against what analysts predict next quarter. It lets your workflow monitor whether market expectations (the Focus Survey) are keeping pace with the central bank's actual decisions. Since Vinkius hosts this MCP, you connect once from any compatible client and get all four data points needed for accurate financial modeling.

## Tools

### get_selic_meta
Fetches the SELIC target rate that was formally defined and set by the central bank's COPOM committee.

### get_selic_diaria
Provides the actual daily effective overnight Selic rate, showing real-time changes in monetary policy execution.

### get_cdi
Retrieves the Interbank Deposit Certificate (CDI) rate, a key reference for most fixed-income investments in Brazil.

### get_expectativas_selic
Gathers market consensus data points—median, average, min, and max—for projected future SELIC rates from the Focus Survey.

## Prompt Examples

**Prompt:** 
```
What is the current Selic interest rate in Brazil?
```

**Response:** 
```
🏦 **Selic Target Rate**

Current: 14.25% per year
Last decision: March 19, 2026 (COPOM)
Action: Maintained (+0bp)

The Selic is Brazil's benchmark interest rate, set by the COPOM committee every 45 days.

Source: BCB, SGS series 432
```

**Prompt:** 
```
Fetch the CDI accumulated rate for the previous month.
```

**Response:** 
```
According to the financial indices, the interbank CDI return for the last completed month accrued exactly 1.12%.
```

**Prompt:** 
```
List the Focus survey expectation for the Selic rate by next December.
```

**Response:** 
```
The median Focus panel agreement projects the Selic ending next year's cycle at approximately 9.50% p.a.
```

## Capabilities

### Track Target Rate Changes
Get the official SELIC rate set by the COPOM committee, showing the current monetary policy goal.

### Monitor Daily Fluctuations
Retrieve the real-time, effective overnight Selic rate, reflecting day-to-day economic activity.

### Calculate Interbank Benchmarks
Fetch the CDI rate, which serves as a primary benchmark for most fixed income investments in Brazil.

### Forecast Future Rates
Access market consensus data, including median and average projections for future SELIC rates from the Focus Survey.

### Cross-Reference Benchmarks
Compare the three distinct rate types (target, daily, CDI) against each other in a single query to analyze market tension.

## Use Cases

### Forecasting Bond Performance
A bond fund manager needs to predict yield changes. They ask their agent to combine the current `get_cdi` rate with the median projection from `get_expectativas_selic`. The agent delivers a comprehensive report, allowing the manager to adjust their portfolio weeks in advance.

### Analyzing Policy Drift
A risk analyst suspects the central bank's stated goal isn't matching reality. They prompt for `get_selic_meta` and compare it directly with `get_selic_diaria`. The agent flags any significant difference, pointing to potential policy drift.

### Building a Rate Dashboard
A data science team needs a dashboard feed. They instruct their agent to pull the most recent CDI rate via `get_cdi` and then append it with the official SELIC target from `get_selic_meta`, creating a single, authoritative source for daily display.

### Stress Testing Scenarios
A credit portfolio manager wants to stress test assets against varied future conditions. They ask the agent to pull multiple data points: `get_selic_diaria` (current), and use `get_expectativas_selic` (future) to build three separate, quantifiable risk profiles.

## Benefits

- You can instantly compare the official SELIC target rate (via `get_selic_meta`) with the actual daily movement (`get_selic_diaria`), letting you see if policy execution is deviating from the stated goal. This saves hours of manual cross-checking.
- Modeling becomes faster when you combine the historical data for CDI from `get_cdi` with future projections using `get_expectativas_selic`. You can run full scenario analyses without juggling multiple tabs.
- Instead of reading through complex government reports, your agent summarizes the key numbers—the median and average market forecasts—using `get_expectativas_selic`, giving you an immediate read on analyst mood.
- The MCP allows your code to track not just the headline rate but also the specific interbank rates. You can use `get_cdi` alongside other data points to accurately gauge fixed-income performance.
- You avoid making assumptions about which rate is most important. By having access to all four distinct endpoints, you build models that account for every variable: target, daily, CDI, and expectation.

## How It Works

The bottom line is you get all critical Brazilian interest rate metrics in one clean output package, eliminating manual data aggregation.

1. First, prompt your agent with the specific rates you need; for example, 'What is the current SELIC target and what are the Focus expectations?'
2. Your agent sends a structured request through this MCP to gather the required data from the various central bank endpoints.
3. It returns a consolidated object containing the official rate settings, daily movements, CDI benchmarks, and market forecasts.

## Frequently Asked Questions

**How do I use get_cdi? **
You call `get_cdi` when you need the primary benchmark rate for fixed income investments. This rate is crucial because it informs the valuation of most local assets.

**Is get_selic_meta different from get_selic_diaria? **
Yes, they track two different things: `get_selic_meta` gives the official goal set by COPOM. `get_selic_diaria` shows what the rate actually was overnight, which can reveal policy deviations.

**What does get_expectativas_selic provide? **
`get_expectativas_selic` pulls market consensus data from the Focus Survey. It gives you a range (median, min, max) of what financial institutions predict for future rates.

**Can I compare CDI and SELIC targets easily? **
Yes. You combine `get_cdi` and `get_selic_meta`. This comparison is vital for understanding the premium or discount applied to fixed-income assets relative to the central bank's stated policy goal.

**How often does the rate retrieved by `get_expectativas_selic` update?**
The data updates every Monday when the BCB releases the official Focus report. This means you get market projections right after the institutional consensus is set.

**What types of investments are referenced by the rate from `get_cdi`?**
The CDI serves as a key benchmark for most fixed-income products in Brazil. Specifically, it tracks rates for CDBs, LCIs, and DI funds.

**What should I do if the query for `get_selic_diaria` fails?**
If the daily rate request fails, check your network connection. You can also try rephrasing the prompt or running the tool command again to get the most current effective overnight rate.

**Can I combine `get_selic_meta` and `get_cdi` in one workflow?**
Yes, you can chain these functions within your AI client's agent. This allows you to immediately compare the central bank's target rate against the interbank benchmark.

**What is the difference between Selic and CDI?**
Selic is the overnight rate for government bond-backed interbank loans, set/targeted by the COPOM. CDI is the interbank rate for unsecured overnight deposits between banks. CDI closely tracks Selic and is the most common benchmark for fixed-income investments in Brazil.

**Can I trust the Selic Daily effective values?**
Yes. The module pipes data strictly authenticated by the Brazilian Central Bank. The effective Selic updates are legally suitable for debt recalculations and financial modeling.

**Does it include expected adjustments set by COPOM?**
Absolutely. By integrating the Focus expectations array, your AI is acutely aware of forward market opinions preceding actual COPOM rate cut decisions.