# io.github.ryudi84/regex-lab (npm · regex-lab-mcp)

MCP server for regex testing, matching, replacing, and validation

- Trust score: 67/100 (medium)
- Change this week: +21
- Registry status: active
- Liveness: live
- Owner verified: no
- Last scored: 2026-08-03

## Components

- npm · `regex-lab-mcp`: 67/100 (this document), [markdown](https://verifymcp.io/servers/ryudi84-regex-lab/regex-lab-mcp.md), [page](https://verifymcp.io/servers/ryudi84-regex-lab/regex-lab-mcp)

## Channel facts

- Registry: `npm`
- Package: `regex-lab-mcp`
- Version: `1.0.4`
- Transport: `stdio`

## Trust breakdown

How this component scores in each security and reliability category. Every signal is checked automatically from public evidence about the published package, including repeated runs of it in an isolated sandbox, and we only credit what we can confirm. Scores are 0–100 per category. Scoring method: https://verifymcp.io/docs/scoring (what has changed: https://verifymcp.io/docs/scoring/changelog)

Scored 2026-08-03.

- **Supply Chain Security**: 86/100
  - No malware found by supply-chain analysis.
  - Only part of the dependency tree could be resolved (94 of 98), so this covers what we could see, not the whole tree.
  - No install/post-install scripts declared.
  - Only part of the dependency tree could be resolved (94 of 98), so this covers what we could see, not the whole tree.
- **Provenance & Transparency**: 45/100
  - Source repository is publicly reachable at the declared URL.
  - Provenance check failed: no build-provenance attestation is published.
  - Clear OSI-approved license (MIT).
  - Actively maintained (last published 158 days ago).
  - Disclosure check failed: no security disclosure policy was found in the source repository.
- **Schema Quality & AI Usability**: 69/100
  - AI-judged instruction clarity (good).
  - Tool/resource definitions use about 175 tokens (~58/item across 3 items; 3 tools + 0 resources), lean.
  - Usage-examples check failed: none of the tools include examples.
- **Stability & Change Management**: 23/100
  - Stability observed for 7 of 30 days with no destabilising changes; credit accrues until the full window elapses.
- **Tool Coverage**: 100/100
  - 100% of tools have a non-trivial description (not blank, and not just the tool's name).
  - 100% of tool parameters carry a description.
- **Capabilities**: 100/100
  - Implements a supported MCP spec version (2025-11-25); the latest is 2026-07-28.

## Install

### Claude

```bash
claude mcp add ryudi84-regex-lab -- npx -y regex-lab-mcp
```

### Codex

```bash
codex mcp add ryudi84-regex-lab -- npx -y regex-lab-mcp
```

### opencode

```json
{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "ryudi84-regex-lab": {
      "type": "local",
      "command": [
        "npx",
        "-y",
        "regex-lab-mcp"
      ],
      "enabled": true
    }
  }
}
```

### OpenClaw

```bash
openclaw mcp add ryudi84-regex-lab --command npx --arg -y --arg regex-lab-mcp
```

### Hermes

```yaml
mcp_servers:
  ryudi84-regex-lab:
    command: "npx"
    args: ["-y", "regex-lab-mcp"]
```

### Other

```json
{
  "mcpServers": {
    "ryudi84-regex-lab": {
      "command": "npx",
      "args": [
        "-y",
        "regex-lab-mcp"
      ]
    }
  }
}
```

## Changelog

Every change recorded for this component, newest first. Days that predate change tracking, or that we cannot explain, say so: "we were watching and nothing happened" and "we were not watching" are different claims.

### 2026-08-03 (score 67, +3)

- [functional improvement] Stability: unverified → 0.23

### 2026-08-02 (score 64, +43)

- [security regression] Provenance: unverified → fail
- [security improvement] Install scripts: unverified → pass
- [security improvement] Known CVEs: unverified → partial
- [security improvement] Malware scan: unverified → pass
- [security] Stability: Stability not yet verified: not enough scan history yet (needs a 30-day window).
- [functional improvement] License: unverified → pass
- [functional improvement] MCP protocol: unverified → pass
- [functional improvement] Schema quality: unverified → good
- [functional improvement] Dependency health: unverified → partial
- [functional improvement] Maintenance: unverified → pass
- [functional] Licence: MIT

### 2026-07-31 (score 21, −25)

- [functional] We updated how we score, so this day's move reflects our rubric, not a change to the server

### 2026-07-27 (score 46)

First indexed and scored.

## MCP tools (3)

### `test_regex` (~64 tokens)

Test a regex pattern against a string. Returns all matches with positions and capture groups.

Input parameters:

- `flags` (string): Regex flags (g, m, i, s)
- `pattern` (string, required): Regular expression pattern
- `test_string` (string, required): String to test against

### `replace_regex` (~65 tokens)

Replace matches in a string using a regex pattern and replacement string.

Input parameters:

- `flags` (string): Regex flags
- `pattern` (string, required): Regular expression pattern
- `replacement` (string, required): Replacement string (supports $1 capture groups)
- `test_string` (string, required): Input string

### `validate_regex` (~30 tokens)

Check if a regex pattern is syntactically valid.

Input parameters:

- `pattern` (string, required): Regex pattern to validate

## Diagnostics

Captured diagnostic sections: Provenance, Dependencies. The full working is on the page: https://verifymcp.io/servers/ryudi84-regex-lab/regex-lab-mcp#diagnostics

## Score history

- 2026-08-03: 67
- 2026-08-02: 64
- 2026-08-01: 21
- 2026-07-31: 21
- 2026-07-30: 46
- 2026-07-28: 46
- 2026-07-27: 46

## Links

- npm package: https://www.npmjs.com/package/regex-lab-mcp
- Socket report: https://socket.dev/npm/package/regex-lab-mcp
- Repository: https://github.com/ryudi84/sovereign-mcp-servers
- Changelog RSS feed: https://verifymcp.io/servers/ryudi84-regex-lab/regex-lab-mcp/changelog.xml
- Changelog JSON feed: https://verifymcp.io/servers/ryudi84-regex-lab/regex-lab-mcp/changelog.json
- HTML version of this page: https://verifymcp.io/servers/ryudi84-regex-lab/regex-lab-mcp
