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

Install Server
A
license - permissive license
A
quality
C
maintenance

Maintenance

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

Related MCP Servers

  • A
    license
    -
    quality
    C
    maintenance
    MCP server for Peruvian public-data lookups including SUNAT RUC registrations, BCRP exchange rates, and SEACE tenders. Provides official open-data access through tools for Claude, Cursor, and other MCP clients.
    MIT
  • F
    license
    -
    quality
    B
    maintenance
    MCP server for querying Peruvian electoral data (ONPE) including mesa results, candidate votes, and regional statistics. Enables natural language queries about the 2026 presidential election with local SQLite cache and live API fallback.
  • A
    license
    -
    quality
    B
    maintenance
    MCP Server for accessing 36 Brazilian public data sources and 1 agent, enabling AI agents to query government data on economy, legislation, transparency, judiciary, elections, environment, health, and more.
    MIT
  • A
    license
    -
    quality
    D
    maintenance
    Enables AI agents to search and retrieve metadata and data files from Peru's National Open Data Platform, and generate Jupyter notebooks for data analysis.
    3
    Apache 2.0

View all related MCP servers

Related MCP Connectors

  • INEGI MCP — Mexico's national statistics office (INEGI) Indicators API.

  • MCP server for live, sourced Brazilian public data from the official IBGE APIs.

  • Banco Central de Reserva del Perú (BCRP) statistics series API MCP. Keyless.

View all MCP Connectors

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