mcp-bcentral-chile

mcp-bcentral-chile

MCP server for accessing Chilean Central Bank economic data (UF, UTM, IPC, exchange rates, IMACEC, GDP) via official APIs, including series lookup and metadata tools.

Category
Visit Server

README

mcp-bcentral-chile

MCP server para la Base de Datos Estadísticos (BDE) del Banco Central de Chile (sistema SIETE): UF, UTM, IPC, TPM, tipo de cambio, IMACEC, PIB y miles de series económicas. Libre, gratuito y open-source.

Qué cubre

  • Series de tiempo de la API oficial del BCCh (si3.bcentral.cl/SieteRestWS): hasta 30 series por consulta, con rango de períodos (AAAA, AAAA-MM o AAAA-MM-DD según la frecuencia).
  • Metadatos oficiales de cada serie (descripción, frecuencia, unidad) para verificar que un código existe.
  • Catálogo local de las series más usadas (UF, UTM, USD, EUR, IPC, TPM, IMACEC, PIB, desempleo…).

Herramientas

Tool Qué hace
bcentral_serie_datos Observaciones de 1 a 30 series en un rango (JSON estructurado + tabla Markdown)
bcentral_serie_info Descripción oficial, frecuencia y última observación de una serie
bcentral_series_populares Catálogo local de series más usadas (sin red ni clave)

Conexión

Cloudflare (recomendado):

https://bcentral-mcp.kumocloud.cl/mcp

Requiere configurar la clave privada del API BDE en el Worker:

npx wrangler secret put BCENTRAL_API_KEY

Cómo obtener esa clave (es un proceso de 3 pasos):

  1. Regístrate con usuario y contraseña en https://si3.bcentral.cl/Siete/es/Siete/API (sección Registrarse).
  2. Inicia sesión — el propio sitio dice: "Para activar las credenciales debe iniciar sesión". Las credenciales del API se activan al entrar.
  3. Dentro del portal, copia tu clave privada (la cadena alfanumérica que el sitio te muestra para el Web Service — no es tu contraseña). Esa cadena es BCENTRAL_API_KEY.

Local (STDIO):

set BCENTRAL_API_KEY=tu_clave
npm run build
npm start

Ejemplos

  • bcentral_serie_datos con timeseries: "UF", first: "2024-01-01", last: "2024-12-31" → la UF de todo el año.
  • bcentral_serie_datos con timeseries: "UF,UTM,IPC,TPM" → indicadores juntos.
  • bcentral_serie_info con timeseries: "IMACEC" → verificar que el código existe y qué mide.

Límites y notas

  • Máximo 30 series por consulta (límite oficial del BCCh). El error te dice cuándo dividir.
  • Los períodos se expresan en el formato de frecuencia de la serie: 2024 (anual), 2024-01 (mensual), 2024-01-15 (diaria).
  • Si una serie no devuelve observaciones, verifica el código con bcentral_serie_info; el catálogo completo se busca en si3.bcentral.cl/Siete/es/Siete/Series.
  • El servidor cachea las respuestas 15 minutos y limita el ritmo de consultas para no abusar del BCCh.

Desarrollar

npm install
npm test        # tests unitarios sin red
npm run build   # tsc
npm run verify  # verificación contra la API real (requiere BCENTRAL_API_KEY en el entorno)
npm run deploy  # wrangler deploy

Licencia

MIT — los datos pertenecen al Banco Central de Chile; el código de este servidor es libre.

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured