Skip to main content
Glama
Br0ski777

regex-generator

by Br0ski777

Regex Tester API

MCP Server [! x402](https://x402.org) License: MIT

文字列に対して正規表現パターンをテストします。すべてのマッチ、キャプチャグループ、位置、そして平易な英語でのパターン説明を取得できます。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 body

x402対応クライアント(@x402/fetchx402-agent-tools、ATXP)は、402 → 署名 → 再試行 のサイクルを自動的に処理します。

ツール

ツール

メソッド

パス

価格

説明

text_test_regex

POST

/api/test

$0.003

入力文字列に対して正規表現パターンをテストする

text_test_regex

1 つ以上の文字列に対して正規表現をテストする必要がある場合に使用します。すべてのマッチ、キャプチャグループ、位置、そして 人間がて読めるパターン説明を返します。

パラメータ

名前

必須

説明

パターン 文字列

string

はい

正規表現パターン(デリミタなし)

flags

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、サインアップは不要です。

ライセンス

MIT

A
license - permissive license
Not graded
quality - not tested
B
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

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

  • A
    license
    Not graded
    quality
    F
    maintenance
    23 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.
    51
    6
    MIT
  • F
    license
    Not graded
    quality
    C
    maintenance
    MCP server for managing x402 payment policies (rules, coupons, tiers, usage logs) conversationally via LLM and evaluating request decisions.

View all related MCP servers

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.

View all MCP Connectors

Latest Blog Posts

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