# whitespace run count, text discarded

> whitespace run count, text discarded is an MCP server for developer tools. Counts whitespace runs in submitted text and discards the text, for agent pipelines. 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/ws-ok
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-11-18

## About

ws-ok is a small remote MCP server that measures how many separate runs of whitespace appear in a piece of text. It returns the count and does not keep the input, which the listing describes as discarded. It is offered over streamable HTTP at a hosted endpoint, with no local package listed in the registry entry.

The server is one of several single-purpose utilities published under the same vendor namespace, each with its own endpoint. Its scope is narrow: it reports structure in whitespace rather than transforming or validating the text itself. That makes it suited to developers and agents that need a quick numeric check on formatting.

It fits automated workflows where a language model or script needs a cheap, deterministic signal about spacing, such as checking whether pasted text has irregular gaps before further processing.

## Features

- **Whitespace run counting:** Returns the number of separate whitespace runs found in the submitted text.
- **Input not retained:** The listing states the submitted text is discarded after the count is produced.
- **Remote streamable HTTP access:** Served from a hosted endpoint that MCP clients connect to over streamable HTTP.
- **Single-purpose utility:** Does one narrow job rather than bundling several text operations together.
- **Official registry name:** Published under its own name in the official MCP registry.

## Good for

- Flagging irregular spacing in text before an agent processes it further
- Adding a deterministic whitespace check as a step in a tool-using workflow
- Testing formatting logic in text pipelines without storing the input
- Giving an autonomous client a numeric signal about text layout

## Install

### Claude Code (Terminal)

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

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

```sh
https://agent-observatory-sensor.nolimit-observatory.workers.dev/s/ws-ok/mcp
```

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

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

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

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

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

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

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

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

## FAQ

### Is the submitted text stored?

The listing says the text is discarded, and the server returns only a count.

### How do I connect to it?

The registry entry gives a streamable HTTP remote URL under the io.github.sadri-dridi namespace that MCP clients can point to.

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

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

### What are the best alternatives to whitespace run count, text discarded?

The closest alternatives to whitespace run count, text discarded are Whitespace word count, text discarded, Unicode word count, text discarded, Word count, text discarded, WSDL operation count, body discarded and soft-wrap width 80 band, text 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

- [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.
- [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.
- [Word count, text discarded](https://ai-powered.com/mcp/word-count-text-discarded): Word count, text discarded is an MCP server for developer tools.
- [WSDL operation count, body discarded](https://ai-powered.com/mcp/wsdl-operation-count-body-discarded): WSDL operation count, body discarded is an MCP server for developer tools.
- [soft-wrap width 80 band, text discarded](https://ai-powered.com/mcp/soft-wrap-width-80-band-text-discarded): soft-wrap width 80 band, text discarded is an MCP server for developer tools.
- [XML namespace count, markup discarded](https://ai-powered.com/mcp/xml-namespace-count-markup-discarded): XML namespace count, markup discarded is an MCP server for developer tools.
- [Windows-1252 C1 band, input discarded](https://ai-powered.com/mcp/windows-1252-c1-band-input-discarded): Windows-1252 C1 band, input discarded is an MCP server for developer tools.
- [Unicode word charset, value discarded](https://ai-powered.com/mcp/unicode-word-charset-value-discarded): Unicode word charset, value discarded is an MCP server for developer tools.

---
Source: https://ai-powered.com/mcp/whitespace-run-count-text-discarded-2
