Home / Servers / Text Toolkit / word_frequency

Word frequency

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

The most frequent words in a text with counts and share, ignoring case and (by default) common English stop words. Use to see what a text is about or to find overused words.

Name on the gateway: text__word_frequency · read-only.

Parameters

NameTypeDescription
text requiredstringThe text.
topintegerHow many words to return. Default 20, max 200.
min_lengthintegerIgnore words shorter than this. Default 2.
ignore_stop_wordsbooleanSkip "the", "and" and so on. 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__word_frequency",
  "arguments": {
    "text": "…"
  }
}

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 word frequency tool with text set to ….

More from Text Toolkit