Levenshtein Distance

Text REST API MCP

Compute the Levenshtein edit distance between two strings (minimum single-character insertions, deletions, or substitutions to transform A into B). Also returns a normalised similarity in [0, 1].

This page documents the MCP tool findutils:levenshtein_distance. See the REST reference →

View as Markdown

Call it over MCP

Tool name findutils:levenshtein_distance · no API keys · 120 requests/min per IP

Claude Code

claude mcp add findutils --transport http https://mcp.findutils.com/

Claude Desktop — claude_desktop_config.json

{
  "mcpServers": {
    "findutils": {
      "url": "https://mcp.findutils.com/"
    }
  }
}

Raw JSON-RPC (any MCP client) — verified example

curl -X POST https://mcp.findutils.com/ \
  -H "Content-Type: application/json" \
  -d '{
    "jsonrpc": "2.0",
    "id": 1,
    "method": "tools/call",
    "params": {
      "name": "levenshtein_distance",
      "arguments": {
        "a": "kitten",
        "b": "sitting"
      }
    }
  }'

Input schema

Argument Type Required Description
a string yes First string.
b string yes Second string.

Example arguments (verified)

{
  "a": "kitten",
  "b": "sitting"
}

Also a REST endpoint

The same tool answers plain HTTP at POST /api/tools/levenshtein-distance/execute — no key, 60 requests/min.

Open the REST reference for Levenshtein Distance →

More Text tools