# Rog0x Regex MCP server

Source: https://glimind.com/server/mcp-registry%2Fio.github.rog0x%2Fregex
Registry id: `mcp-registry/io.github.rog0x/regex`
Status: unknown

## Install

```json
{
  "mcpServers": {
    "rog0x-regex-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@rog0x/mcp-regex-tools"
      ]
    }
  }
}
```

Claude Code:

```sh
claude mcp add rog0x-regex-mcp-server -- npx -y @rog0x/mcp-regex-tools
```

## Tools (5)

- `regex_explain`: Parse a regex pattern and return a human-readable explanation of each component and flag.
- `regex_extract`: Extract all matches of a pattern from text as a structured array. Optionally return only a specific capture group.
- `regex_replace`: Find and replace using regex with support for capture group references ($1, $2, $&, $<name>).
- `regex_test`: Test a regex pattern against text. Returns all matches with indices, captured groups, and named groups.
- `text_transform`: Apply common text transformations: camelCase, snake_case, kebab-case, PascalCase, UPPER, lower, title case, reverse, trim, deduplicate lines, sort lines, remove

Measured by Glimind (https://glimind.com): MCP handshake + tool list only, no tool is ever called. CC BY 4.0.
