Skip to main content
Glama
diff-checker

diff-checker

by Br0ski777

Diff Checker API

MCP Server x402 License: MIT

2つのテキストを行ごとに比較します。追加、削除、変更なしの行と、サマリー統計を含む構造化された差分を返します。x402 による支払い方式(Base L2上のUSDC)で、APIキー不要、サインアップ不要、レート制限の壁もありません。

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

クイックスタート -- MCP

MCPクライアント設定(Claude Desktop、Cursor、ElizaOSなど)に追加してください:

{
  "mcpServers": {
    "diff-checker": {
      "url": "https://diff-checker.api.klymax402.com/mcp"
    }
  }
}

Related MCP server: word-counter

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

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

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

ツール

ツール

メソッド

パス

価格

説明

text_compare_diff

POST

/api/diff

$0.005

2つのテキストを比較し、行ごとの差分を表示します

text_compare_diff

2つのテキストを比較して、その間で何が変更されたかを正確に特定する必要がある場合に使用します。構造化された行ごとの差分とサマリー統計を返します。

パラメーター

名前

型

必須

説明

text1

string

はい

元のテキスト(ベース)

text2

string

はい

比較対象の変更後テキスト

応答例:

{"changes":[{"type":"unchanged","content":"line 1"},{"type":"removed","content":"old line 2"},{"type":"added","content":"new line 2"}],"linesAdded":1,"linesRemoved":1,"linesUnchanged":1,"similarity":66.7}

使用する場面: コードレビュー(変更前後の比較)、ドキュメントの変更履歴の追跡、設定ファイルの変更確認、テンプレート修正の監査など。設定変更をデプロイする前に、何が異なるのかを把握するために使用してください。

使用しない場面: テキスト分類(text_classify_content を使用)、感情分析(text_analyze_sentiment を使用)、単語数カウント(text_count_words を使用)。

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

  • 「2つのテキストを比較し、その間で何が変更されたかを正確に確認してください」

支払い

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

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

  • アセット: USDC

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

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

klymax402の一部

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

ライセンス

MIT

Related MCP Connectors

Related MCP Servers

  • A
    license
    Not graded
    quality
    B
    maintenance
    A high-performance Model Context Protocol server that provides text diffing capabilities, enabling LLMs to compare two blocks of text and receive differences in unified diff format.
    6
    Apache 2.0
  • A
    license
    Not graded
    quality
    D
    maintenance
    Enables AI agents to analyze text metrics in one call, including word count, characters, sentences, paragraphs, and estimated reading time, with pay-per-call micropayments via x402.
    MIT
  • F
    license
    Not graded
    quality
    B
    maintenance
    Enables developers and AI agents to compute deterministic in-memory unified diffs between successive versions of live artifacts and receive structured change telemetry in return. It runs with zero external dependencies and plugs into MCP-compliant clients such as Claude Desktop, Cursor, and Windsurf.
    8
    -
  • F
    license
    Not graded
    quality
    B
    maintenance
    Enables AI agents and MCP clients to compute real-time, in-memory unified diffs between versions of live artifacts along with structured change telemetry. It runs as a deterministic, zero-dependency Python MCP server that plugs into Claude Desktop, Cursor, or Windsurf for diff and change-tracking workflows.
    7
    -