The MCP Character Counter server provides detailed character analysis for text:
- Count total characters
- Count characters excluding spaces
- Count letters (a-z, A-Z)
- Count numbers (0-9)
- Count symbols (non-alphanumeric characters)
- Get detailed breakdown of character types
Enables GitHub Copilot to analyze text composition with character counting functionality through Copilot Chat commands
MCP Character Counter
A lightweight Model Context Protocol (MCP) server that provides detailed character analysis for text. This tool counts total characters, characters without spaces, letters, numbers, and symbols.
Features
- Count total characters in text
- Count characters excluding spaces
- Count letters (az, AZ)
- Count numbers (0-9)
- Count symbols (non-alphanumeric characters)
- Detailed breakdown of character types
Installation
Prerequisites
- Node.js v17 or higher
- Claude Desktop or GitHub Copilot or Other MCP supported clients
Setup
- Clone the repository:
- Install dependencies:
Usage with Claude Desktop
- Open your Claude Desktop configuration:macOS :Windows :
- Add the character counter to your MCP servers:Replace
/ABSOLUTE/PATH/TO/
with the current path on your system. - Restart Claude Desktop to load the new MCP server.
- Look for the hammer icon in the input box, which indicates available MCP tools.
- Ask Claude to analyze text character counts, for example:
- "Count the characters in this paragraph"
- "How many numbers are in this text: '123 Main St, Apt 45B'?"
- "Analyze the character composition of my email address"
Usage with GitHub Copilot
To use this MCP server with GitHub Copilot:
- Make sure you have GitHub Copilot installed in your VS Code or other compatible IDE.
- Open VS Code settings and search for "Copilot MCP".
- Add a new MCP server configuration:
- Restart VS Code.
- You can now use the character counter with Copilot Chat commands like:
/mcp count-characters-in-text This is the text I want to analyze
Development
To modify or extend this MCP server:
- Make your changes to
character-counter.js
- Restart the server in your MCP client
How It Works
This MCP server implements a single tool called count-characters-in-text
that accepts text input and returns a detailed analysis of character composition. The server uses the Model Context Protocol to expose this functionality to compatible AI assistants.
License
MIT
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
MCP Character Counter
A lightweight Model Context Protocol (MCP) server that provides detailed character analysis of text. This tool counts total characters, non-space characters, letters, numbers, and symbols.
Characteristics
- Counts the total number of characters in a text
- Count characters excluding spaces
- Letter counter (az, AZ)
- Count numbers (0-9)
- Count symbols (non-alphanumeric characters)
- Detailed breakdown of character types
Facility
Prerequisites
- Node.js v17 or higher
- Claude Desktop or GitHub Copilot or other MCP-compatible clients
Configuration
- Clone the repository:
- Install the dependencies:
Use with Claude Desktop
- Open Claude Desktop settings:macOS :Windows :
- Add the character counter to your MCP servers:Replace
/RUTA/ABSOLUTA/A/
with the current path on your system. - Restart Claude Desktop to load the new MCP server.
- Look for the hammer icon in the input box, which indicates the available MCP tools.
- Ask Claude to analyze the character count in a text, for example:
- "Count the characters in this paragraph"
- "How many numbers are in this text: '123 Calle Principal, Apto 45B'?"
- "Analyze the character set of my email address"
Use with GitHub Copilot
To use this MCP server with GitHub Copilot:
- Make sure you have GitHub Copilot installed in VS Code or another supported IDE.
- Open VS Code settings and search for "Copilot MCP".
- Add a new MCP server configuration:
- Restart VS Code.
- You can now use the character counter with Copilot Chat commands like:
/mcp count-characters-in-text Este es el texto que quiero analizar
Development
To modify or extend this MCP server:
- Make your changes to
character-counter.js
- Restart the server on your MCP client
How it works
This MCP server implements a single tool called count-characters-in-text
that accepts text as input and returns a detailed analysis of the character composition. The server uses the Model Context Protocol to expose this functionality to compatible AI assistants.
License
MIT
Contribute
Contributions are welcome! Please feel free to submit a Pull Request.
Colophon
Created with 🧡 for the Malandriner Community of webreactiva.com
local-only server
The server can only run on the client's local machine because it depends on local resources.
A 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.
Related MCP Servers
- AsecurityAlicenseAqualityA Model Context Protocol server that provides tools for analyzing text documents, including counting words and characters. This server helps LLMs perform text analysis tasks by exposing simple document statistics functionality.Last updated -166910JavaScriptApache 2.0
- AsecurityFlicenseAqualityThe server facilitates natural language interactions for exploring and understanding codebases, providing insights into data models and system architecture using a cost-effective, simple setup with support for existing Claude Pro subscriptions.Last updated -418Python
- -securityFlicense-qualityA local server that provides powerful code analysis and search capabilities for software projects, helping AI assistants and development tools understand codebases for tasks like code generation and refactoring.Last updated -2Python
- AsecurityAlicenseAqualityA multi-language code analysis server that helps LLMs or humans automatically lint, type-check, and improve code with minimal installation friction, currently supporting Python with plans for other languages.Last updated -13PythonMIT License