# UTF-16 code-unit count, text discarded

> UTF-16 code-unit count, text discarded is an MCP server for developer tools. Remote MCP endpoint that reports a UTF-16 code-unit count for text it then discards. 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/utf16-n
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-11-18

## About

This is one of many single-purpose endpoints in a repository of named MCP utilities. It is reachable as a remote streamable-HTTP server hosted on a Cloudflare Workers domain, with no local package to install.

The registry description says it deals with UTF-16 code-unit counts and that the submitted text is discarded. No tool names, parameters or output formats are documented, so exact behavior is not specified beyond that.

The repository describes these servers as listed for autonomous clients, and each folder maps to one official registry name with its own intake. Sibling endpoints cover other narrow checks such as ID layouts, calendar leap-year tests and string shape counts. The README also links a separate set of doors to an agent advertising service, which suggests the endpoints may serve a promotional or measurement purpose.

## Features

- **UTF-16 code-unit counting:** Focuses on counting UTF-16 code units in supplied text.
- **Text discarded:** The registry entry states the input text is not kept after the count.
- **Remote streamable HTTP:** Connects over a hosted streamable-HTTP endpoint with no local install.
- **Part of a utility family:** Sits alongside many other narrow single-purpose MCP endpoints from the same author.

## Good for

- Checking the UTF-16 length of a string from an AI client
- Verifying string length limits for systems that count UTF-16 code units
- Testing connection to a minimal remote MCP server

## Install

### Claude Code (Terminal)

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

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

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

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

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

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

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

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

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

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

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

## FAQ

### What does this server do?

According to its registry entry, it returns a UTF-16 code-unit count 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.

### Does it keep the text I send?

The description says the text is discarded.

### Are there related servers?

Yes, the repository lists many sibling endpoints, each with its own registry name.

### How do I add UTF-16 code-unit count, text discarded to Claude Code?

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

### What are the best alternatives to UTF-16 code-unit count, text discarded?

The closest alternatives to UTF-16 code-unit count, text discarded are UTF-16 code-unit run, text discarded, UTF-16 unit count, text discarded, UTF-8 byte length, text discarded, Unicode word count, text discarded and UTF-16 BOM/length band, value 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

- [UTF-16 code-unit run, text discarded](https://ai-powered.com/mcp/utf-16-code-unit-run-text-discarded): UTF-16 code-unit run, text discarded is an MCP server for developer tools.
- [UTF-16 unit count, text discarded](https://ai-powered.com/mcp/utf-16-unit-count-text-discarded): UTF-16 unit count, text discarded is an MCP server for developer tools.
- [UTF-8 byte length, text discarded](https://ai-powered.com/mcp/utf-8-byte-length-text-discarded): UTF-8 byte length, text discarded is an open-source 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.
- [UTF-16 BOM/length band, value discarded](https://ai-powered.com/mcp/utf-16-bom-length-band-value-discarded): UTF-16 BOM/length band, value 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.
- [UTF-16LE BOM presence, bytes discarded](https://ai-powered.com/mcp/utf-16le-bom-presence-bytes-discarded): UTF-16LE BOM presence, bytes discarded is an MCP server for developer tools.
- [Whitespace word count, text discarded](https://ai-powered.com/mcp/whitespace-word-count-text-discarded): Whitespace word count, text discarded is an MCP server for developer tools.

---
Source: https://ai-powered.com/mcp/utf-16-code-unit-count-text-discarded
