Maykol Medrano
  • Home
  • Software
  • Policy & Research
  • Blog

On this page

  • Featured: AI & Agentic Tools
  • Python Packages for Economic Research
  • Stata Modules & Public Policy Tools
  • Edit this page
  • Report an issue

Open Source Software

Python, Stata, and MCP tools for economic data access and research engineering

Open Source
Python
Stata
Econometrics
AI Agents
Explore open-source tools for analyzing household surveys, central bank data, and AI-ready statistical agents.

I build and maintain open-source tools that democratize access to economic data across Latin America. My work focuses on Research Engineering, bridging the gap between statistical databases and modern computational tools for researchers and AI agents.


Featured: AI & Agentic Tools

mcp-bcrp — AI-Ready Central Bank Data

PyPI version Downloads GitHub stars License

GitHub · PyPI

MCP Server for the Central Reserve Bank of Peru (BCRP) statistical API. It enables AI agents like Claude or ChatGPT to programmatically access over 5,000 macroeconomic indicators, facilitating automated economic analysis and direct reporting from official sources.

mcp-wbgapi360 — World Bank Data for Agents

PyPI version Downloads GitHub stars License

GitHub · PyPI

An enterprise-grade, asynchronous Python client for the World Bank Data360 API. Featuring hybrid MCP support, it allows AI models to retrieve international development data with high performance, enabling complex cross-country comparisons in seconds.


Python Packages for Economic Research

enahodata — Peru Household Survey Access

PyPI version Downloads GitHub stars License

GitHub · PyPI

Python library that automates the download and processing of the National Household Survey modules conducted by Peru’s INEI. Designed for large-scale social policy analysis, it provides standardized access to longitudinal microdata on poverty and employment.

usebcrp — BCRP Data Client for Python

PyPI version Downloads GitHub stars License

GitHub · PyPI

Python package for the BCRP statistical API, providing programmatic access to macroeconomic indicators and national accounts. This tool simplifies the integration of official time-series data into reproducible financial research and econometric models.

usecasen & usebcch — Chile Data Tools

GitHub stars License GitHub stars License

CASEN · BCCH

Specialized Python tools for working with Chile’s National Socioeconomic Characterization Survey and the Central Bank of Chile database. These libraries facilitate multidimensional poverty analysis and the monitoring of monetary policy indicators for advanced social evaluation.


Stata Modules & Public Policy Tools

useminedu — Peru Ministry of Education Data

GitHub stars License

GitHub

Stata module for downloading educational statistics directly from the ESCALE platform. It automates the retrieval of school-level data and education census indicators, allowing researchers to perform high-resolution impact evaluations and territorial monitoring in Peru.

fixencoding — Batch Character Encoding Repair

GitHub stars License

GitHub

A Stata utility designed to batch-correct character encoding issues in legacy data files. It simplifies the use of the unicode translate command for multiple datasets, ensuring proper handling of special characters (like tildes and ñ) across different software versions.

siafreport — Public Expenditure Reporting

GitHub stars License

GitHub

Stata module developed to generate automated reports on public expenditure execution from SIAF data. It enables precise tracking of budget allocation and spending efficiency, providing institutional stakeholders with reliable metrics for financial auditing and public management.

Source Code
---
title: "Open Source Software"
subtitle: "Python, Stata, and MCP tools for economic data access and research engineering"
description: "Explore open-source tools for analyzing household surveys, central bank data, and AI-ready statistical agents."
categories: [Open Source, Python, Stata, Econometrics, AI Agents]
page-layout: full
---

```{=html}
<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "ItemList",
  "name": "Open Source Software Packages",
  "description": "Python, Stata, and MCP tools for economic data access and research engineering",
  "itemListElement": [
    {
      "@type": "SoftwareApplication",
      "position": 1,
      "name": "mcp-bcrp",
      "description": "MCP Server for the Central Reserve Bank of Peru (BCRP) statistical API. Built for AI Agents.",
      "applicationCategory": "DeveloperApplication",
      "programmingLanguage": "Python",
      "codeRepository": "https://github.com/MaykolMedrano/mcp_bcrp"
    },
    {
      "@type": "SoftwareApplication",
      "position": 2,
      "name": "mcp-wbgapi360",
      "description": "Enterprise-grade Async Python Client for World Bank Data360 with MCP support.",
      "applicationCategory": "DeveloperApplication",
      "programmingLanguage": "Python",
      "codeRepository": "https://github.com/MaykolMedrano/mcp_wbgapi360"
    },
    {
      "@type": "SoftwareApplication",
      "position": 3,
      "name": "enahodata",
      "description": "Python package for Peru's National Household Survey (ENAHO) microdata",
      "programmingLanguage": "Python",
      "codeRepository": "https://github.com/MaykolMedrano/enahodata_py"
    }
  ]
}
</script>
```

I build and maintain open-source tools that democratize access to economic data across Latin America. My work focuses on **Research Engineering**, bridging the gap between statistical databases and modern computational tools for researchers and AI agents.

---

## Featured: AI & Agentic Tools

**mcp-bcrp** — AI-Ready Central Bank Data

[![PyPI version](https://img.shields.io/pypi/v/mcp-bcrp.svg)](https://pypi.org/project/mcp-bcrp)
[![Downloads](https://img.shields.io/pypi/dm/mcp-bcrp.svg)](https://pypi.org/project/mcp-bcrp)
[![GitHub stars](https://img.shields.io/github/stars/MaykolMedrano/mcp_bcrp.svg)](https://github.com/MaykolMedrano/mcp_bcrp)
[![License](https://img.shields.io/github/license/MaykolMedrano/mcp_bcrp.svg)](https://github.com/MaykolMedrano/mcp_bcrp/blob/main/LICENSE)

[GitHub](https://github.com/MaykolMedrano/mcp_bcrp) · [PyPI](https://pypi.org/project/mcp-bcrp)

MCP Server for the Central Reserve Bank of Peru (BCRP) statistical API. It enables AI agents like Claude or ChatGPT to programmatically access over 5,000 macroeconomic indicators, facilitating automated economic analysis and direct reporting from official sources.

**mcp-wbgapi360** — World Bank Data for Agents

[![PyPI version](https://img.shields.io/pypi/v/wbgapi360.svg)](https://pypi.org/project/wbgapi360)
[![Downloads](https://img.shields.io/pypi/dm/wbgapi360.svg)](https://pypi.org/project/wbgapi360)
[![GitHub stars](https://img.shields.io/github/stars/MaykolMedrano/wbgapi360.svg)](https://github.com/MaykolMedrano/mcp_wbgapi360)
[![License](https://img.shields.io/github/license/MaykolMedrano/wbgapi360.svg)](https://github.com/MaykolMedrano/mcp_wbgapi360/blob/main/LICENSE)

[GitHub](https://github.com/MaykolMedrano/mcp_wbgapi360) · [PyPI](https://pypi.org/project/wbgapi360)

An enterprise-grade, asynchronous Python client for the World Bank Data360 API. Featuring hybrid MCP support, it allows AI models to retrieve international development data with high performance, enabling complex cross-country comparisons in seconds.

---

## Python Packages for Economic Research

**enahodata** — Peru Household Survey Access

[![PyPI version](https://img.shields.io/pypi/v/enahodata.svg)](https://pypi.org/project/enahodata)
[![Downloads](https://img.shields.io/pypi/dm/enahodata.svg)](https://pypi.org/project/enahodata)
[![GitHub stars](https://img.shields.io/github/stars/MaykolMedrano/enahodata_py.svg)](https://github.com/MaykolMedrano/enahodata_py)
[![License](https://img.shields.io/github/license/MaykolMedrano/enahodata_py.svg)](https://github.com/MaykolMedrano/enahodata_py/blob/main/LICENSE)

[GitHub](https://github.com/MaykolMedrano/enahodata_py) · [PyPI](https://pypi.org/project/enahodata)

Python library that automates the download and processing of the National Household Survey modules conducted by Peru's INEI. Designed for large-scale social policy analysis, it provides standardized access to longitudinal microdata on poverty and employment.

**usebcrp** — BCRP Data Client for Python

[![PyPI version](https://img.shields.io/pypi/v/usebcrp.svg)](https://pypi.org/project/usebcrp)
[![Downloads](https://img.shields.io/pypi/dm/usebcrp.svg)](https://pypi.org/project/usebcrp)
[![GitHub stars](https://img.shields.io/github/stars/MaykolMedrano/usebcrp.svg)](https://github.com/MaykolMedrano/usebcrp)
[![License](https://img.shields.io/github/license/MaykolMedrano/usebcrp.svg)](https://github.com/MaykolMedrano/usebcrp/blob/main/LICENSE)

[GitHub](https://github.com/MaykolMedrano/usebcrp) · [PyPI](https://pypi.org/project/usebcrp)

Python package for the BCRP statistical API, providing programmatic access to macroeconomic indicators and national accounts. This tool simplifies the integration of official time-series data into reproducible financial research and econometric models.

**usecasen** & **usebcch** — Chile Data Tools

[![GitHub stars](https://img.shields.io/github/stars/MaykolMedrano/usecasen.svg)](https://github.com/MaykolMedrano/usecasen)
[![License](https://img.shields.io/github/license/MaykolMedrano/usecasen.svg)](https://github.com/MaykolMedrano/usecasen/blob/main/LICENSE)
[![GitHub stars](https://img.shields.io/github/stars/MaykolMedrano/usebcch.svg)](https://github.com/MaykolMedrano/usebcch)
[![License](https://img.shields.io/github/license/MaykolMedrano/usebcch.svg)](https://github.com/MaykolMedrano/usebcch/blob/main/LICENSE)

[CASEN](https://github.com/MaykolMedrano/usecasen) · [BCCH](https://github.com/MaykolMedrano/usebcch)

Specialized Python tools for working with Chile's National Socioeconomic Characterization Survey and the Central Bank of Chile database. These libraries facilitate multidimensional poverty analysis and the monitoring of monetary policy indicators for advanced social evaluation.

---

## Stata Modules & Public Policy Tools

**useminedu** — Peru Ministry of Education Data

[![GitHub stars](https://img.shields.io/github/stars/MaykolMedrano/useminedu.svg)](https://github.com/MaykolMedrano/useminedu)
[![License](https://img.shields.io/github/license/MaykolMedrano/useminedu.svg)](https://github.com/MaykolMedrano/useminedu/blob/main/LICENSE)

[GitHub](https://github.com/MaykolMedrano/useminedu)

Stata module for downloading educational statistics directly from the ESCALE platform. It automates the retrieval of school-level data and education census indicators, allowing researchers to perform high-resolution impact evaluations and territorial monitoring in Peru.

**fixencoding** — Batch Character Encoding Repair

[![GitHub stars](https://img.shields.io/github/stars/MaykolMedrano/fixencoding.svg)](https://github.com/MaykolMedrano/fixencoding)
[![License](https://img.shields.io/github/license/MaykolMedrano/fixencoding.svg)](https://github.com/MaykolMedrano/fixencoding/blob/main/LICENSE)

[GitHub](https://github.com/MaykolMedrano/fixencoding)

A Stata utility designed to batch-correct character encoding issues in legacy data files. It simplifies the use of the `unicode translate` command for multiple datasets, ensuring proper handling of special characters (like tildes and ñ) across different software versions.

**siafreport** — Public Expenditure Reporting

[![GitHub stars](https://img.shields.io/github/stars/MaykolMedrano/siafreport.svg)](https://github.com/MaykolMedrano/siafreport)
[![License](https://img.shields.io/github/license/MaykolMedrano/siafreport.svg)](https://github.com/MaykolMedrano/siafreport/blob/main/LICENSE)

[GitHub](https://github.com/MaykolMedrano/siafreport)

Stata module developed to generate automated reports on public expenditure execution from SIAF data. It enables precise tracking of budget allocation and spending efficiency, providing institutional stakeholders with reliable metrics for financial auditing and public management.

© 2026 Maykol Medrano. Licensed under CC-BY-NC 4.0.

 
  • Edit this page
  • Report an issue

Built with Quarto