Skip to main content
Glama
Br0ski777

diff-checker

by Br0ski777

Diff Checker API

MCP Server x402 License: MIT

Compara dos textos línea por línea. Devuelve un diff estructurado con adiciones, eliminaciones, líneas sin cambios y estadísticas resumidas. Pago por llamada mediante x402 (USDC en Base L2) — sin clave de API, sin registro, sin límite de frecuencia.

Parte del mercado klymax402 — 100 APIs de micropago x402 para agentes de IA, una única cartera, USDC en Base.

Inicio rápido — MCP

Añádelo a la configuración de tu cliente MCP (Claude Desktop, Cursor, ElizaOS, etc.):

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

Related MCP server: word-counter

Inicio rápido — 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

Cualquier cliente compatible con x402 (@x402/fetch, x402-agent-tools, ATXP) gestiona automáticamente el ciclo 402 -> firmar -> reintentar.

Herramientas

Herramienta

Método

Ruta

Precio

Descripción

text_compare_diff

POST

/api/diff

$0.005

Compara dos textos y muestra las diferencias línea por línea

text_compare_diff

Úsala cuando necesites comparar dos textos e identificar exactamente qué ha cambiado entre ellos. Devuelve un diff estructurado línea por línea con estadísticas resumidas.

Parámetros

Nombre

Tipo

Obligatorio

Descripción

text1

string

sí

El texto original (base)

text2

string

sí

El texto modificado que se va a comparar

Ejemplo de respuesta:

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

Cuándo usarla: revisión de código (comparar antes/después), seguimiento de revisiones de documentos, verificación de cambios en ficheros de configuración o auditoría de modificaciones en plantillas. Úsala ANTES de implementar cambios de configuración para entender qué difiere.

No es para: clasificación de textos (usa text_classify_content), análisis de sentimientos (usa text_analyze_sentiment), recuento de palabras (usa text_count_words).

Ejemplos de prompts para agentes

  • "Compara dos textos e identifica exactamente qué ha cambiado entre ellos"

Pago

  • Protocolo: x402 — pago por llamada nativo de HTTP, sin registro, sin clave de API

  • Red: Base L2 (eip155:8453)

  • Activo: USDC

  • Facilitador: Coinbase CDP (principal), PayAI (alternativa)

  • También accesible a través de ATXP (x402 envuelto en OAuth, metadatos de recurso protegido RFC 9728)

Parte de klymax402

100 APIs de micropago x402 para agentes de IA — una sola cartera, USDC en Base, cero registros.

Licencia

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
    -