Denue logo

Denue

Search Mexico’s DENUE business directory by name, location, state, establishment ID, or economic activity.

Install Denue

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "denue": {
      "command": "npx",
      "args": [
        "-y",
        "@pipeworx/mcp-denue"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Automated check passed— started and listed 5 tools correctly ().

Overview

Denue MCP server connects AI agents to INEGI’s DENUE directory of roughly six million economic units in Mexico through the Pipeworx gateway. Its tools support nearby searches, name and brand lookups, state-level keyword searches, establishment details, and aggregate counts by activity, geography, and business size. Use it for locating businesses, researching local markets, or retrieving structured information about a known establishment. It is available as a hosted MCP endpoint, an HTTP API, or a local npm stdio bridge that requires network access.

Use cases

  • Find businesses near a specified latitude and longitude
  • Search Mexican states for businesses by activity or address
  • Retrieve details for an establishment from its DENUE ID
  • Estimate business counts by activity, geography, and size

Key features

  • Nearby business searches within a 5,000-meter radius
  • Nationwide or state-scoped name and brand searches
  • State searches across names, activities, and addresses
  • Full establishment lookup by DENUE ID
  • Aggregate counts by activity, geography, and size stratum

Tools5

What Denue lets your agent do. Expand a tool for its parameters.

Verified live~899 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

16/16 checks healthy over the last 83d

What it can do

From the 5 tools this server returned when we ran it; 5 declare their own safety hints.

Makes network requests · 5Read-only tools · 5
Network at startup4 connections
Files written at startupNone
Install scriptsNone
npm provenanceSigned build
Package age130 days
Maintainers1

Observed 2026-11-03 in an isolated sandbox. A description of reach, not a security audit.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 2d ago via OSV.dev · @pipeworx/mcp-denue (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

npm downloads1.1kPackage downloads in the last 30 days.
Last commit20d agoMost recent push to the default branch.
Availability100%Our rolling endpoint + install checks that succeeded.
Install checkPassedOur sandbox started it and listed its tools.
Tools exposed5Callable tools this server registers over MCP.

How Denue works

What Denue does

Denue exposes selected data from INEGI’s Directorio Estadístico Nacional de Unidades Económicas (DENUE) to MCP-compatible clients. The directory covers approximately six million businesses and other economic units in Mexico. Search tools can find establishments by name, brand, activity, address, state, or geographic proximity, while a separate detail tool retrieves the full record for a known DENUE identifier.

The server also supports aggregate queries. denue_count returns the number of establishments matching an economic activity, geographic scope, and size stratum, without returning individual business records. That makes it suitable for questions such as estimating how many pharmacies operate in a particular Mexican state.

This is an independent, unofficial integration and is not affiliated with, endorsed by, or published by the upstream provider.

How it works

The hosted MCP connection is available at https://gateway.pipeworx.io/denue/mcp. Add that URL to an MCP client to connect over HTTP. The same gateway also exposes the full Pipeworx catalog at https://gateway.pipeworx.io/mcp; the Denue endpoint lists Denue tools directly while also exposing shared Pipeworx meta-tools.

For clients or scripts that do not use MCP, individual tools can be called through the gateway’s HTTP API. For example, a nearby search is sent as a POST request to /v1/tools/denue_search_nearby with a keyword, latitude, longitude, and radius.

The npm package @pipeworx/mcp-denue provides a local stdio bridge. It forwards requests to the hosted gateway rather than maintaining a local DENUE database, so it needs network access and has no offline mode. The gateway can also route natural-language questions through ask_pipeworx.

Setup and configuration

A hosted connection can use this MCP configuration:

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

For a local stdio connection, configure the client to run:

config.json
{
  "mcpServers": {
    "denue": {
      "command": "npx",
      "args": ["-y", "@pipeworx/mcp-denue"]
    }
  }
}

Anonymous use is limited to 50 calls per day. A free Pipeworx account increases the allowance to 200 calls per day; supply its key as the PIPEWORX_API_KEY environment variable. Requests use the key as a Bearer token and are metered and billed in the same way as hosted connections.

Set PIPEWORX_META_TOOLS=1 when the local bridge should also list shared gateway tools such as ask_pipeworx, discovery, search, and memory tools. Behind an HTTPS proxy, newer Node.js releases can use proxy environment settings when NODE_USE_ENV_PROXY=1 is enabled.

Tools and capabilities

  • denue_search_nearby finds establishments matching a keyword around coordinates. The radius can be up to 5,000 meters.
  • denue_search_by_name searches by business name or brand across Mexico or within one state. Results are paginated with page_size and page_start.
  • denue_search_in_state searches one Mexican state by keyword across business name, economic activity, or address. It is intended for broader state-scoped searches and returns paginated results.
  • denue_establishment retrieves full information for one establishment using the Id value returned by a search.
  • denue_count returns totals by activity, geography, and size stratum without detail records.

Limitations and notes

The nearby-search radius is capped at 5,000 meters. Search results may require pagination for larger result sets. The local npm bridge forwards calls to the remote gateway, so it cannot operate without an internet connection. Pack endpoints also list shared Pipeworx meta-tools; the connection’s initialization response defines the exact tool scope for that connection.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Denue

Denue is an MCP server that connects AI agents to INEGI’s Mexican business directory, covering roughly six million economic units. Its main tools search nearby businesses, find names or brands, search within a state, retrieve establishment details by DENUE ID, and count businesses by activity, geography, and size.

Run it through the `@pipeworx/mcp-denue` npm package with `npx -y @pipeworx/mcp-denue` in your MCP client configuration. The bridge forwards calls to the Pipeworx gateway, so it requires network access. Alternatively, connect directly to `https://gateway.pipeworx.io/denue/mcp`.

Yes, Denue works with Cursor through the hosted MCP URL. Add `https://gateway.pipeworx.io/denue/mcp` as an MCP server, or configure Cursor to launch the npm stdio bridge. The local bridge forwards requests to the same remote gateway.

Yes, use `denue_search_nearby` with a keyword, latitude, longitude, and radius. The maximum radius is 5,000 meters, and the tool returns matching establishments near the supplied coordinates.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewDenue AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/denue?style=directory)](https://allmcps.com/mcp/denue)
HTML Embed
<a href="https://allmcps.com/mcp/denue"><img src="https://allmcps.com/api/badge/denue?style=directory" alt="Denue on AllMCPs" /></a>