sgs_series
Pack: bcb-br · Connect: https://pipeworx.io/mcp (see Connect below for a single-pack URL)
No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/sgs_series for the schema, then POST the same URL with its arguments for the data.
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 — every tool in the catalog, including this one — or use one-click install buttons:
{
"mcpServers": {
"pipeworx": {
"url": "https://pipeworx.io/mcp"
}
}
}
Connect to just the bcb-br pack
{
"mcpServers": {
"bcb-br": {
"url": "https://gateway.pipeworx.io/bcb-br/mcp"
}
}
}
See Getting Started for client-specific install steps.