Skip to content
MCP server

UTF-16 unit count, text discarded

Counts UTF-16 code units in a string without retaining the text, for AI clients

Install
Platforms
API
Runs
Remotely
Version
1.0.0
Listing updated
today

Similar MCP servers

About UTF-16 unit count, text discarded

UTF-16 unit count, text discarded is an MCP server for developer tools. It runs as a hosted remote server, so there is nothing to install locally.

The README describes this as one of a set of small single-purpose MCP servers, each published under its own registry name. This one returns the number of UTF-16 code units for text a client sends, and the registry entry says the submitted text is discarded rather than stored.

The server is reached over streamable HTTP at a hosted Cloudflare Workers endpoint listed in the registry remotes; no local package is published. Because the count is a deterministic calculation, it suits agents that need to check string lengths against APIs or limits that measure in UTF-16 units, such as JavaScript-based systems.

The README does not list pricing, authentication requirements or additional tools for this specific server.

Install

Run in a terminal

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

Add to Settings → Connectors → Add custom connector

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

Add to ~/.cursor/mcp.json

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

Add to .vscode/mcp.json

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

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

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

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

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

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

What it does

UTF-16 unit counting
Returns the count of UTF-16 code units for submitted text.
Text discarded after use
The registry entry states the input text is not retained.
Streamable HTTP transport
Served over streamable HTTP at a hosted remote endpoint.

Good for

  • Checking string length against UTF-16 based API limits
  • Validating text length for JavaScript or Java-based systems before sending
  • Letting an autonomous agent measure code units without storing the input

UTF-16 unit count, text discarded FAQ

Is the submitted text stored?

The registry entry describes the server as discarding the text, and the README repeats that the text is discarded.

How is the server connected?

The registry lists one remote endpoint using the streamable-http transport; no packages are listed for local installation.

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

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

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

The closest alternatives to UTF-16 unit count, text discarded are UTF-16 code-unit count, text discarded, UTF-8 byte length, text discarded, UTF-16 code-unit run, 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.

How AIPoweredBot checks servers