# Character count, text discarded

> Character count, text discarded is an MCP server for developer tools. Remote MCP endpoint that reports a text's character count without keeping the text. 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/char-count
- **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 MCP endpoints published under the same GitHub account. Its registry description says it returns a character count and discards the text it receives.

It is reachable only as a remote streamable-http endpoint hosted on a Cloudflare Workers domain, with no installable package. Each folder in the parent repository corresponds to one registry name with its own intake endpoint.

The README does not list the tool names, input schema or output format, and it does not describe how the endpoint is used beyond the registry entry. The same repository also lists sibling endpoints for ID layouts, calendar checks and Agent Ads promotion, so the server fits agent clients that want a very narrow utility call.

## Features

- **Character counting:** Returns a character count for text supplied by the client.
- **Text discarded:** The registry description states that the submitted text is discarded after counting.
- **Remote streamable-http:** Runs as a hosted endpoint, so there is nothing to install locally.
- **Official registry name:** Published under the registry name io.github.sadri-dridi/char-count.

## Good for

- Letting an agent check the length of a string through a tool call
- Testing MCP client connections against a minimal remote server
- Validating text length limits in an automated agent workflow

## Install

### Claude Code (Terminal)

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

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

```sh
https://agent-observatory-sensor.nolimit-observatory.workers.dev/s/char-count/mcp
```

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

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

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

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

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

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

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

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

## FAQ

### Does the server keep the text I send?

The registry description says the text is discarded; only the character count is the intended result.

### How do I connect to it?

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

### Is it part of a larger project?

Yes, it is one of several named MCP utilities in the sadri-dridi/named-mcp-utilities repository.

### How do I add Character count, text discarded to Claude Code?

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

## Where this comes from

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

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