Regex Test

Developer REST API MCP

Test a regex against input text. Returns all matches (up to 1000), their indices, and named groups.

This page documents the MCP tool findutils:regex_test. See the REST reference →

Call it over MCP

Tool name findutils:regex_test · no API keys · 120 requests/min per IP

Claude Code

claude mcp add findutils --transport http https://mcp.findutils.com/

Claude Desktop — claude_desktop_config.json

{
  "mcpServers": {
    "findutils": {
      "url": "https://mcp.findutils.com/"
    }
  }
}

Raw JSON-RPC (any MCP client) — verified example

curl -X POST https://mcp.findutils.com/ \
  -H "Content-Type: application/json" \
  -d '{
    "jsonrpc": "2.0",
    "id": 1,
    "method": "tools/call",
    "params": {
      "name": "regex_test",
      "arguments": {
        "pattern": "^[a-z]+$",
        "text": "hello"
      }
    }
  }'

Input schema

Argument Type Required Description
pattern string yes Regex pattern (max 500 chars).
input string yes Text to search.
flags string no Regex flags (g/i/m/s/u/y). Defaults to "g". Default: "g".

Example arguments (verified)

{
  "pattern": "^[a-z]+$",
  "text": "hello"
}

Also a REST endpoint

The same tool answers plain HTTP at POST /api/tools/regex-test/execute — no key, 60 requests/min.

Open the REST reference for Regex Test →

More Developer tools