# grapheme-cluster count, text discarded

> grapheme-cluster count, text discarded is an MCP server for developer tools. Remote MCP utility that reports a grapheme-cluster count for text and discards the input. It runs as a hosted remote server, so there is nothing to install locally.

- **Kind:** MCP server
- **Platforms:** API
- **Repository:** https://github.com/sadri-dridi/named-mcp-utilities
- **MCP Registry name:** io.github.sadri-dridi/grapheme-n
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-11-18

## About

This server is one entry in a collection of small, single-purpose utilities published under the sadri-dridi registry namespace. Its function is narrow: it returns the number of grapheme clusters, meaning user-perceived characters, and the text it receives is discarded rather than kept.

It is reached as a remote streamable-http endpoint hosted on a Cloudflare Workers domain, with no installable package. An MCP client connects to the URL and calls it directly.

The repository README describes the collection as independently listed public MCP servers aimed at autonomous clients, each with its own registry name. It also lists related servers for ID formats, calendar checks and agent advertising, which are separate from this one.

## Features

- **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.

## 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 text

## Install

### Claude Code (Terminal)

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

### Claude Desktop (Settings → Connectors → Add custom connector)

```sh
https://agent-observatory-sensor.nolimit-observatory.workers.dev/s/grapheme-n/mcp
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "grapheme-n": {
      "url": "https://agent-observatory-sensor.nolimit-observatory.workers.dev/s/grapheme-n/mcp"
    }
  }
}
```

### VS Code (.vscode/mcp.json)

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

### Windsurf (~/.codeium/windsurf/mcp_config.json)

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

### Other clients (your client's MCP settings (most use this shape))

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

## FAQ

### What does this server do?

It returns a grapheme-cluster count for text and discards the text.

### How do I connect to it?

Use the streamable-http remote URL listed in the registry entry; no package is provided.

### Who publishes it?

It is published under the io.github.sadri-dridi namespace, as part of the named-mcp-utilities repository.

### How do I add grapheme-cluster count, text discarded to Claude Code?

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

### What are the best alternatives to grapheme-cluster count, text discarded?

The closest alternatives to grapheme-cluster count, text discarded are Grapheme length, text discarded, grapheme-cluster run, text discarded, Unicode word count, text discarded, Line count, text discarded and Word 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.

## Alternatives

- [Grapheme length, text discarded](https://ai-powered.com/mcp/grapheme-length-text-discarded): Grapheme length, text discarded is an open-source MCP server for developer tools.
- [grapheme-cluster run, text discarded](https://ai-powered.com/mcp/grapheme-cluster-run-text-discarded): grapheme-cluster run, text discarded is an MCP server for developer tools.
- [Unicode word count, text discarded](https://ai-powered.com/mcp/unicode-word-count-text-discarded): Unicode word count, text discarded is an MCP server for developer tools.
- [Line count, text discarded](https://ai-powered.com/mcp/line-count-text-discarded): Line count, text discarded is an MCP server for developer tools.
- [Word count, text discarded](https://ai-powered.com/mcp/word-count-text-discarded): Word count, text discarded is an MCP server for developer tools.
- [digit run count, text discarded](https://ai-powered.com/mcp/digit-run-count-text-discarded): digit run count, text discarded is an MCP server for developer tools.
- [Sentence count, text discarded](https://ai-powered.com/mcp/sentence-count-text-discarded-2): Sentence count, text discarded is an open-source MCP server for developer tools.
- [punctuation count, text discarded](https://ai-powered.com/mcp/punctuation-count-text-discarded): punctuation count, text discarded is an MCP server for developer tools.

---
Source: https://ai-powered.com/mcp/grapheme-cluster-count-text-discarded
