Skip to main content
Glama
diff-checker

diff-checker

by Br0ski777

Diff Checker API

MCP Server x402 License: MIT

두 텍스트를 비교합니다. 추가된 줄, 삭제된 줄, 변경되지 않은 줄, 그리고 요약 통계가 포함된 구조화된 diff를 반환합니다. x402를 통한 호출당 과금 방식입니다 (Base L2의 USDC) — API 키도, 가입도, 요청률 제한 벽도 없습니다.

klymax402 마켓플레이스의 일부입니다 — AI 에이전트를 위한 100개의 x402 마이크로결제 API를 하나의 지갑, 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

두 텍스트를 비교하여 줄 단위 차이를 보여줍니다

text_compare_diff

비교할 두 텍스트 사이에서 정확히 무엇이 바뀌었는지 확인해야 할 때 사용합니다. 요약 통계와 함께 구조화된 줄 단위 diff를 반환합니다.

매개변수

이름

타입

필수

설명

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 사용) 등의 작업에는 사용하지 마세요.

에이전트 프롬프트 예시

  • "두 텍스트를 비교해서 정확히 무엇이 바뀌었는지 알려줘"

결제

  • 프로토콜: x402 — HTTP 네이티브 건별 결제, 가입 없음, API 키 없음

  • 네트워크: Base L2 (eip155:8453)

  • 자산: USDC

  • 결제 처리자: Coinbase CDP(기본), PayAI(대체)

  • 또한 ATXP를 통해서도 접근할 수 있습니다 (OAuth로 래핑된 x402, RFC 9728 보호 리소스 메타데이터).

klymax402의 일부

AI 에이전트를 위한 100개의 x402 마이크로결제 API — 하나의 지갑, 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
    C
    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
    -