br0ski777 avatar

Regex Tester API

br0ski777/regex-generator-x402

A regex testing and validation tool that runs as an MCP server with match highlighting built in. The source repo is fairly minimal, but the description suggests it handles pattern testing, validation, and explanation through a remote API endpoint. Worth noting this uses x402 micropayments, so you'll need to factor in per-request costs when evaluating it. Reach for this when you need Claude to generate, test, or debug regular expressions in conversation rather than bouncing out to a separate regex tool. The SSE transport means it runs remotely rather than locally, which keeps setup simple but adds the payment layer.

tool
1
transport
SSE
last updated
May 16, 2026

Tools

1 tools

Public tool metadata for what this MCP can expose to an agent.

text_test_regexUse this when you need to test a regular expression against one or more strings. Returns all matches, capture groups, positions, and a human-readable explanation of the pattern. 1. pattern -- the reg3 params

Use this when you need to test a regular expression against one or more strings. Returns all matches, capture groups, positions, and a human-readable explanation of the pattern. 1. pattern -- the reg

Parameters* required
flagsstring
Regex flags: g, i, m, s, u (default: g)
patternstring
Regular expression pattern (without delimiters)
testStringsarray
Array of strings to test against the pattern

Sponsors

Readme

Regex Tester API

MCP Server x402 License: MIT

Test regex patterns against strings. Get all matches, capture groups, positions, and plain-English pattern explanations. Pay-per-call via x402 (USDC on Base L2) -- no API key, no signup, no rate-limit wall.

Part of the klymax402 marketplace -- 100 x402 micropayment APIs for AI agents, one wallet, USDC on Base.

Quickstart -- MCP

Add to your MCP client config (Claude Desktop, Cursor, ElizaOS, etc.):

{
  "mcpServers": {
    "regex-generator": {
      "url": "https://regex-generator.api.klymax402.com/mcp"
    }
  }
}

Quickstart -- HTTP (x402)

curl -X POST "https://regex-generator.api.klymax402.com/api/test" \
  -H "Content-Type: application/json" \
  -d '{"pattern":"...","testStrings":"..."}'
# -> 402 Payment Required, with an x402 payment challenge in the response body

View the full README on GitHub

Details

Repository
github.com/br0ski777/regex-generator-x402
Website
github.com/Br0ski777/regex-generator-x402
Transport
SSE
Registry
MCP registry, active

More from br0ski777