Skip to content
MCP server

UTF-8 byte length, text discarded

MCP server that returns the UTF-8 byte length of text without storing the text

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

Similar MCP servers

About UTF-8 byte length, text discarded

UTF-8 byte 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 README describes this as one of a set of small, independently listed MCP servers in a shared repository, each published under its own registry name. This one measures how many bytes a string occupies when encoded as UTF-8, and the README says the submitted text is discarded rather than retained.

The server is exposed over streamable HTTP through a remote endpoint hosted on a Cloudflare Workers domain, and the registry entry lists no packages to install locally. Clients connect to that URL as a remote MCP server.

It suits developers and autonomous agents that need a quick byte-count check for payload limits, storage sizing or validation of encoded strings, without running their own code for it.

Install

Run in a terminal

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

Add to Settings → Connectors → Add custom connector

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

Add to ~/.cursor/mcp.json

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

Add to .vscode/mcp.json

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

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

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

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

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

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

What it does

UTF-8 byte counting
Returns the length in bytes of a string once it is encoded as UTF-8.
Text discarded after use
The README states the submitted text is discarded, so the input is not kept.
Streamable HTTP transport
Connects to MCP clients through a remote streamable HTTP endpoint.
No local install
The registry entry lists no packages, so clients use the hosted endpoint directly.

Good for

  • Check whether a string fits within a byte-limited database column or API field
  • Compare character count against encoded byte size for multilingual text
  • Let an agent verify payload sizes before sending a request

Pricing

Open source

Source repository with no stated paid plan.

UTF-8 byte length, text discarded FAQ

Does the server keep the text I send it?

The README says the text is discarded, and the server only reports the byte length.

How is it connected?

It runs as a remote MCP server over streamable HTTP at a hosted endpoint listed in the registry entry.

Is UTF-8 byte length, text discarded free?

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

How do I add UTF-8 byte length, text discarded to Claude Code?

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

What are the best alternatives to UTF-8 byte length, text discarded?

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