INEI MCP Server
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@INEI MCP Servershow me the population of Lima department"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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-mcpRelated MCP server: onpe-mcp
Available Tools (7)
Tool | Description |
| List all 25 Peruvian departments with ubigeo codes and IDs |
| List provinces of a department by ccdd code |
| List districts of a province, or search districts by name |
| Search statistical indicators by keyword |
| Get indicator values across geographies |
| Browse the full thematic indicator tree |
| Census 2017 population profile for a region |
| National demographic or social dashboard |
| List official data sources |
Available Prompts (3)
Prompt | Description |
| Structured demographic analysis for a department |
| Compare an indicator across Peru's regions |
| Comprehensive Census 2017 analysis |
Available Resources (3)
URI | Contents |
| Complete API reference |
| All 25 department codes and IDs |
| 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
Maintenance
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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