Skip to main content
Glama

MCP Badge License: MIT Python 3.11+ No Auth Required

INEI MCP Server

Connects any MCP-compatible AI agent to INEI Estadist — the official statistics platform of Peru's Instituto Nacional de Estadística e Informática (INEI).

Access Census 2017 data, population indicators, geographic profiles, and social statistics for all 25 departments, 196 provinces, and 1,874 districts of Peru — no API key required.

Works with: Claude Desktop · Claude Code · Cursor · VS Code Copilot · Windsurf · any MCP client


Quickstart

# From source (development)
git clone https://github.com/JOSETRA44/inei-mcp.git
cd inei-mcp
uv sync
uv run inei-mcp

Related MCP server: onpe-mcp

Available Tools (7)

Tool

Description

inei_get_departments

List all 25 Peruvian departments with ubigeo codes and IDs

inei_get_provinces

List provinces of a department by ccdd code

inei_get_districts

List districts of a province, or search districts by name

inei_search_indicators

Search statistical indicators by keyword

inei_get_indicator_data

Get indicator values across geographies

inei_browse_topics

Browse the full thematic indicator tree

inei_get_geography_profile

Census 2017 population profile for a region

inei_get_census_dashboard

National demographic or social dashboard

inei_get_data_sources

List official data sources


Available Prompts (3)

Prompt

Description

demographic_analysis

Structured demographic analysis for a department

regional_comparison

Compare an indicator across Peru's regions

census_deep_dive

Comprehensive Census 2017 analysis


Available Resources (3)

URI

Contents

inei://api-guide

Complete API reference

inei://department-codes

All 25 department codes and IDs

inei://thematic-categories

Indicator categories with example IDs


Configuration (Claude Code / Claude Desktop)

From source (development)

{
  "mcpServers": {
    "inei": {
      "command": "uv",
      "args": ["--directory", "C:\\Users\\USER\\source\\MCPs\\INEI-mcp", "run", "inei-mcp"]
    }
  }
}

Data Source

All data from INEI Estadist — Peru's official national statistics platform. Primary data: Censos Nacionales 2017 — XII de Población y VII de Vivienda.


License

MIT — © 2026 JOSETRA44

A
license - permissive license
-
quality - not tested
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Latest Blog Posts

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/JOSETRA44/INEI-mcp'

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