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
Related MCP Servers
- Alicense-qualityCmaintenanceMCP 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
- Flicense-qualityBmaintenanceMCP 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.
- Alicense-qualityBmaintenanceMCP 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
- Alicense-qualityDmaintenanceEnables AI agents to search and retrieve metadata and data files from Peru's National Open Data Platform, and generate Jupyter notebooks for data analysis.3Apache 2.0
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.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- 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