Home / Servers / Text Toolkit / text_similarity

Text similarity

An MCP tool from the Text Toolkit server, hosted on mcp.hjlabs.in.

How alike two texts are: Levenshtein edit distance, a 0–1 similarity ratio, and word-level Jaccard overlap. Use for fuzzy matching, deduplication and typo detection. Up to 5,000 characters each.

Name on the gateway: text__text_similarity · read-only.

Parameters

NameTypeDescription
a requiredstringFirst text.
b requiredstringSecond text.
case_insensitivebooleanIgnore case. Default true.

How to call it

Through the Smart Gateway, any client can run it by name with call_tool, or let the gateway find it with search_tools:

call_tool arguments
{
  "name": "text__text_similarity",
  "arguments": {
    "a": "…",
    "b": "…"
  }
}

Or connect the Text Toolkit server directly, which lists 43 tools including this one:

Run in your terminal
claude mcp add --transport http hj-text https://mcp.hjlabs.in/mcp/text \
  --header "Authorization: Bearer YOUR_API_KEY"

Try asking

Use the text similarity tool with a set to ….

More from Text Toolkit