MCP Character Count
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., "@MCP Character Countcount characters in 'Hello World' excluding whitespace"
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.
mcp-charcount
Simple MCP server that provides a single tool to count characters or bytes in text.
Quick start
Run with stdio (no PATH to python needed):
uv run src/mcp_charcount/server.py
Develop with MCP Inspector:
uv run mcp dev src/mcp_charcount/server.py
Related MCP server: Text Analyzer
Tool: count_chars
Args:
text: str,mode: "chars"|"bytes" = "chars",include_whitespace: bool = trueReturns:
{ "count": int, "mode": str, "include_whitespace": bool }
Tests
pytest -q(src layout is configured; install not required)With uv:
uv run pytest -q
Manifest
mcp.jsonis configured for this repo layout:command:uvargs:["run", "src/mcp_charcount/server.py"]This matches the current server which runsmcp.run(transport='stdio')when executed as a script.
Settings Example
codex
~/.codex/config.toml
[mcp_servers.mcp-charcount]
command = "uv"
args = ["--directory", "/ABSOLUTE/PATH/TO/PARENT/FOLDER/mcp-charcount", "run", "src/mcp_charcount/server.py"]Amazon Q Developer
~/.aws/amazonq/mcp.json
{
"mcpServers": {
"local.mcp-charcount": {
"command": "/opt/homebrew/bin/uv",
"args": [
"--directory",
"/ABSOLUTE/PATH/TO/PARENT/FOLDER/mcp-charcount",
"run",
"src/mcp_charcount/server.py"
]
}
}
}License: MIT
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Tools
Related MCP Servers
- FlicenseBqualityDmaintenanceA lightweight server that provides detailed text analysis, counting total characters, characters without spaces, letters, numbers, and symbols for AI assistants like Claude Desktop and GitHub Copilot.Last updated14
- Flicense-qualityDmaintenanceProvides comprehensive text analysis capabilities including character counting, word statistics, character type analysis, and text length validation for Korean and English text. Supports AI agents in analyzing and validating text content with detailed statistics and Unicode support.Last updated
- FlicenseAqualityDmaintenanceProvides tools for accurate Twitter/X post character counting, validation, and optimization using official counting methods. It enables users to extract entities like URLs and hashtags to ensure content fits within platform constraints.Last updated41
- Alicense-qualityDmaintenanceProvides tools for AI models to count characters and words in text, supporting English and other space-delimited languages.Last updated1MIT
Related MCP Connectors
Count occurrences of any character in your text instantly. Specify the character and get precise c…
500+ deterministic tools for AI agents: math, conversion, validation, hashing, encoding, date/time.
Encoding MCP — Base64 / Base64URL / Base32 / Hex.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- 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/TORIFUKUKaiou/mcp-charcount'
If you have feedback or need assistance with the MCP directory API, please join our Discord server