@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: mcp-regex-tools
Установка
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
This server cannot be deployed
Maintenance
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.
Utility tools for AI agents: hashing, text stats, validation, DNS, currency, GEO audits.
JSON/YAML, regex, diff, JWT, SQL dialects — the keyless millisecond ops an agent needs mid-task.
Related MCP Servers
- AlicenseAqualityCmaintenanceProvides 14+ character-level text analysis tools that give LLMs the ability to accurately count letters, analyze individual characters, and work with text at the character level—overcoming tokenization limitations.149 npm3MIT
- 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.41 npmMIT
- AlicenseNot gradedqualityBmaintenanceProvides string utility operations via the MCP protocol, with built-in EU AI Act compliance.9 npmMIT
- 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