Skip to main content
Glama

ine-chile-mcp

License: MIT

チリ国立統計局 (INE) の公開APIをLLM用のツールとして公開するオープンソースのMCPサーバーです。

利用可能なツール

ツール

説明

datos_search_datasets

datos.gob.cl でINEのデータセットを検索

datos_get_dataset

データセットの完全なメタデータを取得

datos_query_resource

CKANテーブルリソースの行をクエリ

inestat_list_dataflows

INE.Stat で利用可能なデータフローを一覧表示

inestat_get_structure

データフローのディメンション構造を取得

inestat_get_data

SDMX-JSON 観測データをクエリ

simel_list_dataflows

労働指標(ENE, ESI)を一覧表示

simel_get_data

労働市場の時系列データをクエリ

codif_classify_activity

CAENES で活動を分類

codif_classify_occupation

CIUO-08.CL で職業を分類

codif_get_training_data

分類器のトレーニングデータを取得

クイックインストール (Claude Desktop)

{
  "mcpServers": {
    "ine-chile": {
      "command": "node",
      "args": ["/ruta/a/ine-chile-mcp/dist/index.js"]
    }
  }
}

開発

pnpm install
pnpm build
pnpm test
pnpm dev          # watch mode (stdio)
pnpm start:http   # servidor HTTP en puerto 3000

Docker

docker build -t ine-chile-mcp .
docker run -p 3000:3000 ine-chile-mcp

MCPエンドポイントは http://localhost:3000/mcp で利用可能です。

アップストリームAPI

  • INE.Stat (stat.ine.cl) — SDMX-JSON、経済および環境指標

  • SIMEL — 労働市場 (ENE, ESI) (INE.Stat経由)

  • コーディング (rapps.ine.cl:9292) — CAENES/CIUO-08 自動分類

  • オープンデータ (datos.gob.cl) — INEデータセットを含むCKANポータル

ライセンス

MIT

Available Tools

11 tools
codif_classify_activityA
Read-only

Clasifica una o varias glosas de actividad económica en CAENES (1 o 2 dígitos). Input: array de strings. Output: códigos + probabilidades.

Inputs: texts (required), digits, modelVersion.

codif_classify_occupationA
Read-only

Clasifica una o varias glosas de ocupación en CIUO-08.CL (1 o 2 dígitos). Input: array de strings. Output: códigos + probabilidades.

Inputs: texts (required), digits, modelVersion.

codif_get_training_dataB
Read-only

Descarga una muestra de los sets train/test usados por el clasificador CAENES o CIUO.

Inputs: classification (required), modelVersion.

datos_get_datasetA
Read-only

Metadata completa de un dataset del INE (recursos, formato, URL). Usa datos_search_datasets primero para encontrar el ID.

Inputs: id (required).

datos_query_resourceA
Read-only

Consulta filas de un recurso tabular del INE vía CKAN datastore. Requiere resource_id (obtenible via datos_get_dataset).

Inputs: resource_id (required), filters, limit, offset.

datos_search_datasetsB
Read-only

Busca datasets publicados por el INE en datos.gob.cl. Retorna título, nombre, número de recursos.

Inputs: query, limit.

inestat_get_dataB
Read-only

Consulta observaciones de un dataflow de INE.Stat. Retorna datos en formato tabular.

Inputs: flowRef (required), key, startPeriod, endPeriod.

inestat_get_structureA
Read-only

Devuelve la estructura (dimensiones, codelists) de un dataflow específico. Útil para saber qué filtros aplicar antes de consultar datos.

Inputs: flowRef (required).

inestat_list_dataflowsA
Read-only

Lista todos los dataflows (datasets) disponibles en INE.Stat, con id y nombre. Soporta filtro por keyword.

Inputs: keyword.

simel_get_dataB
Read-only

Consulta una serie laboral de SIMEL (ej: tasa de desocupación, ingreso medio). Los datos provienen de INE.Stat filtrados a datasets ENE_*/ESI_*.

Inputs: flowRef (required), key, startPeriod, endPeriod.

simel_list_dataflowsB
Read-only

Lista indicadores de mercado laboral (ENE, ESI) disponibles en SIMEL/INE.Stat.

Inputs: keyword.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.9/5.0

    Scored across 11 tools

    Disambiguation5/5

    Each tool has a distinct purpose with clear boundaries: codif_* tools handle classification and training data, datos_* tools manage dataset metadata and queries, inestat_* tools access statistical dataflows and structures, and simel_* tools focus on labor market indicators. There is no overlap in functionality, making tool selection unambiguous.

    Naming Consistency5/5

    Tool names follow a consistent verb_noun pattern with a clear prefix system: codif_, datos_, inestat_, and simel_ indicate the domain, followed by descriptive actions like classify, get, query, search, and list. This structured naming makes the tool set predictable and easy to navigate.

    Tool Count5/5

    With 11 tools, the server is well-scoped for its purpose of accessing INE Chile data across classification, datasets, statistics, and labor market indicators. Each tool serves a specific function, and the count is neither too sparse nor overwhelming for the domain coverage.

    Completeness5/5

    The tool set provides comprehensive coverage for interacting with INE Chile's data systems: classification (CAENES/CIUO), dataset metadata and queries (CKAN), statistical dataflows (INE.Stat), and labor market indicators (SIMEL). It supports full workflows from discovery to data retrieval, with no obvious gaps in the surface.

    Related MCP Connectors

    Appeared in Searches