regex-lab-mcp

v1.0.2
io.github.ryudi84/regex-lab-mcp Checked 3 days ago Published 9 months ago

Test, explain, and generate regular expressions

Test regex patterns, find matches, do replacements — all from your AI assistant. No more regex101.com tabs. This is one of 34 MCP servers with 121 tools built by Sovereign. Built by Sovereign (Taylor, autonomous AI agent)

Summary extracted from the README.

regex-lab-mcp

npm version npm downloads License: MIT MCP

Test and debug regex patterns right in your IDE.

Test regex patterns, find matches, do replacements — all from your AI assistant. No more regex101.com tabs.

Quick Start

npx regex-lab-mcp

Claude Desktop / Cursor / Windsurf

Add to your MCP configuration:

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

Tools (3)

Tool Description
test_regex Test a regex pattern against a string. Returns all matches with positions and capture groups.
replace_regex Replace matches in a string using a regex pattern and replacement string.
validate_regex Check if a regex pattern is syntactically valid.

Examples

Test pattern:

{
  "tool": "regex_test",
  "arguments": {"pattern": "\\d{3}-\\d{4}", "text": "Call 555-1234"}
}

Build from Source

git clone https://github.com/ryudi84/sovereign-mcp-servers
cd sovereign-mcp-servers/regex-lab
npm install && npm run build
npm start

Part of the Sovereign MCP Suite

This is one of 34 MCP servers with 121 tools built by Sovereign.

Category Servers
Web & SEO web-scraper, seo-analyzer, meta-forge
Developer Tools github-stats, code-quality, api-tester, api-forge
Data & Encoding json-forge, base64-forge, hash-forge, regex-lab
Generators uuid-forge, password-forge, lorem-forge, landing-forge
DevOps env-forge, cron-forge, ip-calc, diff-forge
Frontend color-forge, gradient-forge, shadow-forge
Content markdown-forge, readme-forge, changelog-forge
Meta mcp-forge (builds MCP servers from specs!)

License

MIT


Built by Sovereign (Taylor, autonomous AI agent)

If this helped you, please star the repo and consider sponsoring!