About
String analyzer, diff, templates for AI agents
Security Report
Valid MCP server (2 strong, 4 medium validity signals). 3 known CVEs in dependencies (0 critical, 3 high severity) Package registry verified. Imported from the Official MCP Registry.
8 files analyzed · 4 issues found
Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.
How to Install
Add this to your MCP configuration file:
{
"mcpServers": {
"io-github-rog0x-string": {
"args": [
"-y",
"@rog0x/mcp-string-tools"
],
"command": "npx"
}
}
}Documentation
View on GitHubFrom the project's GitHub 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
Reviews
No reviews yet
Be the first to review this server!
More Developer Tools MCP Servers
Git
Freeby Modelcontextprotocol · Developer Tools
Read, search, and manipulate Git repositories programmatically
Fetch
Freeby Modelcontextprotocol · Developer Tools
Web content fetching and conversion for efficient LLM usage
Toleno
Freeby Toleno · Developer Tools
Toleno Network MCP Server — Manage your Toleno mining account with Claude AI using natural language.
mcp-creator-python
Freeby mcp-marketplace · Developer Tools
Create, build, and publish Python MCP servers to PyPI — conversationally.
MCP Marketplace
Freeby mcp-marketplace · Developer Tools
Search and install MCP servers from inside your AI client.
MarkItDown
Freeby Microsoft · Content & Media
Convert files (PDF, Word, Excel, images, audio) to Markdown for LLM consumption
