Text Counter MCP Server
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Text Counter MCP Server count characters and words in 'The quick brown fox jumps over the lazy dog'"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Text Counter MCP Server
An MCP (Model Context Protocol) server that calculates basic text metrics for input text.
Features
get_text_count(text: str): Returns basic metrics for the provided textcharacters: total character countcharacters_without_space: character count excluding whitespacewords: word count
Example:
{
"characters": 12,
"characters_without_space": 11,
"words": 2
}Related MCP server: MCP Character Counter
Requirements
Python 3.10+
uv installed
All Python dependencies are defined in pyproject.toml and will be resolved by uv.
Run locally
From this directory:
uv run python main.pyOr from anywhere using an explicit directory:
uv run --directory /home/gws8820/devochat/mcp-proxy/servers/text-counter python main.pyUse with an MCP client
Add the following in your MCP client configuration (example servers.json):
{
"mcpServers": {
"text-counter": {
"command": "uvx",
"args": ["text-counter"]
}
}
}Once connected, call the tool get_text_count with a text string argument.
License
Distributed under the MIT License.
Available Tools
1 toolget_text_countGet Text CountA
Calculate basic text metrics for the input text.
characters: total character count
characters_without_space: character count excluding whitespace
words: word count
Inputs: text (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 1 tool
The single tool has a clear, focused purpose: computing basic text metrics. There are no other tools to confuse it with, so disambiguation is inherently high, though the tool name 'get_text_count' is slightly misleading as it returns multiple metrics beyond just a count.
With only one tool, there is no opportunity for naming inconsistency. The name 'get_text_count' follows a clear verb_noun pattern (get_text_count), which is predictable and descriptive.
The server offers only a single tool, which is very thin for a text analysis domain. While it covers basic metrics, it feels under-scoped; typical text analysis servers include multiple tools for different purposes, making this borderline too few.
The tool covers only basic counts (characters, words) but omits common text metrics like sentences, paragraphs, reading time, and frequency analysis. The surface is severely incomplete for a text analysis server, with no CRUD or lifecycle operations available.
Maintenance
Related MCP Connectors
Count characters, words and paragraphs, and estimate reading time.
Count occurrences of any character in your text instantly. Specify the character and get precise c…
English readability scores (Flesch, Flesch-Kincaid, Fog, SMOG) and text stats. Text never stored.
Related MCP Servers
- AlicenseAqualityDmaintenanceEnables counting characters or bytes in text with options to include or exclude whitespace. Provides a simple tool for text analysis and length measurement.1MIT
- FlicenseNot gradedqualityNot gradedmaintenanceProvides detailed character analysis for text, counting total characters, characters without spaces, letters, numbers, and symbols through a simple MCP tool interface.-
- AlicenseNot gradedqualityCmaintenanceProvides text analysis tools including word counting, reading time estimation, keyword density analysis, and sentiment scoring.9 npm23 PyPIMIT
- AlicenseNot gradedqualityDmaintenanceProvides tools for AI models to count characters and words in text, supporting English and other space-delimited languages.1MIT