Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
BCRP_TIMEOUTNoHTTP request timeout in seconds120
BCRP_CACHE_DIRNoDirectory for metadata cacheUser cache dir

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
search_seriesA

Search for BCRP economic indicators by keyword.

Uses deterministic search with fuzzy matching. Returns the best match or an ambiguity error if multiple matches are equally scored.

Args: query: Search term (e.g., "tipo de cambio", "inflacion", "PBI")

Returns: JSON string with match result containing codigo_serie and confidence, or error details if ambiguous or not found.

get_dataA

Fetch time series data for specific BCRP series codes.

Args: series_codes: List of BCRP series codes (e.g., ["PN01652XM", "PD04638PD"]) period: Date range in format 'YYYY-MM/YYYY-MM' or single 'YYYY-MM'. If None, returns all available data.

Returns: JSON string with array of records containing 'time' and values.

get_tableB

Get a formatted table with custom column names.

Args: series_codes: List of BCRP series codes to retrieve names: Optional custom names for columns (must match series_codes length) period: Date range in format 'YYYY-MM/YYYY-MM' or 'YYYY'

Returns: JSON string with formatted table data.

plot_chartA

Generate a professional chart for BCRP series data. Returns the path to the saved PNG file.

Args: series_codes: List of BCRP series codes to plot period: Date range in format 'YYYY-MM/YYYY-MM' (optional) title: Custom chart title (optional, uses series name if not provided) names: Custom names for each series in legend (optional) output_path: Custom output path for the chart (optional)

Prompts

Interactive templates invoked by user choice

NameDescription
economista_peruanoPrompt para actuar como un experto economista peruano (BCRP). Usa este prompt para analizar datos con rigor técnico y contexto local.
analista_financieroPrompt para análisis de mercados financieros (Forex, Tasas). Enfocado en movimientos de corto plazo y niveles técnicos.
explorador_datosPrompt para ayudar a descubrir códigos de series del BCRP. Actúa como un bibliotecario de la base de datos BCRP.

Resources

Contextual data attached and managed by the client

NameDescription
get_metadataRetorna resumen de metadatos en caché incluyendo conteo total.
get_key_indicatorsRetorna lista de los principales indicadores económicos.
get_helpRetorna guía de uso del servidor MCP BCRP.

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/MaykolMedrano/mcp_bcrp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server