Basic information
About text-count-mcp-server
A Model Context Protocol server for text counting
text-count-mcp-server is a MCP server in the Other category listed in the AddMCP.net directory, published by yuiseki. It exposes 2 tools, including count_characters, count_words. Supported transport: stdio. Runtime: node. License: MIT. The repository has 1 GitHub stars. Source code is hosted on github.com.
Setup
{
"mcpServers": {
"text-count-mcp-server": {
"command": "node",
"args": [
"build/index.js"
]
}
}
}
{
"mcpServers": {
"text-count-mcp-server": {
"command": "node",
"args": [
"build/index.js"
]
}
}
}
{
"servers": {
"text-count-mcp-server": {
"command": "node",
"args": [
"build/index.js"
]
}
}
}
text-count-mcp-server config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"text-count-mcp-server": {
"command": "node",
"args": [
"build/index.js"
]
}
}
}
text-count-mcp-server tools
- count_characters — tool: counts characters in a text string
- count_words — tool: counts words in a text string
Overview
What is text-count-mcp-server?
text-count-mcp-server is a Model Context Protocol (MCP) server that provides tools for counting characters and words in text. It is designed to help AI models accurately count text elements, relying on the server’s logic rather than the model’s own counting abilities.
How to use text-count-mcp-server?
Install the package with npm install, then run it as a standalone server using node build/index.js. It can be used with any client that supports the Model Context Protocol.
Key features of text-count-mcp-server
count_characterstool: counts characters in a text stringcount_wordstool: counts words in a text string- Word counting currently supports English and other space-delimited languages
- Implements the Model Context Protocol for integration with AI models
Use cases of text-count-mcp-server
- AI models counting characters in user-provided text
- AI models counting words in documents or messages
- Providing accurate text element counts to assist AI in analysis tasks
Frequently asked questions
1 What languages does text-count-mcp-server support for word counting?
The word counting tool currently supports English and other languages that use spaces to delimit words. Japanese language word counting is not yet supported.
2 How do I install and run text-count-mcp-server?
Run npm install to install dependencies, then node build/index.js to start the server. It can also be integrated with any MCP-compatible client.
3 What are the limitations of text-count-mcp-server?
Japanese word counting is not supported. For other languages, space-based word splitting may not be accurate.
4 What MCP tools does text-count-mcp-server provide?
It provides two tools: count_characters and count_words. Each accepts a text string and returns a text result with the count.
5 Can I use text-count-mcp-server with any MCP client?
Yes, the server can be used with any client that supports the Model Context Protocol.
Comments
No comments yet
Be the first to share feedback about this listing. Sign in to leave a comment.
Sign In