Skip to content
Eden Engine

Mexico Municipality Search by Name (INEGI)

inegigeo/municipality-search

Find Mexican municipalities whose name contains a text (at least 3 letters; case does not matter but accents must be typed, so canada finds nothing and cañada does): returns each match with its 5-digit geostatistical code, state code, municipality code, name, seat code, total, female and male population and number of occupied dwellings, as INEGI publishes them, with INEGI's own metadata. Short texts match many names (san returns 621 municipalities, about 120 KB). A text that is in no municipality name arrives as a validation error, not an empty list. 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/municipality-search" })

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

// 4. run: price the exact call first, then run it
omnial_execute({ tool: "inegigeo/municipality-search", input: { /* see input_schema */ }, dry_run: true })
omnial_execute({ tool: "inegigeo/municipality-search", 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": [
    "texto"
  ],
  "properties": {
    "texto": {
      "type": "string",
      "pattern": "^[A-Za-zÁÉÍÓÚÜÑáéíóúüñ ]{3,40}$",
      "maxLength": 40,
      "minLength": 3,
      "description": "Part of a municipality name, letters and spaces only, 3 to 40 characters, for example guadalajara or aguas. Matches anywhere in the name."
    }
  },
  "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 matching municipalities, `metadatos` is INEGI's own source note and `numReg` the number of matches.",
  "additionalProperties": true
}