Skip to content
Eden Engine

Mexico Municipalities of a State: Codes, Population, Dwellings (INEGI)

inegigeo/municipalities-of-state

List every municipality of one Mexican state, by the state's 2-digit INEGI code (01 to 32): the 5-digit geostatistical code, municipality code, name, the code of its seat (cabecera), total, female and male population and the number of occupied dwellings, as INEGI publishes them, with INEGI's own metadata. A state has 5 to 570 municipalities (Oaxaca is the largest, about 113 KB). A code that matches no state arrives as a validation error. Source: INEGI (Instituto Nacional de Estadística y Geografía); passed through without alteration; served by Eden Engine; not an official INEGI product.

activeper callv1

Price

$0.0026 per call

You pay the price shown. If a call turns out to cost more than its quote, you pay the actual price, capped at twice the quote. No monthly minimum. Top-ups start at $5.

Data source

INEGI (Instituto Nacional de Estadística y Geografía)

Fuente: INEGI, Catálogo Único de Claves de Áreas Geoestadísticas (gaia.inegi.org.mx/wscatgeo). Data and INEGI's own metadata are passed through without alteration; INEGI does not endorse or sponsor this service. Served by Eden Engine; not an official INEGI product.

Use it

Five steps: search, inspect, learn, run, settle. No per-tool setup; your agent reaches this tool through the meta-tools it already has.

Connect once and your AI can find and run this tool, and any other it needs.

agent
// 1. search: find the tool
omnial_search({ query: "what you need" })

// 2. inspect: price and input schema
omnial_inspect({ tool: "inegigeo/municipalities-of-state" })

// 3. learn: read the usage guide at runtime
omnial_learn({ tool: "inegigeo/municipalities-of-state" })

// 4. run: price the exact call first, then run it
omnial_execute({ tool: "inegigeo/municipalities-of-state", input: { /* see input_schema */ }, dry_run: true })
omnial_execute({ tool: "inegigeo/municipalities-of-state", input: { /* ... */ } })

// 5. settle: the call is charged when it finishes, nothing to do

Not connected yet? Point your MCP client at https://mcp.eden-engine.com/mcp, then copy a config for your client.

Pricing

Every charge this tool can incur.

ChargePrice
Per call
$0.0026
Updated
Oct 20, 2026

Input and output schemas

Input schema
input_schema.json
{
  "type": "object",
  "required": [
    "cve_ent"
  ],
  "properties": {
    "cve_ent": {
      "type": "string",
      "pattern": "^(0[1-9]|[12][0-9]|3[0-2])$",
      "description": "The 2-digit INEGI state code, 01 to 32, with the leading zero: 01 Aguascalientes, 09 Ciudad de México, 14 Jalisco, 19 Nuevo León, 30 Veracruz."
    }
  },
  "additionalProperties": false
}
Output schema
output_schema.json
{
  "type": "object",
  "required": [
    "datos"
  ],
  "properties": {
    "datos": {
      "type": "array",
      "items": {
        "type": "object",
        "description": "One municipality: `cvegeo` (5-digit code), `cve_ent`, `cve_mun` (3-digit), `nomgeo` (name), `cve_cab` (seat code), `pob_total`, `pob_femenina`, `pob_masculina` and `total_viviendas_habitadas`. All values are STRINGS.",
        "additionalProperties": true
      }
    },
    "numReg": {
      "type": "integer"
    },
    "metadatos": {
      "type": "object",
      "description": "INEGI's own metadata: `Fuente_informacion_estadistica` names the statistical source of the population figures (INEGI's 2020 population and housing count). Passed through unchanged.",
      "additionalProperties": true
    }
  },
  "description": "INEGI's response: `datos` lists the state's municipalities, `metadatos` is INEGI's own source note and `numReg` the number of municipalities.",
  "additionalProperties": true
}