Skip to main content
Glama
Br0ski777

word-counter

by Br0ski777

Word Counter API

MCP Server x402 License: MIT

テキストのメトリクス(単語数、文字数、文数、段落数、推定読了時間)を1回の呼び出しで分析できます。x402 による従量課金(Base L2 上の USDC)に対応しており、API キーは不要、登録も不要、レート制限もありません。

klymax402 マーケットプレイスの一部です。AI エージェント向けの100の x402 マイクロペイメント API を、1つのウォレット、Base 上の USDC で提供します。

クイックスタート -- MCP

MCP クライアント設定(Claude Desktop、Cursor、ElizaOS など)に追加します:

{
  "mcpServers": {
    "word-counter": {
      "url": "https://word-counter.api.klymax402.com/mcp"
    }
  }
}

Related MCP server: ai-summarizer

クイックスタート -- HTTP (x402)

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

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

ツール

ツール

メソッド

パス

料金

説明

text_count_words

POST

/api/count

$0.003

単語数、文字数、文数、段落数、読了時間をカウントします

text_count_words

テキスト内の単語数、文字数、文数、段落数を数える必要がある場合に使用します。読了時間の見積もりを含む、包括的なテキスト統計を返します。

パラメータ

名前

型

必須

説明

text

string

必須

分析対象のテキスト

応答例:

{"words":250,"characters":1450,"charactersNoSpaces":1200,"sentences":15,"paragraphs":4,"readingTime":1.25}

使用するタイミング: コンテンツの長さの検証、記事の読了時間の推定、テキストが最小単語数要件を満たしているかの確認に使用します。ブログ記事を公開したり、文字数制限のあるコンテンツを提出する前には必須です。

対象外: 言語検出(text_detect_language を使用)、感情分析(text_analyze_sentiment を使用)、テキスト比較(text_compare_diff を使用)。

エージェントプロンプトの例

  • "テキストの単語数、文字数、文数、段落数を数えて"

支払い

  • プロトコル: x402 -- HTTP ネイティブの従量課金、サインアップ不要、API キー不要

  • ネットワーク: Base L2 (eip155:8453)

  • 資産: USDC

  • ファシリテーター: Coinbase CDP(プライマリ)、PayAI(フォールバック)

  • また、ATXP 経由でも利用可能(OAuth でラップされた x402、RFC 9728 の保護リソース・メタデータ)

klymax402 の一部

AI エージェント向けの100の x402 マイクロペイメント API -- 1つのウォレット、Base 上の USDC、サインアップ不要。

ライセンス

MIT

Related MCP Connectors

Related MCP Servers

  • A
    license
    Not graded
    quality
    C
    maintenance
    Classifies text into topic categories with confidence scores, readability metrics, and content type detection, using x402 micropayments for pay-per-call access.
    MIT
  • A
    license
    Not graded
    quality
    C
    maintenance
    Enables AI agents to run full on-page SEO audits for any URL or up to 10 URLs at once, returning 0-100 scores, meta tag and heading checks, schema/image/link analysis, load time, and prioritized fixes via pay-per-call x402 micropayments.
    MIT