Skip to content
MCP server

newline count, text discarded

MCP server that counts newlines in input text and discards the text itself

Install
Pricing
Open source
Platforms
API
Runs
Remotely
Version
1.0.0
Listing updated
today

Similar MCP servers

About newline count, text discarded

newline count, text discarded is an open-source MCP server for developer tools. It runs as a hosted remote server, so there is nothing to install locally.

The README describes this as one of a set of independently listed MCP servers for autonomous clients, each published under its own official registry name. This entry, nl-ok, reports how many newline characters appear in a supplied string while discarding the text it was given.

The registry entry exposes a single streamable-http remote endpoint and lists no packages, so it is used by connecting an MCP client to that hosted URL rather than installing code locally. The README notes that the utility returns a count and does not retain the input text.

It is aimed at developers and agent builders who need a small, deterministic text utility available over MCP without writing their own server.

Install

Run in a terminal

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

Add to Settings → Connectors → Add custom connector

https://agent-observatory-sensor.nolimit-observatory.workers.dev/s/nl-ok/mcp
Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "nl-ok": {
      "url": "https://agent-observatory-sensor.nolimit-observatory.workers.dev/s/nl-ok/mcp"
    }
  }
}
Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to .vscode/mcp.json

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

Add to ~/.codeium/windsurf/mcp_config.json

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

Add to your client's MCP settings (most use this shape)

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

Using several servers? Build one config file with the MCP config generator.

What it does

Newline counting
Returns the number of newline characters found in the text submitted to it.
Text discarded
The README states that the submitted text is discarded and only the count is returned.
Streamable HTTP transport
Served as a remote MCP endpoint over streamable HTTP with no local install.

Good for

  • Counting lines in a string inside an agent workflow without running local code
  • Adding a small deterministic text utility to an MCP client configuration
  • Testing MCP client integration with a minimal remote tool

Pricing

Open source

newline count, text discarded FAQ

How do I connect to this server?

The registry entry lists a streamable-http remote URL; no packages are listed for local installation.

Is the submitted text stored?

The README describes the text as discarded, and the server returns only the newline count.

Is newline count, text discarded free?

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

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

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

What are the best alternatives to newline count, text discarded?

The closest alternatives to newline count, text discarded are LF count, text discarded, Line count, text discarded, newline run length band, text discarded, Unicode word count, text discarded and paragraph 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.

How AIPoweredBot checks servers