String MCP server
String analyzer, diff, templates for AI agents
0 stars33 downloads/wk
Reviews
Write oneNobody has reviewed String yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
String tools (5)
write = sends, deletes, buys or postsRead from the package source without running it. The installed server may list more.
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.
diff_stringsCompare two strings showing additions, deletions, and unchanged segments with positions. Supports character-level, word-level, and line-level diff modes.
generate_slugGenerate a URL-friendly slug from text. Removes special characters, lowercases, replaces spaces with hyphens, transliterates accented characters. Configurable separator and max length.
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}}.
transform_stringTransform text with operations: remove_duplicate_lines, remove_extra_whitespace, extract_emails, extract_urls, extract_phone_numbers, mask_sensitive_data, truncate, wrap_text.
Public scan report
scanner v0.1.10 · 2026-09-27 · same rubric, same numbers if you re-run it
- Code scan20 source files scanned25/25
- –Live reliabilityno gateway calls yet and no remote to proben/a
- –Tool poisoningtools not inspected (local package is not executed); not countedn/a
- Auth qualitylocal package, no credentials required12/15
- Maintenancelast push 190 days ago4/15
- Maintainer identityregistry namespace matches repository owner6/10
Install String in Claude Code, Cursor or VS Code
Runs npx -y @rog0x/mcp-string-tools on your machine. Read the scan report first; the gateway never runs local packages.
claude mcp add string -- npx -y @rog0x/mcp-string-tools
What the publisher says
From the String repository's README, as published. We do not edit it. Read it on GitHub
@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:
- removeduplicatelines - Remove duplicate lines from text
- removeextrawhitespace - Collapse extra whitespace and blank lines
- extractemails** - Extract all email addresses from text
- extracturls** - Extract all URLs from text
- extractphonenumbers - Extract phone numbers from text
- masksensitivedata - Mask emails, phone numbers, and credit card numbers
- truncate - Truncate text with ellipsis at word boundaries
- wraptext** - 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., cafe from cafe)
- Removes special characters
- Configurable separator (default: -)
- Optional max length with clean truncation
- Optional lowercase toggle
Setup
npm install
npm run buildUsage with Claude Desktop
Add to your claudedesktopconfig.json:
{
"mcpServers": {
"string-tools": {
"command": "node",
"args": ["D:/products/mcp-servers/mcp-string-tools/dist/index.js"]
}
}
}License
MIT
Nothing above is checked by us. What we check is on the safety report.
String: common questions
- Is String MCP server safe?
- Mostly: it is graded B (72/100). Read the String safety report
- How do I install String?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does String need an API key?
- Not as far as the registry entry and our scan can tell: no credentials are declared or required.
- Is String maintained?
- The last commit was 206 days ago (2026-03-21). The latest release is v1.0.2.