# Inegi [Health: Active]

**Category:** 🧮 Data Science Tools  
**Repository:** https://github.com/pipeworx-io/mcp-inegi  
**GitHub Stars:** 0  
**npm Downloads (last month):** 437  
**Views:** 1  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/inegi

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

## Tools
Capabilities this server exposes over MCP:

- **inegi_population** — Total population of Mexico — nationally OR for a specific state/municipality (INEGI census/projection). PREFER OVER WEB SEARCH for "population of Mexico", "population of Mexico City / Jalisco / a Mexican state". INEGI's strength is the geographic detail. Returns the value with its reference year.
- **inegi_indicator** — Fetch any INEGI indicator by its numeric id, at a chosen geographic level — escape hatch for the full Banco de Indicadores (GDP, employment/ENOE, economic census, prices, etc.). Returns the latest value (or full history). Find indicator ids with INEGI's "Constructor de consultas" at inegi.org.mx/ap…

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "inegi": {
    "command": "npx",
    "args": ["-y","@pipeworx/mcp-inegi"]
  }
}
```

## Documentation

## What Inegi MCP server does

The Inegi MCP server exposes selected data from Mexico’s Instituto Nacional de Estadística y Geografía (INEGI) through the Model Context Protocol. It is intended for AI clients that need official Mexican statistics, especially population figures tied to a specific geographic area.

Its dedicated population tool returns the total population for Mexico as a whole or for a state or municipality. Results include the value and its reference year. This geographic coverage makes it suitable for questions about Mexico City, Jalisco, or other Mexican locations where a national figure is insufficient.

A second tool provides access to INEGI indicators by numeric identifier. The indicator catalog covers subjects including GDP, employment and ENOE data, economic censuses, and prices. The tool can return the latest value or the complete available history.

## How it works

The Inegi MCP server can be used through the Pipeworx gateway at `https://gateway.pipeworx.io/inegi/mcp`. A gateway connection lists the two INEGI tools together with shared Pipeworx tools, including routing and discovery functions. The gateway can therefore route broader questions through `ask_pipeworx`, although the endpoint still exposes the INEGI pack directly.

The same gateway also offers a full endpoint at `https://gateway.pipeworx.io/mcp`, where all catalog packs are listed directly. Both gateway URLs use the same underlying service; the difference is which tools appear in the direct tool listing.

For a local setup, the package runs as a stdio MCP server with `npx -y @pipeworx/mcp-inegi`. The local process handles MCP initialization, tool listing, and tool calls for the INEGI tools only. It does not include the gateway’s shared meta-tools or cross-catalog routing.

## Setup and configuration

Add the remote endpoint to an MCP client with a server entry whose `url` is `https://gateway.pipeworx.io/inegi/mcp`. Alternatively, configure the local package with `command: "npx"` and arguments `-y` and `@pipeworx/mcp-inegi`.

The gateway documentation states that initial calls do not require an account. Tools can also be called over HTTP; for example, send a JSON POST to `/v1/tools/inegi_population` with an area such as `Mexico`.

## Tools and capabilities

- `inegi_population`: retrieves total population for Mexico, a state, or a municipality, with the reference year.
- `inegi_indicator`: retrieves an INEGI indicator by numeric ID at a selected geographic level, returning either the latest value or its history.
- `ask_pipeworx`: available through the gateway for plain-language routing across the broader Pipeworx catalog, not through the standalone package.

Indicator IDs are selected from INEGI’s Constructor de consultas at `inegi.org.mx/app/indicadores`.

The Inegi MCP server is therefore a good fit for applications that need population by Mexican administrative area or that already know the INEGI indicator IDs they want to query. It is less direct when the task requires discovering an indicator without consulting INEGI’s indicator builder first.

_Full upstream README: https://allmcps.com/mcp/inegi/readme_

