Sieve

com.clawhard/sieve

Serveur MCP OK

Faire examiner Voir les tarifs

Run regexes on real engines (JavaScript, RE2/Go) against test strings, and prove ReDoS safety.

Fiche technique

Auteur
clawhard.com (espace de noms du registre)
Dépôt
—
Site
sieve.clawhard.com
Version
1.0.0
Transport
Streamable HTTP
Authentification
Aucune (constatée par notre test)
Adresse du serveur
https://sieve.clawhard.com/mcp Streamable HTTP
Outils
2
Catégories
—
Dernière mise à jour
20 nov. 2026
Publication
20 nov. 2026

Badge pour votre README

Référencé sur L’Atlas

Gratuit, pour toute fiche. Il renvoie vers cette fiche et affiche « testé OK » tant que notre dernier test est réussi.

MarkdownREADME.md
[![Référencé sur L’Atlas](https://latlas.dev/badge/fiche/com.clawhard/sieve.svg)](https://latlas.dev/mcp/com.clawhard/sieve)
HTML
<a href="https://latlas.dev/mcp/com.clawhard/sieve"><img src="https://latlas.dev/badge/fiche/com.clawhard/sieve.svg" alt="Référencé sur L’Atlas" height="20"></a>

Nos tests

Chaque semaine : initialize puis tools/list, sans identifiant, sans jamais appeler d’outil. Méthode

Adresse
https://sieve.clawhard.com/mcp
Dernier résultat
OK 28 nov. 2026, 11:08
Temps de réponse
431 ms (initialize + tools/list)
Version du protocole
2025-11-25
Nom annoncé
com.clawhard/sieve 1.0.0
Outils
2

Historique

DateRésultatRéponseOutils
28 nov. 2026, 11:08OK431 ms2

Outils exposés (2, réponse à tools/list, 28 nov. 2026)

sieve_test_regex

Run a regular expression on test strings (JavaScript or RE2/Go) and check it for ReDoS

Use when you have written, been given or are about to commit a regular expression and need to know what it really matches, instead of predicting it (signals: "write a regex for", "does this regex match", "validate emails/phone numbers/dates/slugs/URLs with a regex", "why doesn't my regex match", "test this pattern", "regex for Go", "is this regex safe", "catastrophic backtracking", "convert this Python regex to JavaScript"). Executes the pattern on the real engine: JavaScript (V8 RegExp, the engine in Chrome, Node.js and Cloudflare Workers; flags d g i m s u v y) or RE2 (re2js, with Go regexp parity: Go, RE2, Google Sheets and BigQuery syntax; flags i m s). Give strings that must match and strings that must not; each case comes back pass/fail with the matched text, index and capture groups (numbered and named), and why a "should not match" string matched (usually a missing ^...$). match: "full" tests the whole string. texts lists every match, replace_with shows the replacement ($1/$ in JavaScript, $1/${name} in Go). For JavaScript it also runs a ReDoS analysis (recheck): proven linear, or exponential/polynomial backtracking with a concrete attack string and the hot part of the pattern. Flags patterns that compile but mislead: ^a|b$ anchoring, \A/\Z/\h read as letters, [[:alpha:]], {,3}, [A-z], unescaped dots before extensions. Invalid patterns return the engine's error and a hint (Python (?P ), (?i), possessive and atomic groups; lookarounds and backreferences in RE2). Examp…

ParamètreTypeRequisDescription
patternstringouiThe regex source, e.g. "^\\d{4}-\\d{2}$" (JSON-escaped), or a JavaScript literal "/^\\d+$/i" (flags then come from the literal).
flagsstringnonJavaScript: any of d g i m s u v y. RE2: i m s. Default none.
engineenum: "javascript" | "re2"non"javascript" (default; also TypeScript, Node.js, browsers, Deno, Bun) or "re2" (Go regexp, RE2, Google Sheets REGEXMATCH, BigQuery).
should_matcharray<string>nonStrings the pattern must match (in match mode).
should_not_matcharray<string>nonStrings the pattern must not match.
textsarray<string>nonStrings to search; every match is listed with its groups (no pass/fail).
matchenum: "search" | "full"non"search" (default): a match anywhere counts, like RegExp.test, re.search or Go MatchString. "full": the whole string must match, like Python re.fullmatch.
replace_withstringnonOptional replacement; each case also returns the string with every match replaced.
max_matchesintegernonMost matches listed per text (default 10). match_count is always the full count.
check_redosbooleannonRun the ReDoS analysis (JavaScript engine). Default true.

sieve_check_redos

Check regular expressions for ReDoS (catastrophic backtracking)

Use when a regular expression will run on user input or untrusted data (form validation, request routing, log parsing, WAF or search rules) and must not hang the server, or when reviewing a codebase's regexes for ReDoS (signals: "is this regex safe", "ReDoS", "catastrophic backtracking", "regex hangs", "CPU spike on validation", "security review of regexes", "(a+)+"). Analyzes 1 to 20 patterns with recheck (automaton analysis with a fuzzing fallback) for backtracking engines with JavaScript syntax, and returns per pattern: safe (proven linear, or no attack found when backreferences or lookarounds force fuzzing), or vulnerable with the complexity (exponential, or polynomial with its degree), a concrete attack string (repr like 'a'.repeat(31) + '\\x00', plus the string itself when short), the hot part of the pattern and a fix hint. Example: {"patterns":["^(a+)+$","/^([a-z]+\\s)*$/","^[\\w.+-]+@[\\w-]+\\.[\\w.-]+$"]}. Python re, PCRE, Java, .NET and Ruby backtrack the same way on these constructs; RE2, Go regexp and Rust regex are linear-time and not affected. To also run the pattern on test strings, use sieve_test_regex.

ParamètreTypeRequisDescription
patternsarray<string>ouiRegex sources ("^(a+)+$") or JavaScript literals ("/^(a+)+$/i").
flagsstringnonFlags for every pattern given as a raw source (literals keep their own). JavaScript flags d g i m s u v y.

Compatibilité clients

Selon les transports que chaque client déclare accepter dans sa documentation officielle ; ce n’est pas un essai réel dans le client.

ClientTransports documentésCe serveurSource
Claude Codestdio Streamable HTTP SSEtransport acceptédoc
Claude (claude.ai, Claude Desktop, Cowork)stdio Streamable HTTP SSEtransport acceptédoc
ChatGPT (serveurs MCP personnalisés / plugins)Streamable HTTP SSEtransport acceptédoc
Cursorstdio Streamable HTTP SSEtransport acceptédoc
VS Code (GitHub Copilot)stdio Streamable HTTP SSEtransport acceptédoc
Windsurf (documentation redirigée vers Devin Local / Devin CLI)stdio Streamable HTTP SSEtransport acceptédoc
Gemini CLIstdio Streamable HTTP SSEtransport acceptédoc
OpenAI Codex (CLI, extension IDE, app)stdio Streamable HTTPtransport acceptédoc

Configs prêtes à copier

Adresse distante utilisée : https://sieve.clawhard.com/mcp. Formats repris de la documentation de chaque client.

Claude Code
claude mcp add --transport http sieve https://sieve.clawhard.com/mcp
Claude (claude.ai, Claude Desktop, Cowork)
Customize > Connectors > + Add > Add custom connector ; Name : sieve ; URL : https://sieve.clawhard.com/mcp
ChatGPT (serveurs MCP personnalisés / plugins)
chatgpt.com/plugins > + > Add custom MCP server ; Name : sieve ; Server URL : https://sieve.clawhard.com/mcp ; Create as a plugin
Cursor.cursor/mcp.json (projet) ou ~/.cursor/mcp.json (global)
{
  "mcpServers": {
    "sieve": {
      "url": "https://sieve.clawhard.com/mcp"
    }
  }
}
VS Code (GitHub Copilot).mcp.json à la racine du workspace, ou ~/.copilot/mcp-config.json ($COPILOT_HOME/mcp-config.json)
{
  "mcpServers": {
    "sieve": {
      "type": "http",
      "url": "https://sieve.clawhard.com/mcp",
      "tools": ["*"]
    }
  }
}
Windsurf (documentation redirigée vers Devin Local / Devin CLI).devin/mcp_config.json (projet), .devin/mcp_config.local.json (local), ~/.config/devin/mcp_config.json (utilisateur)
{
  "mcpServers": {
    "sieve": {
      "url": "https://sieve.clawhard.com/mcp"
    }
  }
}
Gemini CLI~/.gemini/settings.json (utilisateur) ou .gemini/settings.json (projet)
{
  "mcpServers": {
    "sieve": {
      "httpUrl": "https://sieve.clawhard.com/mcp"
    }
  }
}
OpenAI Codex (CLI, extension IDE, app)~/.codex/config.toml (ou .codex/config.toml pour un projet de confiance)
[mcp_servers.sieve]
url = "https://sieve.clawhard.com/mcp"

Source : Registre officiel MCP · relevé le 29 nov. 2026. L’Atlas n’ajoute aucune donnée qui ne vienne de cette source ou de ses propres tests.