sgs_series

Pack: bcb-br · Endpoint: https://gateway.pipeworx.io/bcb-br/mcp

Fetch any Banco Central do Brasil SGS time series by numeric code.

Parameters

NameTypeRequiredDescription
codeintegeryesSGS series code, e.g. 432 (Selic target).
lastintegernoReturn only the most recent N observations, e.g. 12. Omit for full/ranged series.
startstringnoStart date dd/MM/yyyy, e.g. “01/01/2025”. Optional.
endstringnoEnd date dd/MM/yyyy, e.g. “31/12/2025”. Optional.

Example call

Arguments

{
  "code": 432,
  "last": 12
}

curl

curl -X POST https://gateway.pipeworx.io/bcb-br/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"sgs_series","arguments":{"code":432,"last":12}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('sgs_series', {
  "code": 432,
  "last": 12
});

More examples

{
  "code": 433,
  "start": "01/01/2025",
  "end": "31/12/2025"
}

Connect

Add this to your MCP client config, or use one-click install buttons:

{
  "mcpServers": {
    "bcb-br": {
      "url": "https://gateway.pipeworx.io/bcb-br/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build August 28, 2026