About io.github.rog0x/string
io.github.rog0x/string is an MCP server published by rog0x in the Developer Tools category: string analyzer, diff, templates for AI agents.
Six months or more without a commit doesn't mean the server is broken, but check the open issues before depending on it in production.
Install
claude mcp add io-github-rog0x-string -- npx -y @rog0x/mcp-string-toolsnpx -y @rog0x/mcp-string-toolsThis server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.
Tools (5)
analyze_stringAnalyze text to get character count, word count, sentence count, paragraph count, reading time, Flesch-Kincaid reading level, unique words, most common words, and longest word.
Parameters not published.
diff_stringsCompare two strings showing additions, deletions, and unchanged segments with positions. Supports character-level, word-level, and line-level diff modes.
Parameters not published.
generate_slugGenerate a URL-friendly slug from text. Removes special characters, lowercases, replaces spaces with hyphens, transliterates accented characters. Configurable separator and max length.
Parameters not published.
render_templateRender a template string by replacing {{variables}} with values from a data object. Supports {{#if var}}...{{#else}}...{{/if}} conditionals and {{#each arr}}...{{/each}} loops with {{this}}, {{@index}}, and {{this.prop}}.
Parameters not published.
transform_stringTransform text with operations: remove_duplicate_lines, remove_extra_whitespace, extract_emails, extract_urls, extract_phone_numbers, mask_sensitive_data, truncate, wrap_text.
Parameters not published.
Ask AI
Ask AI about io.github.rog0x/string
Powered by Claude · Grounded in docs
Security checks
- ✓README presentThe repository ships documentation.
5 checks have not been run yet.
README
@rog0x/mcp-string-tools
Advanced string manipulation tools for AI agents, served over the Model Context Protocol (MCP).
Tools
analyze_string
Analyze text to get detailed metrics:
- Character count (with and without spaces)
- Word, sentence, and paragraph counts
- Estimated reading time
- Flesch-Kincaid reading level score and grade
- Unique word count and most common words
- Longest word
transform_string
Transform text with various operations:
- remove_duplicate_lines - Remove duplicate lines from text
- remove_extra_whitespace - Collapse extra whitespace and blank lines
- extract_emails - Extract all email addresses from text
- extract_urls - Extract all URLs from text
- extract_phone_numbers - Extract phone numbers from text
- mask_sensitive_data - Mask emails, phone numbers, and credit card numbers
- truncate - Truncate text with ellipsis at word boundaries
- wrap_text - Wrap text at a specified column width
diff_strings
Compare two strings and see the differences:
- character mode - Character-by-character diff
- word mode - Word-by-word diff (default)
- line mode - Line-by-line diff
- Shows additions, deletions, and unchanged segments with positions
render_template
Simple template engine:
- Replace
{{variables}}with values from a JSON data object - Conditionals:
{{#if var}}...{{#else}}...{{/if}} - Loops:
{{#each arr}}...{{this}}...{{@index}}...{{/each}} - Nested property access:
{{user.name}}
generate_slug
Generate URL-friendly slugs:
- Transliterates accented characters (e.g.,
cafefromcafe) - Removes special characters
- Configurable separator (default:
-) - Optional max length with clean truncation
- Optional lowercase toggle
Setup
npm install
npm run build
Usage with Claude Desktop
Add to your claude_desktop_config.json:
{
"mcpServers": {
"string-tools": {
"command": "node",
"args": ["D:/products/mcp-servers/mcp-string-tools/dist/index.js"]
}
}
}
License
MIT
README copy captured when this server was indexed; it may lag the repository. The original is authoritative.