grapheme-cluster count, text discarded vs Grapheme length, text discarded
grapheme-cluster count, text discarded is an MCP server for developer tools. Grapheme length, text discarded is an open-source MCP server for developer tools.
- grapheme-cluster count, text discarded is best for checking the visible character length of a string before enforcing a display limit.
- Grapheme length, text discarded is best for validating field lengths for emoji-containing user input.
- What it is
- grapheme-cluster count, text discarded is an MCP server for developer tools.Grapheme length, text discarded is an open-source MCP server for developer tools.
- Best for
- Checking the visible character length of a string before enforcing a display limitValidating field lengths for emoji-containing user input
- Kind
- MCP serverMCP server
- Pricing
- Open source
- Platforms
- APIAPI
- Runs
- RemotelyRemotely
- Open source
- Good for
- Checking the visible character length of a string before enforcing a display limit; Letting an agent count emoji and combined characters accurately; Validating text length in an automated workflow without storing the textValidating field lengths for emoji-containing user input; Counting visible characters in multilingual text for display limits; Giving an AI agent an accurate length check before truncating strings
What grapheme-cluster count, text discarded does
Grapheme cluster counting
Returns a count of grapheme clusters for supplied text, which can differ from byte or code-point length.
Input discarded
The description states the text is discarded after the count is produced.
Remote streamable-http
Runs as a hosted endpoint using the streamable-http transport, so nothing needs to be installed.
Single-purpose design
Does one narrow job, which keeps it simple for an agent to call.
What Grapheme length, text discarded does
Grapheme cluster counting
Returns the number of user-perceived characters in a supplied string rather than raw code units.
Text discarded after use
The README states the submitted text is not kept once the count is returned.
Streamable HTTP transport
Reachable as a remote MCP server over the streamable-http transport with no local install.
grapheme-cluster count, text discarded vs Grapheme length, text discarded: questions
What is the difference between grapheme-cluster count, text discarded and Grapheme length, text discarded?
grapheme-cluster count, text discarded is an MCP server for developer tools. Grapheme length, text discarded is an open-source MCP server for developer tools.