@rog0x/mcp-string-tools
Official@rog0x/mcp-string-tools
Расширенные инструменты манипуляции строками для ИИ-агентов, предоставляемые через Model Context Protocol (MCP).
Инструменты
analyze_string
Анализ текста для получения подробных метрик:
Количество символов (с пробелами и без)
Количество слов, предложений и абзацев
Предполагаемое время чтения
Оценка и уровень читаемости по Flesch-Kincaid
Количество уникальных слов и самые частые слова
Самое длинное слово
transform_string
Преобразование текста с помощью различных операций:
remove_duplicate_lines - Удаляет повторяющиеся строки из текста
remove_extra_whitespace - Сжимает лишние пробелы и пустые строки
extract_emails - Извлекает все адреса электронной почты из текста
extract_urls - Извлекает все URL из текста
extract_phone_numbers - Извлекает номера телефонов из текста
mask_sensitive_data - Маскирует адреса электронной почты, номера телефонов и номера кредитных карт
truncate - Обрезает текст с многоточием на границах слов
wrap_text - Переносит текст по заданной ширине столбца
diff_strings
Сравнение двух строк и отображение различий:
character режим - Посимвольное сравнение
word режим - Пословное сравнение (по умолчанию)
line режим - Построчное сравнение
Показывает добавления, удаления и неизменённые сегменты с позициями
render_template
Простой шаблонизатор:
Заменяет
{{variables}}значениями из JSON-объекта данныхУсловные выражения:
{{#if var}}...{{#else}}...{{/if}}Циклы:
{{#each arr}}...{{this}}...{{@index}}...{{/each}}Доступ к вложенным свойствам:
{{user.name}}
generate_slug
Генерация URL-совместимых слагов:
Транслитерирует символы с диакритикой (например,
cafeизcafe)Удаляет специальные символы
Настраиваемый разделитель (по умолчанию:
-)Необязательная максимальная длина с аккуратным обрезанием
Необязательный переключатель нижнего регистра
Related MCP server: string-utils-ai-mcp
Установка
npm install
npm run buildИспользование с Claude Desktop
Добавьте в ваш claude_desktop_config.json:
{
"mcpServers": {
"string-tools": {
"command": "node",
"args": ["D:/products/mcp-servers/mcp-string-tools/dist/index.js"]
}
}
}Лицензия
MIT
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Related MCP Connectors
Exact text tools for AI agents: unified diff, patch apply, regex testing, grapheme counting.
500+ deterministic tools for AI agents: math, conversion, validation, hashing, encoding, date/time.
Text and Unicode utilities for agents: homoglyphs, scripts, slugify, entropy, dates. Paid via x402.
Everyday dev utilities for agents: base64, hashing, JSON, JWT, UUIDs, slugs, URL encoding
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceProvides a suite of regex and text processing tools for AI agents, including pattern testing, extraction, and replacement with capture group support. It also enables various text transformations like case conversion, line sorting, and deduplication through the Model Context Protocol.42 npmMIT
- AlicenseNot gradedqualityCmaintenanceProvides string utility operations via the MCP protocol, with built-in EU AI Act compliance.7 npm29 PyPIMIT
- AlicenseNot gradedqualityDmaintenanceProvides a set of micro-tools (time calculation, regex, encoding, JSON diff, etc.) for LLM agents to handle deterministic, precision tasks that models often get wrong.MIT

Agent Toolsofficial
AlicenseNot gradedqualityDmaintenanceProvides deterministic tools for transforming, formatting, and inspecting structured data for AI agents.19Apache 2.0