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

@healify/mcp

v0.1.0

Published

Servidor MCP de Healify: le deja a un agente preguntar si un selector es frágil y por qué falló un test, con respuestas deterministas y locales.

Readme

@healify/mcp

Servidor MCP de Healify. Le deja a un agente preguntar si un selector es frágil y por qué falló un test, con respuestas deterministas calculadas en tu máquina.

Por qué existe

Ya hay un MCP server oficial de Playwright para que un agente maneje un browser. Este es el complemento, no el reemplazo.

La falla documentada de los agentes que manejan browsers es que clickean con exceso de confianza el primer elemento que matchea y se inventan lo que no pueden ver. Healify aporta lo contrario: una respuesta que se puede auditar, sacada de heurística determinista y de archivos que ya están en el disco.

De ahí la regla que ordena todo el servidor: sin haber visto la página, no se propone un nombre concreto. Un agente que recibe role('button', { name: 'Submit' }) inventado lo aplica sin dudar, y el resultado es un test que sigue roto y encima parece arreglado.

Instalación

npm i -D @healify/mcp

Claude Desktop / Claude Code

{
  "mcpServers": {
    "healify": {
      "command": "npx",
      "args": ["-y", "@healify/mcp"],
      "cwd": "/ruta/a/tu/proyecto/de/tests"
    }
  }
}

El cwd importa: las herramientas que leen archivos (healify-report.json, .healify/history.jsonl) lo hacen desde ahí.

No abre puertos, no habla con la red y no pide ninguna credencial.

Herramientas

healify_analyze_selector

Clasifica qué tan frágil es un selector. Responde por qué se va a romper, no con qué reemplazarlo.

{ "selector": "#btn-a1b2c3d4" }
{
  "selector": "#btn-a1b2c3d4",
  "selectorType": "CSS",
  "fragile": true,
  "detectedIssue": "Dynamic ID detected - will break on next build",
  "verifiedReplacementAvailable": false,
  "note": "Análisis estático, sin ver la página..."
}

verifiedReplacementAvailable es siempre false acá, a propósito. Para un reemplazo verificado hay que correr los tests y leer el reporte con healify_report_summary.

healify_diagnose_failure

Por qué falló un test, a partir de su mensaje de error: selector, assertion, timing, navigation, runtime o unknown.

{ "errorMessage": "expect(page.locator('#total')).toHaveText('99')\nExpected: \"99\"\nReceived: \"12\"" }
{
  "cause": "assertion",
  "selectorHealingApplies": false,
  "rationale": "El test falló en una aserción: el elemento se encontró, lo que no coincidió fue el valor..."
}

Sirve para que un agente no salga a buscar un selector nuevo cuando el problema es otro.

healify_report_summary

Lee un healify-report.json y devuelve los selectores rotos con su corrección, marcando cuáles son seguros de aplicar.

{
  "testName": "agrega al carrito",
  "verified": true,
  "confidence": 0.97,
  "suggestedSelector": "role('button', { name: 'Agregar' })",
  "safeToApply": true
}

safeToApply combina dos condiciones: la corrección se confrontó contra la página real (verified) y superó el umbral de confianza (status: healed). Un caso en review puede ser correcto, pero necesita ojo humano — típicamente porque el test es intermitente.

healify_chronic_selectors

Los selectores que se vienen rompiendo una y otra vez, con la recomendación de qué hacer.

{
  "selector": "#add-to-cart",
  "breakages": 5,
  "spanDays": 21,
  "recommendation": "Se rompió 5 veces en 21 días. En vez de volver a parchear el selector, agregale un data-testid estable al elemento."
}

Cero dependencias

El protocolo MCP sobre stdio está implementado en este paquete: JSON-RPC 2.0 delimitado por saltos de línea, cuatro mensajes. No trae @modelcontextprotocol/sdk ni ninguna otra dependencia de runtime, igual que el resto de Healify.


MIT · Parte de Healify