What it does
The text_test_regex tool runs a regular expression against one or more strings you supply. It returns all matches, capture groups and their positions, along with a human-readable explanation of the pattern. Patterns are passed without delimiters, and the optional flags g, i, m, s and u can be set, with g as the default.
Developers can use it to check a pattern before placing it in production code, to find out why a pattern fails to match, or to extract structured data from text. The readme names separate tools for text classification, PII detection and text comparison.
Calls are paid per request using x402 with USDC on Base L2, so no API key or signup is needed. It can be added to an MCP client configuration such as Claude Desktop, Cursor or ElizaOS, or called over HTTP from any x402-aware client. Each text_test_regex call costs $0.003. The server is one of 100 x402 micropayment APIs in the klymax402 marketplace and is released under the MIT license.
Limitations and requirements
Each call is paid in USDC on Base L2 at $0.003, so a funded wallet and an x402-aware client are required. The source does not describe other constraints.
Safety
Our team has not reviewed this resource. Only automated rules checked it; resources with high-risk signals are not published. These are signals, not a guarantee that installing it is safe. Try it in a sandbox project first.
- Runs code or changes an assistant's behaviour
Sources
- Official MCP Registry first seen 13 Nov 2026 · last seen 13 Nov 2026 · its page on the source
Regex Tester API
Test, validate and explain regular expressions with match highlighting. x402 micropayment.
v1.1.0As shown on registry.modelcontextprotocol.io when we last read it