@rog0x/mcp-string-tools
Official@rog0x/mcp-string-tools
AIエージェント向けの高度な文字列操作ツール。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
2つの文字列を比較して差分を確認します:
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 buildClaude 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