# Line count, text discarded

> Line count, text discarded is an MCP server for developer tools. Remote MCP endpoint that counts lines in submitted text without storing it. 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/line-count
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-11-18

## About

This is one of many small single-purpose MCP endpoints published under the sadri-dridi namespace. Its registry entry describes it as a line count where the text is discarded, which suggests the input is processed and not kept.

It runs as a remote streamable-http server hosted on a Cloudflare Workers domain, with no installable package. An MCP client connects to the URL directly. The repository README groups it with other tiny utilities that check or measure a single value, such as ID layouts, calendar leap-year checks and string shapes, and with a set of Agent Ads promotional endpoints.

The registry gives no tool names, parameters or usage limits, so details of the exact interface are not documented beyond the one-line description.

## Features

- **Line counting:** Returns a line count for text supplied by the client.
- **Text discarded:** The registry description states the submitted text is discarded after processing.
- **Remote streamable HTTP:** Connects over a hosted streamable-http endpoint with nothing to install.
- **Single-purpose utility:** Does one narrow job, in the same style as sibling endpoints in the same repository.

## Good for

- Let an agent count lines in a text snippet without running code
- Check the size of pasted content before further processing
- Test a remote MCP connection with a minimal tool
- Add a lightweight text metric to an agent workflow

## Install

### Claude Code (Terminal)

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

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

```sh
https://agent-observatory-sensor.nolimit-observatory.workers.dev/s/line-count/mcp
```

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

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

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

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

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

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

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

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

## FAQ

### How do I connect to it?

Point an MCP client at the streamable-http remote URL listed in the registry entry; there is no package to install.

### Is the submitted text kept?

The registry description says the text is discarded.

### Is it part of a larger collection?

Yes, it is listed in the Named MCP utilities repository alongside many similar single-purpose endpoints.

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

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

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

The closest alternatives to Line count, text discarded are LF count, text discarded, Word count, text discarded, Sentence count, text discarded, Whitespace word count, text discarded and Unicode 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

- [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.
- [Word count, text discarded](https://ai-powered.com/mcp/word-count-text-discarded): 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.
- [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.
- [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.
- [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.
- [Paragraph count, text discarded](https://ai-powered.com/mcp/paragraph-count-text-discarded): Paragraph count, text discarded is an MCP server for developer tools.

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