Connection check
verified live · 20h ago
text-tools
Exact character/word counting, reversal, palindrome checks, indexing, sorting; Unicode-safe.
Tools
7
GitHub stars
—
Installs / wk
—
Licence
—
Transport
streamable-http
Last checked
20h ago
Tools & capabilities
7 toolsRead from the running server on 20h ago.
text_charat
text*index*
Returns the 0-indexed character (rune) at index in text. Returns the 0-indexed character (rune) at index in text.
text_count
text*substring*
Counts non-overlapping occurrences of substring in text (rune-safe, not byte-based). Counts non-overlapping occurrences of substring in text (rune-safe, not byte-based).
text_palindrome
text*ignoreCaseignoreNonAlnum
Checks whether text reads the same forwards and backwards. ignoreCase/ignoreNonAlnum default false (strict, literal comparison); set both true for phrase-style palindromes like "A… Checks whether text reads the same forwards and backwards. ignoreCase/ignoreNonAlnum default false (strict, literal comparison); set both true for phrase-style palindromes like "A man, a plan, a canal: Panama".
text_reverse
text*
Reverses text by Unicode code point (rune), not grapheme cluster. Reverses text by Unicode code point (rune), not grapheme cluster.
text_sort
bytext*
Sorts text's characters or words alphabetically. by: "chars" (default, sorts runes, no separator) or "words" (splits on whitespace, rejoins with a single space). Sorts text's characters or words alphabetically. by: "chars" (default, sorts runes, no separator) or "words" (splits on whitespace, rejoins with a single space).
text_stats
text*
Descriptive statistics for text: rune/byte/word/line counts, a unique-rune count, a letters/digits/spaces/punctuation/other breakdown, an exact per-character frequency table, and w… Descriptive statistics for text: rune/byte/word/line counts, a unique-rune count, a letters/digits/spaces/punctuation/other breakdown, an exact per-character frequency table, and word-length min/max/average plus the actual shortest/longest word (ties resolve to the first occurrence).
text_wordcount
text*