JUHE API Marketplace
rodcar avatar
MCP Server

BCRP-MCP

Model Context Protocol server that provides access to economic and financial time series data from Peru's Central Reserve Bank, enabling AI agents to search, explore, and analyze Peru's economic indicators through a standardized interface.

3
GitHub Stars
11/22/2025
Last Updated
MCP Server Configuration
1{
2 "name": "bcrp_mcp_remote",
3 "command": "npx",
4 "args": [
5 "mcp-remote",
6 "https://bcrp-mcp.onrender.com/mcp"
7 ]
8}
JSON8 lines
  1. Home
  2. MCP Servers
  3. bcrp-mcp

README Documentation

BCRP-MCP

Model Context Protocol (MCP) Server for BCRP Economic and Financial Time Series Data


πŸ‘¨β€πŸ’» Author

Ivan Yang Rodriguez Carranza


πŸ“‹ Table of Contents

  • 🎯 Overview
  • 🎬 Demo
  • πŸ”§ Tools
  • πŸ’¬ Prompts
  • πŸš€ How to Use
  • πŸ’‘ Examples
  • πŸ›οΈ Architecture Diagram
  • πŸ“ License
  • πŸ™ Acknowledgments

🎯 Overview

BCRP-MCP is a Model Context Protocol (MCP) server that provides seamless access to economic and financial time series data from the BCRP (Banco Central de Reserva del PerΓΊ) - Central Reserve Bank of Peru. This server enables AI agents and applications to search, explore, and analyze Peru's economic indicators, financial statistics, and monetary data through a standardized MCP interface.


🎬 Demo

https://github.com/user-attachments/assets/c42eb8c3-4a1c-442d-bd12-cc1fd4ff18ae

Demo (Spanish): https://youtube.com/shorts/gsjC07WR0n0


πŸ”§ Tools

NameInputDescription
search_time_series_groupskeywordsSearch for time series groups using one or multiple keywords
search_time_series_by_grouptime_series_groupFind all time series within a specific group, returns code and name pairs
get_time_series_datatime_series_code
start
end
Retrieve time series data for a specific code within a date range

Note: When using the remote server, the MCP client may require increased connection timeout settings.


πŸ’¬ Prompts

NameInputDescription
search_datakeywordGuided workflow to find relevant time series using keyword search
askquestionFinancial analysis workflow that extracts keywords, searches data, and answers questions

πŸš€ How to Use

Claude Desktop (Remote Server)

Note: Requires npx which comes bundled with npm. If you don't have npm installed, install Node.js which includes npm.

Add to Claude Desktop config (Claude > Settings > Developer > Edit Config):

{
  "mcpServers": {
    "bcrp_mcp_remote": {
      "command": "npx",
      "args": [
        "mcp-remote",
        "https://bcrp-mcp.onrender.com/mcp"
      ]
    }
  }
}

Local Server

Note: Make sure you have uv installed. If not, install it from uv.tool.

Clone and install:

git clone https://github.com/rodcar/bcrp-mcp.git
cd bcrp-mcp
uv sync

Add to Claude Desktop config (Claude > Settings > Developer > Edit Config):

Note: Replace /path/to/bcrp-mcp with the actual path where you cloned the repository.

{
  "mcpServers": {
    "simple_mcp": {
      "command": "uv",
      "args": [
        "--directory",
        "/path/to/bcrp-mcp",
        "run",
        "main.py"
      ]
    }
  }
}

MCP Inspector (Alternative)

Note: Requires npx which comes bundled with npm. If you don't have npm installed, install Node.js which includes npm.

Note: Replace /path/to/bcrp-mcp with the actual path where you cloned the repository.

Run

npx @modelcontextprotocol/inspector \
  uv \
  --directory /path/to/bcrp-mcp \                     
  run \
  main.py

Open MCP Inspector (URL displayed in the console) and configure the MCP client with the following settings:

  • Transport Type: Streamable HTTP
  • URL: http://bcrp-mcp.onrender.com/mcp
  • Request Timeout: Increase from default values
  • Maximum Total Timeout: Increase from default values
  • Proxy Session Token: Use the token generated in the console

πŸ’‘ Examples

PromptLanguageQuestionConversation
askSpanish"ΒΏCΓ³mo ha evolucionado la tasa de interΓ©s de referencia en el ΓΊltimo aΓ±o?"https://claude.ai/share/34df5f90-7a35-474d-b4cf-e8f48c3f9772

πŸ›οΈ Architecture Diagram

BCRP-MCP follows the Model Context Protocol specification and provides a clean abstraction layer over the BCRP API.

graph LR
    CLIENT[MCP Client<br/>Claude Desktop, IDE, etc.] --> MCP_SERVER[BCRP-MCP Server]
    
    subgraph TOOLS ["πŸ”§ Tools"]
        SEARCH_GROUP[search_time_serie_group]
        SEARCH_SERIES[search_time_series_by_group]
        GET_DATA[get_time_series_data]
    end
    
    subgraph "πŸ’¬ Prompts"
        SEARCH_PROMPT[search_data]
        ASK_PROMPT[ask]
    end
    
    MCP_SERVER --> SEARCH_GROUP
    MCP_SERVER --> SEARCH_SERIES
    MCP_SERVER --> GET_DATA
    MCP_SERVER --> SEARCH_PROMPT
    MCP_SERVER --> ASK_PROMPT
    
    TOOLS --> BCRP_API[BCRP API<br/>estadisticas.bcrp.gob.pe]
    
    style CLIENT fill:#e3f2fd
    style MCP_SERVER fill:#f3e5f5
    style BCRP_API fill:#fff3e0

πŸ“ License

This project is licensed under the Apache License 2.0.


πŸ™ Acknowledgments

  • BCRP for providing open access to Peru's economic data
  • bcrpy library for the Python interface to BCRP data (https://github.com/andrewrgarcia/bcrpy)

Note: bcrpy was used in early development, is no longer a dependency. Unfortunately the performance for the remote MCP server led to response timeouts.


Report Bug Β· Request Feature

Quick Install

Quick Actions

View on GitHubView All Servers

Key Features

Model Context Protocol
Secure Communication
Real-time Updates
Open Source

Boost your projects with Wisdom Gate LLM API

Supporting GPT-5, Claude-4, DeepSeek v3, Gemini and more.

Enjoy a free trial and save 20%+ compared to official pricing.

Learn More
JUHE API Marketplace

Accelerate development, innovate faster, and transform your business with our comprehensive API ecosystem.

JUHE API VS

  • vs. RapidAPI
  • vs. API Layer
  • API Platforms 2025
  • API Marketplaces 2025
  • Best Alternatives to RapidAPI

For Developers

  • Console
  • Collections
  • Documentation
  • MCP Servers
  • Free APIs
  • Temp Mail Demo

Product

  • Browse APIs
  • Suggest an API
  • Wisdom Gate LLM
  • Global SMS Messaging
  • Temp Mail API

Company

  • What's New
  • Welcome
  • About Us
  • Contact Support
  • Terms of Service
  • Privacy Policy
Featured on Startup FameFeatured on Twelve ToolsFazier badgeJuheAPI Marketplace - Connect smarter, beyond APIs | Product Huntai tools code.marketDang.ai
Copyright Β© 2025 - All rights reserved