Skip to main content
Glama
rog0x

@rog0x/mcp-string-tools

Official
by rog0x

@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: 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

A
license - permissive license
Not graded
quality - not tested
D
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    A
    quality
    C
    maintenance
    Provides 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.
    14
    16
    3
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    Provides 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.
    38
    MIT
  • A
    license
    Not graded
    quality
    A
    maintenance
    Provides string utility operations via the MCP protocol, with built-in EU AI Act compliance.
    8
    MIT
  • A
    license
    Not graded
    quality
    C
    maintenance
    Provides 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

View all related MCP servers

Related MCP Connectors

  • 500+ deterministic tools for AI agents: math, conversion, validation, hashing, encoding, date/time.

  • JSON/YAML, regex, diff, JWT, SQL dialects — the keyless millisecond ops an agent needs mid-task.

  • SEO research, audits, backlinks, GSC, and content workflow tools for AI agents.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/rog0x/mcp-string-tools'

If you have feedback or need assistance with the MCP directory API, please join our Discord server