npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

netmex-mcp-b2c-bridge

v1.0.1

Published

Claude Desktop stdio bridge for the Netmex B2C MCP remote server

Readme

Netmex MCP B2C Bridge

Bridge stdio para Claude Desktop que se conecta al B2C MCP remoto de Netmex.

Este paquete no implementa logica de negocio localmente. Solo recibe solicitudes MCP por stdin, las reenvia al backend remoto y devuelve la respuesta por stdout.

Configuracion

Variables de entorno requeridas:

NETMEX_MCP_URL=https://netmex-api-staging-0455fe68d15a.herokuapp.com/mcp/b2c
NETMEX_MCP_API_KEY=tu_api_key
  • NETMEX_MCP_URL: URL base del endpoint MCP remoto.
  • NETMEX_MCP_API_KEY: API key usada para autenticar las solicitudes al backend remoto.

El bridge puede apuntar a staging o produccion. Para staging, usa:

https://netmex-api-staging-0455fe68d15a.herokuapp.com/mcp/b2c

Uso local

npm start

Sitios soportados

  • netmex: propiedades comerciales.
  • casasenmx: casas.
  • depasenmx: departamentos.
  • site=all: agrega los tres inventarios en una sola busqueda.

Publicacion B2C

El B2C remoto expone solo propiedades publicas.

  • published significa isDraft=false y propiedad no expirada.
  • No se devuelven drafts.
  • propertyUrl depende del entorno remoto que estes usando, por ejemplo staging o produccion.

Herramienta MCP expuesta

Actualmente el B2C MCP remoto expone una sola herramienta:

  • search_properties

Como funciona search_properties

search_properties consulta inventario publico en el backend remoto y devuelve resultados ya adaptados para consumo por clientes MCP.

Parametros principales:

  • site: inventario a consultar. Puede ser netmex, casasenmx, depasenmx o all.
  • operation: operacion inmobiliaria, por ejemplo venta o renta.
  • type: tipo de propiedad.
  • state: estado.
  • city: ciudad con matching tolerante.
  • minPrice: precio minimo.
  • maxPrice: precio maximo.
  • minBuild: construccion minima.
  • maxBuild: construccion maxima.
  • minLand: terreno minimo.
  • maxLand: terreno maximo.
  • highlights: lista de atributos destacados usados como senales de ranking.
  • services: lista de servicios usados como senales de ranking.
  • page: pagina actual para paginacion.
  • perPage: cantidad de resultados por pagina.

Aclaraciones funcionales importantes

  • Si existe specs.agent, ese contacto reemplaza al seller en la respuesta publica.
  • visibleContact respeta privates; privates[0] oculta email.
  • visibleContact respeta privates; privates[1] oculta telefono y WhatsApp.
  • addressPartial se arma con suburb + city + state.
  • highlights y services no son filtros duros; son senales de ranking.
  • El matching de highlights y services es suave; tolera acentos.
  • El matching de highlights y services es suave; tolera variaciones de espacios.
  • El matching de highlights y services es suave; tolera texto pegado.
  • El matching de highlights y services es suave; tolera coincidencias parciales razonables.
  • city tambien usa matching tolerante.
  • La IA puede pedir la siguiente pagina usando page y perPage.

Que devuelve search_properties

Cada resultado puede incluir:

  • id
  • site
  • title
  • propertyType
  • operation
  • price
  • currency
  • addressPartial
  • city
  • state
  • highlights
  • services
  • photos
  • propertyUrl
  • visibleContact
  • matchScore
  • matchedHighlights
  • matchedServices

Claude Desktop

Ejemplo de claude_desktop_config.json:

{
  "mcpServers": {
    "netmex-b2c": {
      "command": "npx",
      "args": ["-y", "netmex-mcp-b2c-bridge"],
      "env": {
        "NETMEX_MCP_URL": "https://netmex-api-staging-0455fe68d15a.herokuapp.com/mcp/b2c",
        "NETMEX_MCP_API_KEY": "tu_api_key"
      }
    }
  }
}

npx descargara y ejecutara el paquete automaticamente la primera vez. La API key real solo va en env, no en el repo.

Alcance del bridge

Este bridge solo documenta y reenvia solicitudes al B2C MCP remoto de Netmex. No modifica resultados ni replica reglas del backend en local.