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

arufheim-hermess

v0.1.2

Published

Servidor MCP local que expone herramientas seguras sobre cualquier repositorio. Se integra con **GitHub Copilot**, **Claude Code** y cualquier cliente compatible con MCP.

Readme

arufheim-hermess

Servidor MCP local que expone herramientas seguras sobre cualquier repositorio. Se integra con GitHub Copilot, Claude Code y cualquier cliente compatible con MCP.

Instalación

npm install -g arufheim-hermess

Desarrollo del repo

Este repo usa pnpm como package manager de desarrollo.

Si pnpm no está instalado en tu máquina, puedes bootstrapearlo de cualquiera de estas formas:

corepack enable
corepack prepare [email protected] --activate

o:

npm install -g pnpm

o:

yarn global add pnpm

npm y yarn sirven para instalar pnpm, pero no reemplazan el lockfile ni el flujo de verificación de este repo.

Configuración inicial

Después de instalar, configura los clientes MCP de forma global:

arufheim-hermess init --global

El asistente detecta qué clientes tienes instalados (VS Code, Claude Desktop, Claude Code) y los configura automáticamente.

Para inicializar un repo en particular (crea .vscode/mcp.json e inbox/ de forma local):

cd /ruta/al/repo
arufheim-hermess init

Configuración por repo (equipo)

Para que VS Code apunte al repo correcto, agrega este archivo en la raíz del proyecto:

.vscode/mcp.json

{
  "servers": {
    "hermess": {
      "type": "stdio",
      "command": "npx",
      "args": ["arufheim-hermess", "--repo-path", "${workspaceFolder}"]
    }
  }
}

${workspaceFolder} lo resuelve VS Code al abrir el proyecto. Para Claude Desktop y Claude Code el servidor usa el directorio de trabajo actual como raíz del repo.

Configuración opcional por repo

Para personalizar los comandos permitidos o los archivos ignorados, agrega un hermess.config.json en la raíz del repo:

{
  "allowedCommands": ["pnpm test", "npm test", "yarn test", "ls", "pwd"],
  "ignored": ["node_modules/**", ".git/**", "dist/**"]
}

repoPath no es necesario cuando se usa --repo-path; si existe en el config, se ignora.

Argumentos CLI

| Argumento | Env var | Descripción | | -------------------- | ------------------- | ----------------------------------------------------------------------- | | --repo-path <ruta> | HERMESS_REPO_PATH | Raíz del repo a operar. Si se omite, usa el directorio de trabajo. | | --config <ruta> | HERMESS_CONFIG | Ruta explícita al hermess.config.json. | | init | — | Inicializa un repo local. | | init --global | — | Configura clientes MCP globales (VS Code, Claude Desktop, Claude Code). |

Herramientas disponibles

| Herramienta | Descripción | | ------------- | --------------------------------------------------------- | | list_files | Lista archivos del repo respetando los patrones ignorados | | read_file | Lee un archivo dentro del repo | | search_repo | Búsqueda de texto en el repo | | run_command | Ejecuta un comando de la allowlist |

Resources disponibles

| URI | Descripción | | --------------------------- | ---------------------------------------- | | hermess://config/raw | Contenido del hermess.config.json o texto vacío si no existe | | hermess://config/resolved | Config efectivo tras resolución de paths | | hermess://logs/main | Últimas líneas del log JSONL |

Seguridad

  • Todas las rutas se validan dentro de repoPath — sin path traversal
  • Symlinks que apunten fuera de repoPath quedan bloqueados
  • run_command solo ejecuta comandos presentes en allowedCommands
  • run_command devuelve error MCP si el comando termina con exitCode != 0
  • node_modules, .git, dist y .hermess se ignoran por defecto
  • Timeout de 30 s y maxBuffer limitado en comandos
  • Logs en .hermess/logs/hermess.jsonl

Conectar a Claude Code de forma manual

claude mcp add hermess npx arufheim-hermess

Para apuntar a un repo específico:

claude mcp add hermess npx arufheim-hermess -- --repo-path /ruta/al/repo

Stack

TypeScript · Node.js · @modelcontextprotocol/sdk · fast-glob · zod