Skip to main content
Glama

MCP Word Counter

by qpd-v

MCP ワードカウンター

単語数や文字数のカウントなど、テキスト文書を分析するためのツールを提供するモデルコンテキストプロトコル(CMP)サーバー。このサーバーは、シンプルな文書統計機能を提供することで、LLMによるテキスト分析タスクの実行を支援します。

特徴

  • 文書内の単語数を数える
  • 合計文字数を数える(スペースを含む)
  • スペースを除いた文字数を数える
  • LLM にコンテンツを公開せずにファイルを直接処理する

インストール

npm install mcp-wordcounter

使用法

CLIツールとして

npx mcp-wordcounter

クロードデスクトップ

Claude Desktop 構成 ( claude_desktop_config.json ) に追加します。

{ "mcpServers": { "mcp-wordcounter": { "command": "npx", "args": ["-y", "mcp-wordcounter"], "alwaysAllow": ["analyze_text"] } } }

利用可能なツール

テキスト分析

テキスト ドキュメント内の単語と文字数をカウントします。

パラメータ:

  • filePath (文字列、必須): 分析するテキストファイルへのパス

戻り値:

  • 単語数
  • 文字数(スペースを含む)
  • 文字数(スペースを除く)

応答例:

{ "content": [{ "type": "text", "text": "Analysis Results:\n• Word count: 150\n• Character count (including spaces): 842\n• Character count (excluding spaces): 702" }] }

発達

# Install dependencies npm install # Build the project npm run build # Run in watch mode during development npm run watch # Test with MCP Inspector npm run inspector

ライセンス

MIT ライセンス - 詳細については LICENSE ファイルを参照してください。

貢献

貢献を歓迎します!お気軽にプルリクエストを送信してください。

Install Server
A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

local-only server

The server can only run on the client's local machine because it depends on local resources.

単語数や文字数のカウントなど、テキスト文書を分析するためのツールを提供するモデルコンテキストプロトコル(CMP)サーバー。このサーバーは、シンプルな文書統計機能を提供することで、LLMによるテキスト分析タスクの実行を支援します。

  1. 特徴
    1. インストール
      1. 使用法
        1. CLIツールとして
        2. クロードデスクトップ
        3. 利用可能なツール
      2. 発達
        1. ライセンス
          1. 貢献

            Related MCP Servers

            • -
              security
              F
              license
              -
              quality
              A Model Context Protocol server that enables LLMs to extract and use content from unstructured documents across a wide variety of file formats.
              Last updated -
              2
              Python
              • Apple
            • -
              security
              F
              license
              -
              quality
              A Model Context Protocol server that enables LLMs to fetch and process web content in multiple formats (HTML, JSON, Markdown, text) with automatic format detection.
              Last updated -
              TypeScript
              • Apple
            • -
              security
              A
              license
              -
              quality
              A Model Context Protocol server that enables LLMs to interact with databases (currently MongoDB) through natural language, supporting operations like querying, inserting, deleting documents, and running aggregation pipelines.
              Last updated -
              TypeScript
              MIT License
              • Apple
            • A
              security
              A
              license
              A
              quality
              A Model Context Protocol server that fetches up-to-date, version-specific documentation and code examples from libraries directly into LLM prompts, helping developers get accurate answers without outdated or hallucinated information.
              Last updated -
              2
              115,656
              13,394
              JavaScript
              MIT License
              • Linux
              • Apple

            View all related MCP servers

            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/qpd-v/mcp-wordcounter'

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