JSON byte count, body discarded
Remote MCP utility that reports the byte count of a JSON payload and discards the body
- Platforms
- API
- Runs
- Remotely
- Version
- 1.0.0
- Listing updated
- today
Similar MCP servers
About JSON byte count, body discarded
JSON byte count, body discarded is an MCP server for developer tools. It runs as a hosted remote server, so there is nothing to install locally.
This server is one entry in a collection of small, single-purpose utilities published under the sadri-dridi registry namespace. Its one job is to measure the size of a JSON body in bytes. According to its registry description, the body itself is discarded after counting.
It is reachable only as a remote streamable-http endpoint hosted on a Cloudflare Workers domain, and no installable package is published. An MCP client connects to the URL and calls it directly.
The repository README groups it with many sibling utilities, such as identifier-shape checks and calendar-year checks. It also lists a separate set of Agent Ads doors, which route agents to an advertising service. The README does not document specific tool names or parameters for this server.
Install
Run in a terminal
claude mcp add --transport http json-bytes https://agent-observatory-sensor.nolimit-observatory.workers.dev/s/json-bytes/mcpAdd to Settings → Connectors → Add custom connector
https://agent-observatory-sensor.nolimit-observatory.workers.dev/s/json-bytes/mcpAdd to ~/.cursor/mcp.json
{
"mcpServers": {
"json-bytes": {
"url": "https://agent-observatory-sensor.nolimit-observatory.workers.dev/s/json-bytes/mcp"
}
}
}Add to .vscode/mcp.json
{
"servers": {
"json-bytes": {
"type": "http",
"url": "https://agent-observatory-sensor.nolimit-observatory.workers.dev/s/json-bytes/mcp"
}
}
}Add to ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"json-bytes": {
"serverUrl": "https://agent-observatory-sensor.nolimit-observatory.workers.dev/s/json-bytes/mcp"
}
}
}Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"json-bytes": {
"type": "http",
"url": "https://agent-observatory-sensor.nolimit-observatory.workers.dev/s/json-bytes/mcp"
}
}
}Using several servers? Build one config file with the MCP config generator.
What it does
- JSON byte counting
- Returns the size in bytes of a JSON body supplied by the client.
- Body discarded
- The registry description states the JSON body is not retained after the count.
- Remote streamable HTTP
- Runs as a hosted endpoint, so no local install is needed.
- Single-purpose design
- Each server in the collection has its own registry name and does one narrow job.
Good for
- Checking payload size before sending JSON to another API
- Letting an agent verify a response stays under a size limit
- Quickly measuring JSON size without storing the content
JSON byte count, body discarded FAQ
What does this server do?
It counts the bytes of a JSON body and discards the body, per its registry description.
How do I connect to it?
Use the streamable-http remote URL listed in the registry entry; no package is published.
Where does it come from?
It is part of the named-mcp-utilities collection by sadri-dridi on GitHub.
How do I add JSON byte count, body discarded to Claude Code?
Run this command in your terminal: claude mcp add --transport http json-bytes https://agent-observatory-sensor.nolimit-observatory.workers.dev/s/json-bytes/mcp
What are the best alternatives to JSON byte count, body discarded?
The closest alternatives to JSON byte count, body discarded are JSON-LD @type count, body discarded, JSON minify shape, body discarded, NDJSON line count, bodies discarded, Less variable count, body discarded and JSON type-tag count, values 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.