# Banco Central do Brasil (BCB) — SGS Time Series MCP Server

> Banco Central do Brasil (BCB) — SGS Time Series MCP Server is an open-source MCP server for finance and payments. Brazil central bank data: Selic, IPCA, Focus market expectations and PTAX FX rates. It can run locally on your machine or as a hosted remote server.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** API, CLI, self-hosted
- **Website:** https://bcb.sidneybissoli.com
- **Repository:** https://github.com/sidneybissoli/bcb-br-mcp
- **MCP Registry name:** io.github.SidneyBissoli/bcb-br-mcp
- **Categories:** finance and payments, analytics and data
- **Listing updated:** 2026-11-14

## About

The server answers questions in plain Portuguese or English with live figures from the Banco Central do Brasil, each with its source and licence. Three families of data are covered: SGS time series, the Focus survey of market expectations served through the Olinda OData API, and PTAX official closing exchange rates. Examples from the project include the current Selic rate, month-by-month IPCA for 2024, expected IPCA for 2027, the Selic expected at the next Copom meeting and the euro's PTAX close on a given Friday.

It smooths over several API quirks. The BCB API refuses daily windows longer than 10 years, so the server slices, fetches and merges them and a 15-year daily query works. Series that are already percentage changes, such as IPCA, IGP-M and INPC, are compounded geometrically, and the answer says which method it used. A curated catalogue holds 135 series checked against the source, alongside the open data portal index. Responses declare the ODbL licence, and the BCB's own notice is passed through on exchange rates.

There are 17 tools, 3 resources and 3 prompts. Use the hosted endpoint over streamable HTTP or run the npm package over stdio.

## Features

- **SGS time series:** Query series by code, latest values, metadata and keyword search.
- **Focus expectations:** Market forecasts for IPCA, GDP, FX and Selic by Copom meeting.
- **PTAX rates:** Official closing quotes for any currency the BCB publishes.
- **Long-window queries:** Daily ranges beyond the API's 10-year cap are sliced and merged.
- **Resampling and variation:** Convert to monthly, quarterly or annual and compute percentage change.
- **Source and licence:** Every response names provenance and the ODbL licence.

## Good for

- Look up the current Selic rate
- Compare IPCA and IGP-M over several years
- See what the market expects for inflation next year
- Fetch PTAX closing quotes for a date range
- Resample a daily series into annual values

## Install

### Claude Code (Terminal)

```sh
claude mcp add --transport http bcb-br-mcp https://bcb.sidneybissoli.com/mcp
```

### Claude Desktop (Settings → Connectors → Add custom connector)

```sh
https://bcb.sidneybissoli.com/mcp
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "bcb-br-mcp": {
      "url": "https://bcb.sidneybissoli.com/mcp"
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "bcb-br-mcp": {
      "type": "http",
      "url": "https://bcb.sidneybissoli.com/mcp"
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "bcb-br-mcp": {
      "serverUrl": "https://bcb.sidneybissoli.com/mcp"
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "bcb-br-mcp": {
      "type": "http",
      "url": "https://bcb.sidneybissoli.com/mcp"
    }
  }
}
```

## Tools

- `bcb_indicadores_atuais`: Return the latest values of key indicators such as Selic.
- `bcb_serie_valores`: Return values of a time series, optionally in a date range.
- `bcb_variacao`: Calculate percentage change between periods.
- `bcb_focus_expectativas`: Return Focus market expectations for IPCA, GDP, FX and more.
- `bcb_focus_selic`: Return expected Selic by Copom meeting.
- `bcb_cambio_cotacao`: Return PTAX closing exchange rates.

## FAQ

### Do I have to install anything?

No. Point a client at https://bcb.sidneybissoli.com/mcp, or use the npm package bcb-br-mcp over stdio.

### How many series are in the catalogue?

135 series verified against the source, plus the open data portal index.

### What licence applies to the data?

The server declares ODbL in each response.

### Which tool answers a Selic question?

bcb_indicadores_atuais returns current values of key indicators.

### Is Banco Central do Brasil (BCB) — SGS Time Series MCP Server free?

Yes. Banco Central do Brasil (BCB) — SGS Time Series MCP Server is open source, so you can use and self-host it for free.

### How do I add Banco Central do Brasil (BCB) — SGS Time Series MCP Server to Claude Code?

Run this command in your terminal: claude mcp add --transport http bcb-br-mcp https://bcb.sidneybissoli.com/mcp

### What are the best alternatives to Banco Central do Brasil (BCB) — SGS Time Series MCP Server?

The closest alternatives to Banco Central do Brasil (BCB) — SGS Time Series MCP Server are Observatório BR, Brazil Central Bank & Finance Calculators (x402), Brazilayer: Brazilian Public Data, IBGE Brasil MCP and Dados B3.

## Where this comes from

- Description: written from the project's README and the project's website.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [Observatório BR](https://ai-powered.com/mcp/observatorio-br): Observatório BR is a free MCP server for analytics and data.
- [Brazil Central Bank & Finance Calculators (x402)](https://ai-powered.com/mcp/brazil-central-bank-and-finance-calculators-x402): Brazil Central Bank & Finance Calculators (x402) is an MCP server for finance and payments.
- [Brazilayer: Brazilian Public Data](https://ai-powered.com/mcp/brazilayer-brazilian-public-data): Brazilayer: Brazilian Public Data is a paid MCP server for legal and government.
- [IBGE Brasil MCP](https://ai-powered.com/mcp/ibge-brasil-mcp): IBGE Brasil MCP is an open-source MCP server for analytics and data.
- [Dados B3](https://ai-powered.com/mcp/dados-b3): Dados B3 is a freemium MCP server for finance and payments.
- [Renda Fixa](https://ai-powered.com/mcp/renda-fixa): Renda Fixa is an MCP server for finance and payments.
- [CambioKit: Argentina & Brazil data](https://ai-powered.com/mcp/cambiokit-argentina-and-brazil-data): CambioKit: Argentina & Brazil data is a paid MCP server for finance and payments.
- [Mestre Prático • Brazil Retail & Commodities MCP](https://ai-powered.com/mcp/mestre-pratico-brazil-retail-and-commodities-mcp): Mestre Prático • Brazil Retail & Commodities MCP is a free MCP server for analytics and data.

---
Source: https://ai-powered.com/mcp/banco-central-do-brasil-bcb-sgs-time-series-mcp-server
