Indicators & financePeruNo keyBeta

Peru exchange rate, rates and inflation (BCRP)

Official statistical series from the Central Reserve Bank of Peru (BCRPData): exchange rate, policy rate, inflation, GDP, international reserves and any series by its code.

peru_bcrp_series

Use it over MCP

  1. Connect the server https://mcp.betterllama.com/mcp in your client (setup per client).
  2. Ask your agent, for example:
    • «What is Peru's interbank dollar exchange rate?»
    • «Lima Metropolitan 12-month inflation in 2026, month by month»
  3. Or call the tool peru_bcrp_series with these arguments:
arguments
{
  "series": [
    "tc_interbancario_venta",
    "tasa_referencia"
  ],
  "fromDate": "2026-11-01",
  "maxItems": 10
}

This tool needs no key.

Beta: free and with no sign-up while we test the service.

Direct HTTP call (JSON-RPC)

Without an MCP client, POST to the same server:

curl
curl -s https://mcp.betterllama.com/mcp \
  -H "Content-Type: application/json" \
  -H "Accept: application/json, text/event-stream" \
  -d '{"jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": {"name": "peru_bcrp_series", "arguments": {"series": ["tc_interbancario_venta", "tasa_referencia"], "fromDate": "2026-11-01", "maxItems": 10}}}'
python
import json, requests

# Call a Better Llama MCP tool over HTTP (JSON-RPC)
URL = "https://mcp.betterllama.com/mcp"
HEADERS = {"Accept": "application/json, text/event-stream"}

def call(tool, arguments):
    body = {"jsonrpc": "2.0", "id": 1, "method": "tools/call",
            "params": {"name": tool, "arguments": arguments}}
    r = requests.post(URL, json=body, headers=HEADERS, timeout=120)
    r.raise_for_status()
    result = r.json()["result"]
    data = json.loads(result["content"][0]["text"])
    if result.get("isError"):
        raise RuntimeError(data["error"])
    return data

data = call("peru_bcrp_series", {"series": ["tc_interbancario_venta", "tasa_referencia"], "fromDate": "2026-11-01", "maxItems": 10})
for row in data["results"]:
    print(row)
print(data["attribution"])

The answer text is JSON with results, count, warnings, attribution and source.

Example response

Real results returned by the source (2026-11-20), shortened:

json
{
  "results": [
    {
      "code": "PD04638PD",
      "alias": "tc_interbancario_venta",
      "name": "Tipo de cambio - TC Interbancario (S/ por US$) - Venta",
      "unit": "S/ por US$",
      "frequency": "diaria",
      "latest": {
        "period": "18.Nov.26",
        "date": "2026-11-18",
        "value": 3.43214285714286
      },
      "points": [
        {
          "period": "18.Nov.26",
          "date": "2026-11-18",
          "value": 3.43214285714286
        },
        {
          "period": "17.Nov.26",
          "date": "2026-11-17",
          "value": 3.41171428571429
        },
        {
          "period": "16.Nov.26",
          "date": "2026-11-16",
          "value": 3.41357142857143
        }
      ]
    },
    {
      "code": "PD12301MD",
      "alias": "tasa_referencia",
      "name": "Tasas de interés - Tasa de Referencia de la Política Monetaria",
      "unit": "%",
      "frequency": "diaria",
      "latest": {
        "period": "20.Nov.26",
        "date": "2026-11-20",
        "value": 4.5
      },
      "points": [
        {
          "period": "20.Nov.26",
          "date": "2026-11-20",
          "value": 4.5
        },
        {
          "period": "19.Nov.26",
          "date": "2026-11-19",
          "value": 4.5
        },
        {
          "period": "18.Nov.26",
          "date": "2026-11-18",
          "value": 4.5
        }
      ]
    },
    {
      "code": "PN01273PM",
      "alias": "inflacion_12m",
      "name": "Índice de precios Lima Metropolitana (var% 12 meses) - IPC",
      "unit": "%",
      "frequency": "mensual",
      "latest": {
        "period": "Oct.2026",
        "date": "2026-10",
        "value": 5.25100548299322
      },
      "points": [
        {
          "period": "Oct.2026",
          "date": "2026-10",
          "value": 5.25100548299322
        }
      ]
    }
  ],
  "attribution": "Fuente: Banco Central de Reserva del Perú (BCRP), BCRPData — estadisticas.bcrp.gob.pe. Reproducción permitida citando la fuente (Condiciones de uso de BCRPData). En series de fuente externa (p. ej. IPC elaborado por el INEI) la responsabilidad del dato recae en la entidad que lo provee. Datos sin modificar salvo formato; no constituyen asesoramiento."
}

Parameters

ArgumentDescriptionType
operationseries = values of one or more series; catalogo = list of popular series with their alias and code.
Values: series, catalogo; Default: "series"
string
seriesseries: BCRP codes (e.g. "PD04638PD") or catalog aliases (tc_interbancario_venta, tc_interbancario_compra, tc_sbs_venta, tc_sbs_compra, tc_euro_venta, tc_interbancario_venta_mensual, tasa_referencia, tasa_referencia_mensual, …). Up to 10.array<string>
querycatalogo: filter by text, e.g. "tipo de cambio", "inflación", "tasa", "reservas".string
fromDateseries: from (YYYY-MM-DD, YYYY-MM or YYYY). Adapted to each series' frequency (the month, quarter or year containing the date). Default: 45 days (daily), 24 months (monthly), 12 quarters or 10 years.string
toDateseries: to (YYYY-MM-DD, YYYY-MM or YYYY). Default today (Lima time).string
maxItemsMaximum number of results to return (1-1000). Default 30.
Default: 30; Max: 1000
integer

Source and attribution

Fuente: Banco Central de Reserva del Perú (BCRP), BCRPData — estadisticas.bcrp.gob.pe. Reproducción permitida citando la fuente (Condiciones de uso de BCRPData). En series de fuente externa (p. ej. IPC elaborado por el INEI) la responsabilidad del dato recae en la entidad que lo provee. Datos sin modificar salvo formato; no constituyen asesoramiento. Source site: estadisticas.bcrp.gob.pe/estadisticas/series.

The BCRPData terms of use allow reproducing the data in whole or in part, without express permission, as long as the source is cited. Cite «Fuente: BCRP, BCRPData»; the attribution field of every answer has the full text. For series from external sources, such as the CPI produced by INEI, the producing entity is responsible for the data. BCRPData terms of use (in Spanish).

FAQ

What data does it return?

Official statistical series from the Central Reserve Bank of Peru via BCRPData: interbank and SBS dollar exchange rates, euro, monetary policy reference rate, interbank rate, TAMN, Lima Metropolitan CPI inflation (monthly, 12-month, core and excluding food and energy), inflation and GDP expectations, GDP, net international reserves and exports. It also accepts any other BCRP series code.

How do I find a series code?

Use operation=catalogo: it returns 22 popular series with their alias (for example tc_interbancario_venta, tasa_referencia or inflacion_12m) and BCRP code. You can filter with query, for example «inflación» or «reservas». If you already know the code, such as PD04638PD, pass it directly in series.

Do I need a key?

No. The BCRPData API is public and needs no key, and the server caches answers for 30 minutes.

How should I cite the source?

The BCRPData terms of use allow reproducing the data as long as the source is cited. Cite «Fuente: BCRP, BCRPData»; the attribution field of every answer has the full text and source links to the series queried.

How up to date is the data?

It is what the BCRP publishes at query time (with up to 30 minutes of caching). Daily series, such as the exchange rate, are published on business days; days without data («n.d.») are skipped and reported in warnings. Monthly series, such as inflation, appear when the BCRP publishes them. Every series includes its latest value in latest.

How much does it cost?

Free during the beta, with no sign-up and a limit of 60 requests per minute per IP. If paid plans come later, we will announce them on betterllama.com first.