Mexico State by Code: Population and Dwellings (INEGI)
inegigeo/state-by-code
Look up one Mexican state by its 2-digit INEGI code (01 to 32): full geostatistical code, state name, abbreviated name, total, female and male population and the number of occupied dwellings, as INEGI publishes them, with INEGI's own metadata naming the statistical source. 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.
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.
// 1. search: find the tool
omnial_search({ query: "what you need" })
// 2. inspect: price and input schema
omnial_inspect({ tool: "inegigeo/state-by-code" })
// 3. learn: read the usage guide at runtime
omnial_learn({ tool: "inegigeo/state-by-code" })
// 4. run: price the exact call first, then run it
omnial_execute({ tool: "inegigeo/state-by-code", input: { /* see input_schema */ }, dry_run: true })
omnial_execute({ tool: "inegigeo/state-by-code", input: { /* ... */ } })
// 5. settle: the call is charged when it finishes, nothing to doNot 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.
| Charge | Price |
|---|---|
Per call | $0.0026 |
- Updated
- Oct 20, 2026
Input and output schemas
Input schema
{
"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
{
"type": "object",
"required": [
"datos"
],
"properties": {
"datos": {
"type": "object",
"description": "The state: `cvegeo` and `cve_ent` (2-digit code), `nomgeo` (name), `nom_abrev` (abbreviated name), `pob_total`, `pob_femenina`, `pob_masculina` (population) and `total_viviendas_habitadas` (occupied dwellings). 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` is the one state, `metadatos` INEGI's own source note and `numReg` the record count (1).",
"additionalProperties": true
}