diff-checker
Diff Checker API
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 bodyx402対応クライアント(@x402/fetch、x402-agent-tools、ATXP)は、402 → 署名 → リトライのサイクルを自動的に処理します。
ツール
ツール | メソッド | パス | 価格 | 説明 |
| POST |
| $0.005 | 2つのテキストを比較し、行ごとの差分を表示します |
text_compare_diff
2つのテキストを比較して、その間で何が変更されたかを正確に特定する必要がある場合に使用します。構造化された行ごとの差分とサマリー統計を返します。
パラメーター
名前 | 型 | 必須 | 説明 |
| string | はい | 元のテキスト(ベース) |
| 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、サインアップ不要。
完全なAPIリファレンス: https://klymax402.com/llms-full.txt
ライブ統計: https://klymax402.com/stats
ライセンス
MIT
Related MCP Connectors
x402 pay-per-call tools for AI agents: code review, data clean, briefs, regex, diff, URL meta.
Everyday tools for AI agents, paid per call with x402: images, markdown, speech-to-text, embeddings.
Paid OpenAPI audit and API change detection for agents. $0.10 USDC per analysis via x402 on Base.
x402-paid agent tools: 18 over HTTP, 14 over stdio. USDC per call, no API key.
Related MCP Servers
- AlicenseNot gradedqualityBmaintenanceA 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.6Apache 2.0
- AlicenseNot gradedqualityDmaintenanceEnables 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
- FlicenseNot gradedqualityBmaintenanceEnables 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-
- FlicenseNot gradedqualityBmaintenanceEnables 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-