# DiffMint by Harlo

> DiffMint by Harlo is a freemium MCP server for developer tools. Compare two texts by line, word or character, apply patches and score similarity. It runs as a hosted remote server, so there is nothing to install locally.

- **Kind:** MCP server
- **Pricing:** Freemium
- **Starting price:** $5 a month
- **Platforms:** API
- **Website:** https://diffmint.mike-tusa.workers.dev
- **MCP Registry name:** dev.workers.mike-tusa.diffmint/diffmint
- **Categories:** developer tools
- **Listing updated:** 2026-11-15

## About

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.

## Features

- **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

## Install

### Claude Code (Terminal)

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

### Claude Desktop (Settings → Connectors → Add custom connector)

```sh
https://diffmint.mike-tusa.workers.dev/mcp
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "diffmint": {
      "url": "https://diffmint.mike-tusa.workers.dev/mcp"
    }
  }
}
```

### VS Code (.vscode/mcp.json)

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

### Windsurf (~/.codeium/windsurf/mcp_config.json)

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

### Other clients (your client's MCP settings (most use this shape))

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

## Tools

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

## 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

- [REA](https://ai-powered.com/mcp/rea): REA is an open-source MCP server for developer tools.
- [Codebase Memory](https://ai-powered.com/mcp/codebase-memory): Codebase Memory is an open-source MCP server for knowledge and memory.
- [GitHub](https://ai-powered.com/mcp/github-2): GitHub is an open-source MCP server for developer tools.
- [Serena MCP: the IDE for your agent](https://ai-powered.com/mcp/serena-mcp-the-ide-for-your-agent): Serena MCP: the IDE for your agent is an open-source MCP server for developer tools.
- [XERJ](https://ai-powered.com/mcp/xerj): XERJ is an open-source MCP server for knowledge and memory.
- [Ouroboros](https://ai-powered.com/mcp/ouroboros): Ouroboros is an open-source MCP server for developer tools.
- [Claude Code Ultimate Guide](https://ai-powered.com/mcp/claude-code-ultimate-guide): Claude Code Ultimate Guide is an open-source MCP server for ai models and llm tooling.
- [Concord MCP](https://ai-powered.com/mcp/concord-mcp): Concord MCP is a freemium MCP server for developer tools.

---
Source: https://ai-powered.com/mcp/diffmint-by-harlo
