Banco Central do Brasil (BCB) — Claude Code MCP server
Connects AI clients to Central Bank of Brazil indicators: SGS time series, Focus market forecasts, and PTAX exchange rates.
claude mcp add --transport http bcb-br-mcp https://bcb.sidneybissoli.com/mcpWhat Banco Central do Brasil (BCB) — SGS Time Series MCP Server does
The server connects AI tools directly to Central Bank of Brazil endpoints. It provides 17 tools covering SGS time series, the Focus market survey, and official PTAX foreign exchange rates. Models can pull verified figures like the Selic benchmark rate or IPCA inflation.
Upstream API constraints are resolved automatically. The central bank blocks daily time series queries spanning over ten years with an HTTP 406 error. This server slices long intervals into smaller segments and merges the results. It also applies geometric compounding when resampling period rates, preserving inflation calculations.
You can connect to the hosted HTTP endpoint or run the package locally via npx. Running it locally requires Node.js.
What it helps with
- fetch current figures for Selic interest rates and IPCA inflation
- pull daily time series spanning more than ten years without HTTP 406 errors
- inspect Focus market projections before Copom rate decisions
- retrieve official closing PTAX foreign exchange quotes
Example prompts for the agent
- What are the latest Selic and IPCA indicators from the central bank?
- Show the PTAX USD exchange rate history over the past year.
- What are the market expectations for Selic at the upcoming Copom meeting according to the Focus survey?
How to install Banco Central do Brasil (BCB) — SGS Time Series MCP Server
1Platform CLI: remote server
claude mcp add --transport http bcb-br-mcp https://bcb.sidneybissoli.com/mcp2Platform CLI
claude mcp add banco-central-do-brasil-bcb-sgs-time-series-mcp-server -- npx -y bcb-br-mcp1Platform CLI: remote server
codex mcp add banco-central-do-brasil-bcb-sgs-time-series-mcp-server --url https://bcb.sidneybissoli.com/mcp2Platform CLI
codex mcp add banco-central-do-brasil-bcb-sgs-time-series-mcp-server -- npx -y bcb-br-mcpConfig file
{
"mcpServers": {
"banco-central-do-brasil-bcb-sgs-time-series-mcp-server": {
"url": "https://bcb.sidneybissoli.com/mcp"
}
}
}{
"mcpServers": {
"banco-central-do-brasil-bcb-sgs-time-series-mcp-server": {
"command": "npx",
"args": [
"-y",
"bcb-br-mcp"
]
}
}
}Config file
{
"servers": {
"banco-central-do-brasil-bcb-sgs-time-series-mcp-server": {
"type": "http",
"url": "https://bcb.sidneybissoli.com/mcp"
}
}
}{
"servers": {
"banco-central-do-brasil-bcb-sgs-time-series-mcp-server": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"bcb-br-mcp"
]
}
}
}1Platform CLI: remote server
gemini mcp add -t http banco-central-do-brasil-bcb-sgs-time-series-mcp-server https://bcb.sidneybissoli.com/mcp2Platform CLI
gemini mcp add banco-central-do-brasil-bcb-sgs-time-series-mcp-server npx -y bcb-br-mcpStep by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more
Questions about Banco Central do Brasil (BCB) — SGS Time Series MCP Server
How do I install this MCP server in Claude Code?
Run claude mcp add --transport http bcb-br-mcp https://bcb.sidneybissoli.com/mcp. If you prefer a local stdio process, run claude mcp add banco-central-do-brasil-bcb-sgs-time-series-mcp-server -- npx -y bcb-br-mcp.
What does this MCP server do?
It gives your assistant direct access to Brazilian central bank statistics, including 135 verified time series, the Focus expectation survey, and currency quotes. Responses use live upstream figures rather than guesses from model memory.
How does the server handle queries spanning long date ranges?
The central bank API rejects daily data requests over a ten-year window with an HTTP 406 status. The server slices the requested dates into smaller segments, fetches them sequentially, and joins them together.