Charcount icon

Charcount

Counts characters or bytes in provided text with customizable whitespace inclusion.

About

mcp-charcount is a straightforward MCP server designed to provide a single, dedicated utility for text analysis. It offers a simple method to accurately count either the number of characters or bytes within any given text string, with an option to include or exclude whitespace from the calculation. This makes it a versatile tool for various text processing needs, such as validating input lengths, estimating data sizes, or general content analysis in a streamlined manner through the MCP protocol.

Key Features

  • Count bytes in a given text string
  • Count characters in a given text string
  • Option to include or exclude whitespace from counts
  • Simple integration as an MCP server
  • Supports running with `uv` for easy setup
  • 0 GitHub stars

Use Cases

  • Analyzing text length for character or byte limits in forms or messages
  • Measuring the byte size of strings for data transfer or storage estimations
  • Quickly counting characters or bytes during content creation or development workflows
Advertisement

Advertisement