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 Servercount 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.
This server cannot be deployed
Maintenance
Related MCP Connectors
Count occurrences of any character in your text instantly. Specify the character and get precise c…
Character count, text discarded
Text statistics & readability MCP.
Exact character/word counting, reversal, palindrome checks, indexing, sorting; Unicode-safe.
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 gradedqualityBmaintenanceProvides text analysis tools including word counting, reading time estimation, keyword density analysis, and sentiment scoring.6MIT
- AlicenseNot gradedqualityDmaintenanceProvides tools for AI models to count characters and words in text, supporting English and other space-delimited languages.1MIT