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
| Name | Type | Required | Description |
|---|---|---|---|
code | integer | yes | SGS series code, e.g. 432 (Selic target). |
last | integer | no | Return only the most recent N observations, e.g. 12. Omit for full/ranged series. |
start | string | no | Start date dd/MM/yyyy, e.g. “01/01/2025”. Optional. |
end | string | no | End 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.