get_series

Pack: bcrp-pe · Endpoint: https://gateway.pipeworx.io/bcrp-pe/mcp

Time-series data from the Banco Central de Reserva del Perú (BCRP) statistics API. Pass one or more BCRP

Parameters

NameTypeRequiredDescription
seriesstringyesOne or more BCRP series codes joined with ”-”, e.g. “PD04722MM” or “PD04638PD-PD04640PD”.
startstringnoStart period in the frequency’s format: daily YYYY-M-D, monthly YYYY-M, annual YYYY. Omit for full history.
endstringnoEnd period, same format as start. Requires start. Omit for latest.
langstringnoResponse language: “ing” (English, default) or “esp” (Spanish).

Example call

Arguments

{
  "series": "PD04722MM"
}

curl

curl -X POST https://gateway.pipeworx.io/bcrp-pe/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"get_series","arguments":{"series":"PD04722MM"}}}'

TypeScript (@pipeworx/sdk)

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

const result = await pipeworx.call('get_series', {
  "series": "PD04722MM"
});

More examples

{
  "series": "PD04638PD-PD04640PD",
  "start": "2026-1-1",
  "end": "2026-5-28",
  "lang": "ing"
}
{
  "series": "PN01273PM",
  "start": "2024-1",
  "lang": "esp"
}

Connect

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

{
  "mcpServers": {
    "bcrp-pe": {
      "url": "https://gateway.pipeworx.io/bcrp-pe/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build August 31, 2026