Denue
v0.2.1INEGI DENUE MCP — Mexico's directory of economic units (~6M businesses).
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
denue_search_nearby
Find businesses near a coordinate. Returns establishments matching the keyword within the given radius (max 5000m).
| Parameter | Type | Description |
|---|---|---|
condition * | string | Search keyword — business name, brand, or activity (e.g., "oxxo", "cafe", "farmacia"). Use "todos" for all establishments in radius. |
lat * | number | Latitude (decimal degrees) |
lng * | number | Longitude (decimal degrees) |
radius_m | number | Search radius in meters (1-5000, default 500) |
denue_search_by_name
Search businesses by name or brand across Mexico or a single state. Paginated — set page_size and page_start to walk results.
| Parameter | Type | Description |
|---|---|---|
name * | string | Business name or brand (e.g., "walmart", "cemex") |
page_end | number | Last record (default page_start + 24, max ~1000 per request) |
page_start | number | First record (1-based, default 1) |
state_code | string | Two-digit state code "01"-"32", or "00" for all Mexico. Default "00". |
denue_search_in_state
Search businesses in a single Mexican state by keyword — matches against name, activity, or address. Use this for state-scoped queries that need more than just business name (e.g., "panaderia", "ferreteria"). Returns paginated results.
| Parameter | Type | Description |
|---|---|---|
keyword * | string | Search term — matches name, economic activity description, or address text. |
state_code * | string | Two-digit state code "01"-"32" (required — use denue_search_by_name with "00" for nationwide). |
page_end | number | Last record (default page_start + 24) |
page_start | number | First record (1-based, default 1) |
denue_establishment
Get full details for a single establishment by DENUE ID (the "Id" field from search results).
| Parameter | Type | Description |
|---|---|---|
id * | string | Establishment Id (numeric string, e.g., "9988845") |
denue_count
Count establishments by economic activity + geography + size stratum. Returns totals — no detail records. Use for market-sizing questions like "how many pharmacies are in Jalisco".
| Parameter | Type | Description |
|---|---|---|
activity_code * | string | SCIAN economic activity code(s), comma-separated. 2-6 digits (sector → branch → class). Use "0" for any activity. Examples: "46" (retail), "722" (food services), "464111" (pharmacies). |
area_code * | string | Geography code(s), comma-separated. "00" = all Mexico; 2 digits = state; 5 digits = municipality (state+mun). Examples: "09" (CDMX), "14039" (Guadalajara). |
stratum | string | Employee-size stratum: 0=any, 1=0-5, 2=6-10, 3=11-30, 4=31-50, 5=51-100, 6=101-250, 7=251+. Default "0". |