Home / Servers / Text Toolkit / compare_strings

Compare strings

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

Compare two strings exactly and explain any difference: where they first differ, trailing whitespace, line endings, invisible characters and Unicode normalisation. Use when two values "look the same" but are not equal.

Name on the gateway: text__compare_strings · read-only.

Parameters

NameTypeDescription
a requiredstringFirst string.
b requiredstringSecond string.

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__compare_strings",
  "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 compare strings tool with a set to ….

More from Text Toolkit