denue_count

Pack: denue · Endpoint: https://gateway.pipeworx.io/denue/mcp

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”.

Parameters

NameTypeRequiredDescription
activity_codestringyesSCIAN 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_codestringyesGeography code(s), comma-separated. “00” = all Mexico; 2 digits = state; 5 digits = municipality (state+mun). Examples: “09” (CDMX), “14039” (Guadalajara).
stratumstringnoEmployee-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”.

Example call

curl -X POST https://gateway.pipeworx.io/denue/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"denue_count","arguments":{}}}'

Connect

Add this to your MCP client config, or use one-click install buttons:

{
  "mcpServers": {
    "denue": {
      "url": "https://gateway.pipeworx.io/denue/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build June 1, 2026