# package.json key count, body discarded

> package.json key count, body discarded is an open-source MCP server for developer tools. Remote MCP endpoint that reports a package.json's key count and discards the body. 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/package-ok
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-11-18

## About

Package-ok is a single-purpose remote MCP endpoint that takes a package.json and answers with how many keys it contains. The submitted body is discarded after the count, so nothing is retained from what you send.

It runs as a streamable-http remote hosted on a Cloudflare Workers address, with no installable package to run locally. It is one entry in a repository of small named MCP utilities, each registered under its own name in the official registry and aimed at autonomous clients.

The tool suits agents that need a quick structural check of a manifest without sending its contents anywhere to be stored. The README gives no further detail on the exact tool names or parameters.

## Features

- **Key count of package.json:** Returns the number of keys found in a submitted package.json.
- **Body discarded:** The submitted package.json content is not kept after the count is produced.
- **Remote streamable-http:** Reachable as a hosted streamable-http MCP endpoint, so no local install is needed.
- **Own registry name:** Registered separately as io.github.sadri-dridi/package-ok in the official MCP registry.

## Good for

- Let an agent quickly check how large a package.json manifest is
- Sanity-check a manifest's structure without storing its contents
- Test an MCP client against a minimal single-tool remote server

## Install

### Claude Code (Terminal)

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

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

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

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

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

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

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

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

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

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

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

## FAQ

### What does package-ok do?

It reports the key count of a package.json and discards the body.

### How do I connect to it?

Use the streamable-http remote URL listed in the registry entry; there is no local package to install.

### Is the submitted package.json stored?

The description says the body is discarded.

### Who publishes it?

It is part of the named-mcp-utilities repository by sadri-dridi.

### Is package.json key count, body discarded free?

Yes. package.json key count, body discarded is open source, so you can use and self-host it for free.

### How do I add package.json key count, body discarded to Claude Code?

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

### What are the best alternatives to package.json key count, body discarded?

The closest alternatives to package.json key count, body discarded are NEL JSON key count, body discarded, Puppet class count, body discarded, Markdown heading count, body discarded, ssh config Host count, body discarded and YAML key count, body 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

- [NEL JSON key count, body discarded](https://ai-powered.com/mcp/nel-json-key-count-body-discarded): NEL JSON key count, body discarded is an MCP server for developer tools.
- [Puppet class count, body discarded](https://ai-powered.com/mcp/puppet-class-count-body-discarded): Puppet class count, body discarded is an 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.
- [ssh config Host count, body discarded](https://ai-powered.com/mcp/ssh-config-host-count-body-discarded): ssh config Host count, body discarded is an MCP server for developer tools.
- [YAML key count, body discarded](https://ai-powered.com/mcp/yaml-key-count-body-discarded): YAML key count, body discarded is an MCP server for developer tools.
- [plist key count, values discarded](https://ai-powered.com/mcp/plist-key-count-values-discarded): plist key count, values discarded is an MCP server for developer tools.
- [protobuf3 message count, body discarded](https://ai-powered.com/mcp/protobuf3-message-count-body-discarded): protobuf3 message count, body discarded is an MCP server for developer tools.
- [TopoJSON object count, body discarded](https://ai-powered.com/mcp/topojson-object-count-body-discarded): TopoJSON object count, body discarded is an MCP server for developer tools.

---
Source: https://ai-powered.com/mcp/package-json-key-count-body-discarded
