# CRLF pair count, text discarded

> CRLF pair count, text discarded is an MCP server for developer tools. MCP server that counts CRLF line-ending pairs in text and discards the text. 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/crlf-ok
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-11-18

## About

Send it a string and it returns how many CRLF (\r\n) pairs the string contains. The name and the README both say the text is discarded rather than kept. The count is the only output, which suits clients that need to check line endings without holding on to the input.

The server is one of many small single-purpose utilities in the same GitHub repository, each with its own registry name and streamable HTTP endpoint hosted on a workers.dev domain. Its registry entry lists a remote endpoint only and no installable package, so it runs as a hosted service rather than from source.

It suits developers and autonomous agents who want a narrow line-ending check exposed as an MCP tool and have no need for a broader text-processing toolkit.

## Features

- **CRLF pair counting:** Returns the number of carriage return and line feed pairs found in the submitted text.
- **Text discarded:** The README says the submitted text is discarded and only the count is returned.
- **Remote streamable HTTP endpoint:** Reachable over streamable HTTP at a hosted URL, with no local package to install.
- **Single-purpose utility:** Does one narrow job, so it can be wired into an agent without extra configuration.

## Good for

- Checking whether a text payload uses Windows-style CRLF line endings
- Letting an agent verify line-ending consistency before passing text to another tool
- Adding a narrow line-ending check to an MCP-based workflow

## Install

### Claude Code (Terminal)

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

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

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

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

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

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

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

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

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

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

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

## FAQ

### What does the server return?

The number of CRLF pairs in the submitted text.

### Is the submitted text stored?

The name and the README both say the text is discarded after the count is made.

### How is it connected?

The registry entry lists a remote streamable HTTP endpoint and no installable package.

### How do I add CRLF pair count, text discarded to Claude Code?

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

### What are the best alternatives to CRLF pair count, text discarded?

The closest alternatives to CRLF pair count, text discarded are CRLF run count, text discarded, Line count, text discarded, LF count, text discarded, newline count, text discarded and LF vs CRLF vs CR, 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

- [CRLF run count, text discarded](https://ai-powered.com/mcp/crlf-run-count-text-discarded): CRLF run count, text discarded is an MCP server for developer tools.
- [Line count, text discarded](https://ai-powered.com/mcp/line-count-text-discarded): Line count, text discarded is an MCP server for developer tools.
- [LF count, text discarded](https://ai-powered.com/mcp/lf-count-text-discarded): LF count, text discarded is an open-source MCP server for developer tools.
- [newline count, text discarded](https://ai-powered.com/mcp/newline-count-text-discarded): newline count, text discarded is an open-source MCP server for developer tools.
- [LF vs CRLF vs CR, text discarded](https://ai-powered.com/mcp/lf-vs-crlf-vs-cr-text-discarded): LF vs CRLF vs CR, text discarded is an MCP server for developer tools.
- [Markdown heading count, text discarded](https://ai-powered.com/mcp/markdown-heading-count-text-discarded): Markdown heading count, text discarded is an MCP server for files and documents.
- [punctuation count, text discarded](https://ai-powered.com/mcp/punctuation-count-text-discarded): punctuation count, text discarded is an MCP server for developer tools.
- [grapheme-cluster count, text discarded](https://ai-powered.com/mcp/grapheme-cluster-count-text-discarded): grapheme-cluster count, text discarded is an MCP server for developer tools.

---
Source: https://ai-powered.com/mcp/crlf-pair-count-text-discarded
