Diff Checker API

io.github.Br0ski777Published by GitHub account Br0ski777v1.1.0Updated Nov 2, 2026

Compare two texts line-by-line — additions, deletions, unchanged. x402 micropayment.

VerifiedSSEWeb executableFinanceDeveloper Tools

Overview

AI-generated overview

Remote MCP endpoint that compares two texts line by line and returns a structured diff with additions, deletions and summary stats, paid per call.

What you can do
  • Compare two texts and return a line-by-line diff of added, removed and unchanged lines
  • Get summary statistics such as lines added, lines removed, lines unchanged and a similarity figure
  • Use the result to review before/after code, document revisions, config changes or template edits
When to use it
Useful when an assistant needs a precise, structured comparison of two text versions — for example reviewing a config change before deployment or tracking document revisions — and a paid per-call service is acceptable.
Requirements
Remote MCP endpoint reached over SSE at the provider's URL; no API key, signup or environment variables. Each call is paid via the x402 protocol in USDC on Base L2, so an x402-capable client and a funded wallet are needed.
Before you install
Every call costs money ($0.005 per diff) and is settled in USDC on Base through a crypto wallet, so the assistant or client must be able to sign payments. Text sent for comparison goes to a third-party service. No authentication is declared, so anyone with the endpoint can call it.

Installation

In SourceWeft

  1. Open Diff Checker API in the dashboard and add it to a workspace.
  2. Enable the server for the chats that should use its tools.

Web executable via SSE. Remote servers run from the web runtime once configured in a workspace.

Use with an agent

Paste this prompt into Claude Code, Codex, Cursor or another agent — or into SourceWeft chat. The agent reads this server's install guide, shows you its publisher, endpoint and sign-in, and adds it to your client once you agree. Keys never go into a command.

Read https://sourceweft.com/mcp/io.github.Br0ski777%2Fdiff-checker/install.md and connect the MCP server it describes to my client. Before changing any config, show me its publisher, endpoint and sign-in method and wait for my OK. Never put an API key in a command or in a file I would commit; ask me where it should come from.

Read the install guide the agent follows

Other MCP clients

Add this to your client's mcpServers config.

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

README

Diff Checker API

[MCP Server] [x402] [License: MIT]

Compare two texts line-by-line. Returns structured diff with additions, deletions, unchanged lines, and summary stats. Pay-per-call via x402 (USDC on Base L2) -- no API key, no signup, no rate-limit wall.

Part of the klymax402 marketplace -- 100 x402 micropayment APIs for AI agents, one wallet, USDC on Base.

Quickstart -- MCP

Add to your MCP client config (Claude Desktop, Cursor, ElizaOS, etc.):

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

Quickstart -- HTTP (x402)

bash
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

Any x402-aware client (@x402/fetch, x402-agent-tools, ATXP) handles the 402 -> sign -> retry cycle automatically.

Tools

ToolMethodPathPriceDescription
text_compare_diffPOST/api/diff$0.005Compare two texts and show line-by-line differences

text_compare_diff

Use this when you need to compare two pieces of text and identify exactly what changed between them. Returns a structured line-by-line diff with summary statistics.

Parameters

NameTypeRequiredDescription
text1stringyesThe original text (base)
text2stringyesThe modified text to compare against

Example response:

json
{"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}

When to use: code review (comparing before/after), tracking document revisions, verifying config file changes, or auditing template modifications. Use this BEFORE deploying config changes to understand what differs.

Not for: text classification (use text_classify_content), sentiment analysis (use text_analyze_sentiment), word counting (use text_count_words).

Example agent prompts

  • "Compare two pieces of text and identify exactly what changed between them"

Payment

  • Protocol: x402 -- HTTP-native pay-per-call, no signup, no API key
  • Network: Base L2 (eip155:8453)
  • Asset: USDC
  • Facilitator: Coinbase CDP (primary), PayAI (fallback)
  • Also reachable via ATXP (OAuth-wrapped x402, RFC 9728 protected-resource metadata)

Part of klymax402

100 x402 micropayment APIs for AI agents -- one wallet, USDC on Base, zero signup.

License

MIT

Source: README.md at commit bb7e30b

Tools

0
SourceWeft has not read this server's tools yet.

Version history

1
  1. v1.1.0LatestSep 16, 2026

Score

50% of the applicable checks met

How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.

  • Reached in the last 30 daysRequired25 pts

    Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.

  • Auth declaredRequired10 pts

    Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.

  • Tools listed15 pts

    Answer tools/list without a credential, or ship a package that starts in a sandbox without one.

  • DescriptionRequired15 pts
  • Logo10 pts
  • Documentation15 pts
  • License10 pts