Skip to content
MCP server

DiffMint by Harlo

Compare two texts by line, word or character, apply patches and score similarity

Install
Pricing
Freemium
Platforms
API
Runs
Remotely
Version
0.1.0
Listing updated
2 days ago

About DiffMint by Harlo

DiffMint by Harlo is a freemium MCP server for developer tools. It runs as a hosted remote server, so there is nothing to install locally.

DiffMint is a deterministic Myers-algorithm diff (via jsdiff), not an AI or semantic comparison, and its page lists its limits openly. Per side, line mode accepts 64 KB and 1,000 lines, word mode 8 KB and character mode 4 KB. If the texts need more than 250 inserted plus deleted units the API returns 422 too_different rather than a partial diff. It does no three-way merge, binary files or URL fetching, and is stateless: text is not stored or logged.

The tools return structured ops, a unified diff in lines mode, an escaped HTML redline and stats; apply a unified patch up to 64 KB; and compute a 0 to 1 similarity ratio. The same functions are available as REST endpoints (/v1/diff, /v1/patch, /v1/similarity, /v1/info), with llms.txt and OpenAPI 3.1.

The free tier needs no auth.

Install

Run in a terminal

claude mcp add --transport http diffmint https://diffmint.mike-tusa.workers.dev/mcp

Add to Settings → Connectors → Add custom connector

https://diffmint.mike-tusa.workers.dev/mcp
Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "diffmint": {
      "url": "https://diffmint.mike-tusa.workers.dev/mcp"
    }
  }
}
Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to .vscode/mcp.json

{
  "servers": {
    "diffmint": {
      "type": "http",
      "url": "https://diffmint.mike-tusa.workers.dev/mcp"
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "diffmint": {
      "serverUrl": "https://diffmint.mike-tusa.workers.dev/mcp"
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "diffmint": {
      "type": "http",
      "url": "https://diffmint.mike-tusa.workers.dev/mcp"
    }
  }
}

Tools this server provides (3)

Taken from the project documentation; the running server may differ.

diff_text
Compare two texts by line, word or character
apply_patch
Apply a unified diff
text_similarity
0 to 1 similarity ratio

What it does

Three diff modes
Compare by line, word or character.
Several output formats
Structured ops, unified diff, escaped HTML redline and stats.
Patch apply
Apply a unified diff to text up to 64 KB.
Similarity score
Returns a 0 to 1 similarity ratio.
Stateless
Text is not stored or logged.
REST and MCP
Same functions over HTTP endpoints and a remote MCP server.

Good for

  • Show an assistant exactly what changed between two drafts
  • Apply a unified patch to a text snippet
  • Produce an HTML redline of an edit
  • Measure how close two strings are

Pricing

Freemium, from $5 a month

Free 1,000 calls/month; Basic $5/mo for 25,000; Pro $15/mo for 250,000

Prices change. Check diffmint.mike-tusa.workers.dev before you buy.

DiffMint by Harlo FAQ

Is it AI-based?

No. It is a deterministic Myers diff, not a semantic comparison.

What are the size limits?

Per side: 64 KB and 1,000 lines for lines, 8 KB for words, 4 KB for characters.

What if the texts are very different?

If more than 250 inserted plus deleted units are needed, it returns 422 too_different.

What does it cost?

Free is 1,000 calls a month; Basic is $5 for 25,000; Pro is $15 for 250,000.

Is DiffMint by Harlo free?

DiffMint by Harlo has a free plan, with paid plans for more usage or features. Paid plans start at $5 a month.

How do I add DiffMint by Harlo to Claude Code?

Run this command in your terminal: claude mcp add --transport http diffmint https://diffmint.mike-tusa.workers.dev/mcp

What are the best alternatives to DiffMint by Harlo?

The closest alternatives to DiffMint by Harlo are REA, Codebase Memory, GitHub, Serena MCP: the IDE for your agent and XERJ.

Alternatives to DiffMint by Harlo

  1. REA

    MCP server

    CLI and MCP server that lets coding agents reverse engineer apps and binaries

    Runs locally
    • Open source
    • 464K GitHub stars
    • Developer tools
  2. Codebase Memory

    MCP server

    Local MCP server that builds a code knowledge graph for AI coding agents

    Runs locally
    • Open source
    • 48.7K GitHub stars
    • Knowledge and memory
  3. GitHub

    MCP server

    Official MCP server connecting AI assistants to GitHub repos, issues and workflows

    Not checked yet
    • Remote
    • Open source
    • 34.5K GitHub stars
    • Developer tools
  4. MCP toolkit giving coding agents symbol-level code retrieval and editing

    Runs locally
    • Open source
    • 31.5K GitHub stars
    • Developer tools
  5. XERJ

    MCP server

    Local search engine for AI agents with cited answers over your code and docs

    Runs locally
    • Open source
    • 19.2K GitHub stars
    • Knowledge and memory
  6. Ouroboros

    MCP server

    Spec-first layer that pins requirements and verifies results of AI coding agent work

    Runs locally
    • Open source
    • 6.4K GitHub stars
    • Developer tools