yuiseki
MCP Serveryuisekipublic

text count mcp server

A Model Context Protocol server for text counting

Repository Info

1
Stars
1
Forks
1
Watchers
6
Issues
JavaScript
Language
MIT License
License

About This Server

A Model Context Protocol server for text counting

Model Context Protocol (MCP) - This server can be integrated with AI applications to provide additional context and capabilities, enabling enhanced AI interactions and functionality.

Documentation

text-count-mcp-server

A Model Context Protocol (MCP) server that provides text counting tools for AI models.

Overview

This server implements the Model Context Protocol to provide tools for counting characters and words in text. These tools help AI models to accurately count text elements without relying on their own counting abilities.

Features

  • count_characters: Count the number of characters in a text string
  • count_words: Count the number of words in a text string (currently supports English and other space-delimited languages)

Installation

npm install

Usage

As a standalone server

node build/index.js

With an MCP-compatible client

This server can be used with any client that supports the Model Context Protocol.

API

count_characters

Counts the number of characters in the provided text.

Input:

{
  "text": "The text to count characters in."
}

Output:

{
  "content": [
    {
      "type": "text",
      "text": "The text contains 30 characters."
    }
  ]
}

count_words

Counts the number of words in the provided text.

Input:

{
  "text": "The text to count words in."
}

Output:

{
  "content": [
    {
      "type": "text",
      "text": "The text contains 6 words."
    }
  ]
}

Limitations

  • Japanese language word counting is not yet supported.
  • Other languages use space-based word splitting, which may not be accurate for all languages.

License

See the LICENSE file for license rights and limitations.

Quick Start

1

Clone the repository

git clone https://github.com/yuiseki/text-count-mcp-server
2

Install dependencies

cd text-count-mcp-server
npm install
3

Follow the documentation

Check the repository's README.md file for specific installation and usage instructions.

Repository Details

Owneryuiseki
Repotext-count-mcp-server
LanguageJavaScript
LicenseMIT License
Last fetched8/10/2025

Recommended MCP Servers

💬

Discord MCP

Enable AI assistants to seamlessly interact with Discord servers, channels, and messages.

integrationsdiscordchat
🔗

Knit MCP

Connect AI agents to 200+ SaaS applications and automate workflows.

integrationsautomationsaas
🕷️

Apify MCP Server

Deploy and interact with Apify actors for web scraping and data extraction.

apifycrawlerdata
🌐

BrowserStack MCP

BrowserStack MCP Server for automated testing across multiple browsers.

testingqabrowsers

Zapier MCP

A Zapier server that provides automation capabilities for various apps.

zapierautomation