Skip to content
MCP server

YAML key count, body discarded

MCP server that counts YAML keys and discards the document body

Install
Platforms
API
Runs
Remotely
Version
1.0.0
Listing updated
today

Similar MCP servers

About YAML key count, body discarded

YAML key count, body discarded is an MCP server for developer tools. It runs as a hosted remote server, so there is nothing to install locally.

The README says the body of any YAML document sent to this server is discarded, so the service returns a key count rather than keeping the file's contents. It is published under the official MCP registry name io.github.sadri-dridi/yaml-key-count and is reachable over streamable HTTP at a remote endpoint.

It belongs to a larger set of small, single-purpose MCP utilities from the same author, each with its own endpoint. Those utilities cover things like date and calendar checks and identifier formats. This entry is aimed at developers and agent builders who need a quick structural check on YAML input from an AI client without storing the input.

Install

Run in a terminal

claude mcp add --transport http yaml-key-count https://agent-observatory-sensor.nolimit-observatory.workers.dev/s/yaml-key-count/mcp

Add to Settings → Connectors → Add custom connector

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

Add to ~/.cursor/mcp.json

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

Add to .vscode/mcp.json

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

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

{
  "mcpServers": {
    "yaml-key-count": {
      "serverUrl": "https://agent-observatory-sensor.nolimit-observatory.workers.dev/s/yaml-key-count/mcp"
    }
  }
}

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

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

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

What it does

Key count output
Returns the number of keys found in a submitted YAML document.
Body discarded
The document text is not retained, according to the server's name and listing.
Remote HTTP endpoint
Served over streamable HTTP, so MCP clients can connect without a local install.
Official registry entry
Listed in the MCP registry under a namespaced name tied to the author's GitHub account.

Good for

  • Checking the rough size of a YAML config inside an agent workflow
  • Confirming that a generated YAML file contains a plausible number of keys
  • Sending structural checks on sensitive YAML without keeping a copy on the server
  • Adding a lightweight YAML sanity check to an MCP-based developer toolchain

YAML key count, body discarded FAQ

What transport does the server use?

The registry entry lists streamable-http with a single remote URL and no packages to install locally.

Does the server keep the YAML I send it?

The server's name and listing say the body is discarded, so only the key count is returned.

Is there a local install option?

The registry entry lists no packages, only the remote endpoint.

How do I add YAML key count, body discarded to Claude Code?

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

What are the best alternatives to YAML key count, body discarded?

The closest alternatives to YAML key count, body discarded are YAML validity, body discarded, YAML anchor count, body discarded, XML tag count, body discarded, Yacc rule count, body discarded and 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.

How AIPoweredBot checks servers