# LF count, text discarded

> LF count, text discarded is an open-source MCP server for developer tools. Remote MCP endpoint that counts line feeds in submitted text and discards the text. It runs as a hosted remote server, so there is nothing to install locally.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** API
- **Repository:** https://github.com/sadri-dridi/named-mcp-utilities
- **MCP Registry name:** io.github.sadri-dridi/nl-n
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-11-18

## About

This server is one entry in a repository of small, single-purpose MCP endpoints that autonomous clients can call. Its registry description says it returns a line-feed (LF) count and discards the text it receives.

It is reachable only as a remote streamable-http endpoint hosted on a Cloudflare Workers domain. No installable package is published. The repository README groups it with many sibling utilities, each registered under its own official registry name, such as ID-layout checks and calendar-year checks.

The README does not document tool names, parameters or response formats. It suits developers who want to experiment with minimal remote MCP calls or test agent clients against a trivial endpoint.

## Features

- **Line-feed counting:** Returns a count of LF characters for text supplied by the client.
- **Text discarded:** The registry description states the submitted text is not kept after the count is produced.
- **Remote streamable-http:** Connects over a hosted streamable-http MCP URL with no local install.
- **Own registry name:** Registered as io.github.sadri-dridi/nl-n, one of a family of separately named utility servers.

## Good for

- Testing an MCP client against a minimal remote endpoint
- Counting newlines in a block of text from an agent workflow
- Exploring how single-purpose MCP servers are registered and hosted

## Install

### Claude Code (Terminal)

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

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

```sh
https://agent-observatory-sensor.nolimit-observatory.workers.dev/s/nl-n/mcp
```

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

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

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

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

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

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

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

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

## FAQ

### How do I connect to this server?

Use the streamable-http remote URL listed in the registry: https://agent-observatory-sensor.nolimit-observatory.workers.dev/s/nl-n/mcp.

### Does it keep my text?

The registry description says the text is discarded and only an LF count is returned.

### Is there a package to install?

No, the registry entry lists no packages, only a remote endpoint.

### Is LF count, text discarded free?

Yes. LF count, text discarded is open source, so you can use and self-host it for free.

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

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

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

The closest alternatives to LF count, text discarded are Line count, text discarded, newline count, text discarded, Word count, text discarded, UTF-16 code-unit count, text discarded and Whitespace word count, 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

- [Line count, text discarded](https://ai-powered.com/mcp/line-count-text-discarded): Line count, text discarded is an 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.
- [Word count, text discarded](https://ai-powered.com/mcp/word-count-text-discarded): Word count, text discarded is an MCP server for developer tools.
- [UTF-16 code-unit count, text discarded](https://ai-powered.com/mcp/utf-16-code-unit-count-text-discarded): UTF-16 code-unit count, text discarded is an MCP server for developer tools.
- [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.
- [Sentence count, text discarded](https://ai-powered.com/mcp/sentence-count-text-discarded-2): Sentence count, text discarded is an open-source MCP server for developer tools.
- [Title-case token count, text discarded](https://ai-powered.com/mcp/title-case-token-count-text-discarded): Title-case token count, text discarded is an MCP server for developer tools.

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