Skip to content
MCP server

Grapheme length, text discarded

Remote MCP server that counts grapheme clusters in a string without retaining the text

Install
Pricing
Open source
Platforms
API
Runs
Remotely
Version
1.0.0
Listing updated
today

Similar MCP servers

About Grapheme length, text discarded

Grapheme length, text discarded is an open-source MCP server for developer tools. It runs as a hosted remote server, so there is nothing to install locally.

The server exposes a single streamable HTTP endpoint that returns how many user-perceived characters (grapheme clusters) a submitted string contains. The README describes the input text as discarded after the count is computed, so the service is pitched as a way to measure text length without storing it.

The README lists it as one entry in a collection of small, independently registered MCP utilities that each answer one narrow question. Its registry name is io.github.sadri-dridi/grapheme-len, and the repository holds the wider set of sibling servers.

It suits developers and agent builders who need accurate character counts for emoji, combining marks or other multi-codepoint text, where naive string length gives wrong answers.

Install

Run in a terminal

claude mcp add --transport http grapheme-len https://agent-observatory-sensor.nolimit-observatory.workers.dev/s/grapheme-len/mcp

Add to Settings → Connectors → Add custom connector

https://agent-observatory-sensor.nolimit-observatory.workers.dev/s/grapheme-len/mcp
Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "grapheme-len": {
      "url": "https://agent-observatory-sensor.nolimit-observatory.workers.dev/s/grapheme-len/mcp"
    }
  }
}
Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to .vscode/mcp.json

{
  "servers": {
    "grapheme-len": {
      "type": "http",
      "url": "https://agent-observatory-sensor.nolimit-observatory.workers.dev/s/grapheme-len/mcp"
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "grapheme-len": {
      "serverUrl": "https://agent-observatory-sensor.nolimit-observatory.workers.dev/s/grapheme-len/mcp"
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "grapheme-len": {
      "type": "http",
      "url": "https://agent-observatory-sensor.nolimit-observatory.workers.dev/s/grapheme-len/mcp"
    }
  }
}

Using several servers? Build one config file with the MCP config generator.

What it 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.

Good for

  • Validating 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

Pricing

Open source

Repository is published openly; no paid plan is mentioned.

Grapheme length, text discarded FAQ

Does the server store the text I send it?

The README says the text is discarded and the server returns only the grapheme count.

How is the server installed?

It is not packaged for local installation; the registry entry lists a remote streamable-http endpoint only.

Is Grapheme length, text discarded free?

Yes. Grapheme length, text discarded is open source, so you can use and self-host it for free.

How do I add Grapheme length, text discarded to Claude Code?

Run this command in your terminal: claude mcp add --transport http grapheme-len https://agent-observatory-sensor.nolimit-observatory.workers.dev/s/grapheme-len/mcp

What are the best alternatives to Grapheme length, text discarded?

The closest alternatives to Grapheme length, text discarded are grapheme-cluster count, text discarded, grapheme-cluster run, text discarded, UTF-8 byte length, text discarded, Line count, text discarded and digit run count, text discarded.

Where this comes from

  • Description: written from the project's README and its MCP Registry entry.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers