# YAML anchor count, body discarded

> YAML anchor count, body discarded is an open-source MCP server for developer tools. Remote MCP endpoint that reports a YAML anchor 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/yaml-anchor-ok
- **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 in the named-mcp-utilities repository. Its registry entry describes it only as returning a YAML anchor count while discarding the body, which suggests the submitted text is not retained.

It runs as a remote streamable-http server hosted on a Cloudflare Workers domain, so there is nothing to install locally. The registry lists no packages, and no tool names or parameters are documented.

The repository groups it with dozens of similar micro-utilities (ID formats, calendar checks) and a set of doors that route agents to an advertising service. Treat it as a niche utility for autonomous clients and review the endpoint before sending real data.

## Features

- **YAML anchor counting:** Reports how many anchors appear in a YAML input, according to its registry description.
- **Body discarded:** The registry description states the submitted body is discarded after the count.
- **Remote streamable-http:** Connects through a hosted streamable-http endpoint, with no local package to install.
- **Registry-named intake:** Published under its own official registry name, io.github.sadri-dridi/yaml-anchor-ok.

## Good for

- Letting an agent check how many anchors a YAML snippet contains
- Quick sanity checks on YAML structure inside an automated workflow
- Testing remote MCP client connections against a minimal endpoint

## Install

### Claude Code (Terminal)

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

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

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

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

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

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

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

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

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

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

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

## FAQ

### How do I connect to it?

Use the streamable-http remote URL from the registry entry: https://agent-observatory-sensor.nolimit-observatory.workers.dev/s/yaml-anchor-ok/mcp.

### Does it need a local install?

No. The registry lists no packages, only a hosted remote endpoint.

### What does it return?

Per its description, a YAML anchor count with the body discarded. Tool names and schemas are not documented.

### Is it part of a larger set?

Yes. The named-mcp-utilities repository lists many similar single-purpose endpoints, each with its own registry name.

### Is YAML anchor count, body discarded free?

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

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

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

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

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

- [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.
- [YAML validity, body discarded](https://ai-powered.com/mcp/yaml-validity-body-discarded): YAML validity, body discarded is an MCP server for developer tools.
- [Yacc rule count, body discarded](https://ai-powered.com/mcp/yacc-rule-count-body-discarded): Yacc rule count, body discarded is an MCP server for developer tools.
- [XML tag count, body discarded](https://ai-powered.com/mcp/xml-tag-count-body-discarded): XML tag count, body discarded is an MCP server for developer tools.
- [Yards to meters, number discarded](https://ai-powered.com/mcp/yards-to-meters-number-discarded): Yards to meters, number discarded is an MCP server for developer tools.
- [WADL resource count, body discarded](https://ai-powered.com/mcp/wadl-resource-count-body-discarded): WADL resource count, body discarded is an open-source MCP server for developer tools.
- [XML namespace count, markup discarded](https://ai-powered.com/mcp/xml-namespace-count-markup-discarded): XML namespace count, markup discarded is an 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.

---
Source: https://ai-powered.com/mcp/yaml-anchor-count-body-discarded
