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

villaguard-mcp

v1.0.2

Published

VillaGuard es un servidor para el **Model Context Protocol (MCP)** diseñado para proteger tus proyectos mediante la detección proactiva de vulnerabilidades en dependencias. Su objetivo principal es identificar paquetes maliciosos o vulnerables **antes** d

Readme

VillaGuard MCP

VillaGuard es un servidor para el Model Context Protocol (MCP) diseñado para proteger tus proyectos mediante la detección proactiva de vulnerabilidades en dependencias. Su objetivo principal es identificar paquetes maliciosos o vulnerables antes de que se instalen en tu entorno de desarrollo.

Este servidor realiza consultas en paralelo a fuentes confiables como OSV.dev (Google) y la GitHub Advisory Database, además de ejecutar auditorías locales (npm audit, bun audit, pip-audit) para detectar posibles ataques de typosquatting (suplantación de nombres de paquetes populares).

Características principales

  • Detección temprana: Identifica vulnerabilidades antes de la instalación.
  • Multifuente: Combina datos de OSV.dev, GitHub Advisory y herramientas locales.
  • Protección contra Typosquatting: Alerta si un paquete intenta imitar el nombre de uno legítimo.
  • Sin configuración compleja: Funciona de inmediato sin necesidad de cuentas o credenciales (aunque soporta tokens de GitHub para límites de tasa más altos).
  • Soporte multiplataforma: Compatible con ecosistemas de Node.js (npm, bun) y Python (pip).

Herramientas disponibles

VillaGuard expone las siguientes herramientas a través del protocolo MCP:

| Herramienta | Descripción | | :--- | :--- | | verify_new_package | Recomendada para nuevas instalaciones. Verifica existencia, typosquatting y vulnerabilidades en un solo paso. | | check_lockfile | Escanea todas las dependencias instaladas analizando el archivo de bloqueo (package-lock.json o requirements.txt). | | check_package_exists | Valida rápidamente si un paquete es real y detecta intentos de suplantación de identidad (typosquatting). | | check_dependencies | Realiza una búsqueda profunda de vulnerabilidades (CVEs) para paquetes específicos. |

Instalación

Para configurar VillaGuard localmente, sigue estos pasos:

  1. Clona el repositorio.
  2. Instala las dependencias necesarias:
    npm install
  3. Compila el proyecto:
    npm run build

Configuración en Clientes MCP

Claude Desktop / Kiro

Para integrar VillaGuard en tu cliente, añade la siguiente configuración a tu archivo de ajustes (usualmente claude_desktop_config.json):

{
  "mcpServers": {
    "villaguard": {
      "command": "node",
      "args": ["/ruta/absoluta/a/Villa-Guard-Mcp/dist/index.js"]
    }
  }
}

Optimización con GitHub Token (Opcional)

Si realizas muchas consultas, puedes aumentar el límite de peticiones de GitHub (de 60 a 5,000 por hora) proporcionando un token de acceso personal:

{
  "mcpServers": {
    "villaguard": {
      "command": "node",
      "args": ["/ruta/absoluta/a/Villa-Guard-Mcp/dist/index.js"],
      "env": {
        "GITHUB_TOKEN": "tu_token_aqui"
      }
    }
  }
}

Desarrollo

Si deseas contribuir o realizar pruebas locales, puedes ejecutar el servidor en modo desarrollo utilizando tsx:

npm run dev

Desarrollado para mejorar la seguridad en el flujo de trabajo de los desarrolladores.