{"ok":true,"result":{"slug":"word-frequency-counter","name":"Word Frequency Counter","summary":"Count how often each word (or two- and three-word phrase) appears in text, with optional English stop-word removal. Returns the top terms with counts and percentages.","description":"Count how often every word or two and three word phrase appears in your text, with stop word filtering, minimum length, percentages and CSV export.","method":"POST","endpoint":"/api/v1/tools/word-frequency-counter","plan":"free","mcpName":"word_frequency_counter","input":{"type":"object","additionalProperties":false,"properties":{"input":{"type":"string","description":"The text to analyse.","maxLength":200000},"n":{"type":"integer","description":"Term size: 1 for single words, 2 for two-word phrases, 3 for three-word phrases.","default":1,"minimum":1,"maximum":3},"caseSensitive":{"type":"boolean","description":"Count \"Apple\" and \"apple\" separately.","default":false},"removeStopWords":{"type":"boolean","description":"Leave out common English function words (the, and, of…).","default":false},"minLength":{"type":"integer","description":"Ignore words shorter than this many characters.","default":1,"minimum":1,"maximum":50},"ignoreNumbers":{"type":"boolean","description":"Leave out terms made only of digits.","default":false},"sort":{"type":"string","description":"count (most frequent first) or alpha (A–Z).","default":"count","enum":["count","alpha"],"maxLength":200000},"limit":{"type":"integer","description":"Return at most this many terms.","default":50,"minimum":1,"maximum":1000}},"required":["input"]},"example":{"input":"The quick fox and the lazy dog. The fox runs.","removeStopWords":true,"limit":3},"randomOutput":false,"network":false,"docs":"https://pithlab.com/developers/tools/word-frequency-counter","page":"https://pithlab.com/tools/word-frequency-counter"}}