Text Counter MCP Server
Click on "Install 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 Count
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 installed
Maintenance
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/gws8820/text-counter'
If you have feedback or need assistance with the MCP directory API, please join our Discord server