Skip to main content
Glama

BCRP-MCP

by rodcar

search_time_series_by_group

Retrieve time series metadata from the BCRP database by specifying a group name. Filter and return a list of matching time series codes and names for analysis of Peru's economic indicators.

Instructions

Search for time series within a specific group from the BCRP database.

This function retrieves time series metadata from the BCRP (Banco Central de Reserva del Perú) database and filters it to find all time series that belong to a specific group. It returns a list of dictionaries containing the code and name of each matching time series.

Args: time_series_group (str): The name of the time series group to search within. This should match or be contained within the "Grupo de serie" field in the BCRP metadata.

Returns: List[Dict[str, str]]: A list of dictionaries where each dictionary contains: - "code": The unique identifier code for the time series - "name": The descriptive name of the time series If an error occurs, returns a list with a single dictionary containing an "error" key with the error message.

Input Schema

NameRequiredDescriptionDefault
time_series_groupYes

Input Schema (JSON Schema)

{ "properties": { "time_series_group": { "title": "Time Series Group", "type": "string" } }, "required": [ "time_series_group" ], "type": "object" }
Install Server

Other Tools from BCRP-MCP

Related Tools

    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/rodcar/bcrp-mcp'

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