# JSON Lines row count, body discarded

> JSON Lines row count, body discarded is an MCP server for developer tools. MCP server that returns the row count of JSON Lines input and discards the body. 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/json-lines-ok
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-11-18

## About

The README describes this as one small utility from a collection of single-purpose MCP servers, each published under its own registry name. This one counts rows in JSON Lines data and drops the row contents rather than returning them, so the response carries only a count.

It is exposed as a remote streamable-HTTP endpoint on a Cloudflare Workers host, and no package installs are listed in the registry entry. The repository README is a catalogue of sibling endpoints, many of which share the same discard-the-value pattern, and it also lists a separate set of marketing-oriented doors that route agents to an external advertising service.

It suits developers who want a narrow helper for checking the shape or size of JSON Lines output from an agent workflow without passing the underlying data back to the model.

## Features

- **Row counting:** Returns the number of rows in a JSON Lines input.
- **Body discarded:** Row contents are not returned in the response, only the count.
- **Remote streamable-HTTP endpoint:** Served over streamable HTTP so MCP clients can connect without a local install.

## Good for

- Checking how many records a JSON Lines export contains before processing it
- Validating row counts inside an agent pipeline without returning the data itself

## Install

### Claude Code (Terminal)

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

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

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

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

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

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

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

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

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

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

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

## FAQ

### How is the server connected?

The registry entry lists a single remote streamable-HTTP endpoint and no packages.

### Does it return the data rows?

No. The name and README say the body is discarded, so the response is the row count only.

### How do I add JSON Lines row count, body discarded to Claude Code?

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

### What are the best alternatives to JSON Lines row count, body discarded?

The closest alternatives to JSON Lines row count, body discarded are NDJSON line count, bodies discarded, JSON byte count, body discarded, Line count, text discarded, JSON-LD @type count, body discarded and LF 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

- [NDJSON line count, bodies discarded](https://ai-powered.com/mcp/ndjson-line-count-bodies-discarded): NDJSON line count, bodies discarded is an MCP server for developer tools.
- [JSON byte count, body discarded](https://ai-powered.com/mcp/json-byte-count-body-discarded): JSON byte count, body 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.
- [JSON-LD @type count, body discarded](https://ai-powered.com/mcp/json-ld-type-count-body-discarded): JSON-LD @type count, body 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.
- [Markdown heading count, body discarded](https://ai-powered.com/mcp/markdown-heading-count-body-discarded): Markdown heading count, body discarded is an MCP server for files and documents.
- [Less variable count, body discarded](https://ai-powered.com/mcp/less-variable-count-body-discarded): Less variable count, body discarded is an open-source MCP server for developer tools.
- [JSON type-tag count, values discarded](https://ai-powered.com/mcp/json-type-tag-count-values-discarded): JSON type-tag count, values discarded is an open-source MCP server for developer tools.

---
Source: https://ai-powered.com/mcp/json-lines-row-count-body-discarded
