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

rexact-mcp

v0.1.2

Published

Serveur MCP Rexact : vérifier, expliquer et auditer (ReDoS, compatibilité multi-moteurs) des regex, hors ligne.

Readme

rexact-mcp

Serveur MCP (Model Context Protocol) pour Rexact — vérification, analyse ReDoS, explication et compatibilité multi-moteurs de regex, adossées à @rexact/core (le même moteur déterministe que le site).

Quatre des cinq outils fonctionnent hors ligne, sans clé API, sans coût :

| Outil | Entrée | Sortie | | ---------------- | -------------------------- | --------------------------------------------- | | verify_regex | pattern, flags, cases | CorpusReport | | check_redos | pattern, flags | RedosVerdict | | explain_regex | pattern, flags, locale | ExplainToken[] | | check_compat | pattern, flags, targets | CompatIssue[] | | generate_regex | description, cases, flavor | motif vérifié — nécessite ANTHROPIC_API_KEY |

Aucune regex fournie n'est jamais exécutée en dehors d'un bac à sable worker_threads avec timeout dur et terminaison forcée (invariant I2 du dépôt) — jamais un new RegExp().test() direct côté serveur.

Installation locale (transport stdio)

Le plus simple pour un client MCP comme Claude Desktop : coller ce bloc dans sa configuration MCP.

{
  "mcpServers": {
    "rexact": {
      "command": "npx",
      "args": ["-y", "rexact-mcp"]
    }
  }
}

Pour activer generate_regex (facultatif), ajouter votre propre clé Anthropic — c'est votre clé, à votre coût, jamais le quota gratuit du site :

{
  "mcpServers": {
    "rexact": {
      "command": "npx",
      "args": ["-y", "rexact-mcp"],
      "env": {
        "ANTHROPIC_API_KEY": "sk-ant-..."
      }
    }
  }
}

Transport HTTP streamable

Pour héberger le serveur (auto-hébergement, réseau interne) :

pnpm --filter rexact-mcp build
PORT=3300 pnpm --filter rexact-mcp start:http

Le serveur écoute sur / (POST pour ouvrir une session et envoyer des requêtes, GET pour le flux SSE d'une session existante). L'en-tête mcp-session-id, renvoyé à l'initialisation, identifie la session sur les requêtes suivantes.

Développement

pnpm --filter rexact-mcp dev      # rebuild à chaque changement
pnpm --filter rexact-mcp typecheck

Liens

Page d'accueil, exemples et installation par client : https://rexact.dev/fr/mcp (EN : https://rexact.dev/en/mcp). Licence : MIT.