Text Counter Server
FreeNot checkedProvides a tool to calculate basic text metrics including character count, characters without spaces, and word count.
About
Provides a tool to calculate basic text metrics including character count, characters without spaces, and word count.
README
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
}
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.py
Or from anywhere using an explicit directory:
uv run --directory /home/gws8820/devochat/mcp-proxy/servers/text-counter python main.py
Use 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.
Install Text Counter Server in Claude Desktop, Claude Code & Cursor
unyly install text-counter-mcp-serverInstalls into Claude Desktop, Claude Code, Cursor & VS Code — handles npx, uvx and build-from-source repos for you.
First time? Get the CLI: curl -fsSL https://unyly.org/install | sh
Or configure manually
Run in your terminal:
claude mcp add text-counter-mcp-server -- uvx text-counterFAQ
Is Text Counter Server MCP free?
Yes, Text Counter Server MCP is free — one-click install via Unyly at no cost.
Does Text Counter Server need an API key?
No, Text Counter Server runs without API keys or environment variables.
Is Text Counter Server hosted or self-hosted?
A hosted option is available: Unyly runs the server in the cloud, no local setup required.
How do I install Text Counter Server in Claude Desktop, Claude Code or Cursor?
Open Text Counter Server on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.
Related MCPs
GitHub
PRs, issues, code search, CI status
by GitHubFilesystem
Secure file operations with configurable access controls.
Memory
Knowledge graph-based persistent memory system.
Template MCP Server
A CLI tool to create a new Model Context Protocol server project with TypeScript support, dual transport options, and an extensible structure
by mcpdotdirectCompare Text Counter Server with
Not sure what to pick?
Find your stack in 60 seconds
Author?
Embed badge for your README
Browse similar
All development MCPs
