regex-generator
Regex Tester API
[! x402](https://x402.org)
文字列に対して正規表現パターンをテストします。すべてのマッチ、キャプチャグループ、位置、そして平易な英語でのパターン説明を取得できます。x402 による呼び出しごとの課金(Base L2 上の USDC)-- API キー不要、登録不要、レート制限の壁もありません。
klymax402 マーケットプレイスの一部 -- AI エージェント向けの x402 マイクロペイメント API を 100 件提供。1 つのウォレットで、Base 上の USDC を使います。
クイックスタート -- MCP
MCP クライアント設定(Claude Desktop、Cursor、ElizaOS、その他)に追加してください:
{
"mcpServers": {
"regex-generator": {
"url": "https://regex-generator.api.klymax402.com/mcp"
}
}
}Related MCP server: x402-sub-agent-mcp
クイックスタート -- 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 bodyx402対応クライアント(@x402/fetch、x402-agent-tools、ATXP)は、402 → 署名 → 再試行 のサイクルを自動的に処理します。
ツール
ツール | メソッド | パス | 価格 | 説明 |
| POST |
| $0.003 | 入力文字列に対して正規表現パターンをテストする |
text_test_regex
1 つ以上の文字列に対して正規表現をテストする必要がある場合に使用します。すべてのマッチ、キャプチャグループ、位置、そして 人間がて読めるパターン説明を返します。
パラメータ
名前 | 型 | 必須 | 説明 |
パターン 文字列 | string | はい | 正規表現パターン(デリミタなし) |
| string | いいえ | 正規表現フラグ: g、i、m、s、u(デフォルト: g) |
テスト文字列 | array | はい | パターンに対してテストする文字列の配列 |
レスポンス例:
{"pattern":"\d{3}-\d{4}","flags":"g","explanation":"Matches 3 digits, a hyphen, then 4 digits","results":[{"input":"Call 555-1234","matched":true,"matches":[{"value":"555-1234","index":5,"groups":[]}]}],"totalMatches":1}使用するタイミング: コードに組み込む前に正規表現パターンを検証する場合、パターンがマッチしない理由をデバッグする場合、またはテキストから構造化データを抽出する場合です。複雑な正規表現を本番コードに作成するよりも前に使用してください。
目的外: テキスト分類(text_classify_content を使用)、PII 検出(privacy_detect_pii を使用)、テキスト比較(text_compare_diff を使用)。
エージェントプロンプトの例
"1 つ以上の文字列に対して正規表現をテストする"
支払い
プロトコル: x402 -- HTTP ネイティブの従量課金、サインアップ不要、API キー不要
ネットワーク: Base L2 (
eip155:8453)資産: USDC
ファシリテーター: Coinbase CDP (プライマリ)、PayAAI (フォールバック)
ATXP(RFC 9728 準拠の保護リソース・メタデータ)を介した OAuth ラップ x402 にも対応
klymax4024 の一部
AI エージェント向けの x402 マイクロペイメント API を 100 件登録 -- 1 つのウォレット、Base 上の USDC、サインアップは不要です。
完全な API リファレンス: https://klymax402.com/llms-full.txt
ライブ統計: https://klymax402.com/stats
ライセンス
MIT
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseNot gradedqualityFmaintenance23 pay-per-call web analysis APIs as MCP tools. Security audits, tech stack detection, email verification, SEO analysis, SSL checks, performance monitoring. Supports x402 and Stripe MPP payments.516MIT
- FlicenseNot gradedqualityCmaintenanceMCP server for managing x402 payment policies (rules, coupons, tiers, usage logs) conversationally via LLM and evaluating request decisions.
- AlicenseNot gradedqualityBmaintenanceProvides GDPR compliance scanning for websites via the MCP protocol, with pay-per-call using x402 micropayments.MIT
- AlicenseNot gradedqualityCmaintenanceValidates regex, cron, and SQL expressions by executing them in real runtimes, with payments via x402 USDC on Base.MIT
Related MCP Connectors
Valida regex, cron y SQL contra ejecucion real. Pago por llamada via x402/USDC.
A paid remote MCP for hosted MCP server, built to return verdicts, receipts, usage logs, and audit-r
A paid remote MCP for CodeG, built to return verdicts, receipts, usage logs, and audit-ready JSON.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Br0ski777/regex-generator-x402'
If you have feedback or need assistance with the MCP directory API, please join our Discord server