# Markdown heading count, text discarded

> Markdown heading count, text discarded is an MCP server for files and documents. Remote MCP endpoint that reports a Markdown heading count without keeping the text. 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/md-heading-count
- **Categories:** [files and documents](https://ai-powered.com/categories/files-and-documents), [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-11-18

## About

This is one of many small single-purpose servers in the Named MCP utilities collection. Its registry entry describes it only as a Markdown heading count where the submitted text is discarded, suggesting that the input is not retained after the count is produced.

It runs as a hosted remote endpoint over streamable HTTP, with no installable package. Clients connect to a URL on a Cloudflare Workers domain used by the collection's sensor service. The README does not document the tool names, input format or output schema.

The repository groups it with other narrow utilities, such as identifier-format and calendar checks, plus a set of doors that route agents to an advertising service. Treat it as a minimal utility aimed at autonomous clients rather than a documented, full-featured product.

## Features

- **Heading count:** Returns a count of Markdown headings for text supplied by the client.
- **Text discarded:** The registry description says the submitted text is discarded after processing.
- **Remote streamable HTTP:** Connects to a hosted endpoint over streamable HTTP with no local install.
- **Single-purpose design:** Does one narrow job, in the style of the other servers in the same collection.

## Good for

- Let an agent quickly check how many headings a Markdown draft contains
- Run a lightweight structure check on documentation before publishing
- Test remote MCP connectivity with a very small, simple server
- Add a minimal Markdown utility to an autonomous client's tool set

## Install

### Claude Code (Terminal)

```sh
claude mcp add --transport http md-heading-count https://agent-observatory-sensor.nolimit-observatory.workers.dev/s/md-heading-count/mcp
```

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

```sh
https://agent-observatory-sensor.nolimit-observatory.workers.dev/s/md-heading-count/mcp
```

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

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

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

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

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

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

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

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

## FAQ

### Does it keep the text I send?

The registry description says the text is discarded, but no further privacy details are given.

### How do I connect to it?

Use the streamable HTTP remote URL listed in the registry entry. No package is provided to install.

### What tools does it expose?

Tool names and schemas are not documented, so only the heading-count purpose is known.

### Is it part of a larger project?

Yes, it is one of many servers in the Named MCP utilities repository, each registered under its own name.

### How do I add Markdown heading count, text discarded to Claude Code?

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

### What are the best alternatives to Markdown heading count, text discarded?

The closest alternatives to Markdown heading count, text discarded are Markdown heading count, body discarded, Line count, text discarded, Word count, text discarded, LF 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.

## Alternatives

- [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.
- [Line count, text discarded](https://ai-powered.com/mcp/line-count-text-discarded): Line count, text 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.
- [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.
- [Paragraph count, text discarded](https://ai-powered.com/mcp/paragraph-count-text-discarded): Paragraph count, text discarded is an MCP server for developer tools.
- [Unicode word count, text discarded](https://ai-powered.com/mcp/unicode-word-count-text-discarded): Unicode word count, text discarded is an MCP server for developer tools.
- [Whitespace word count, text discarded](https://ai-powered.com/mcp/whitespace-word-count-text-discarded): Whitespace word count, text discarded is an MCP server for developer tools.
- [paragraph count, text discarded](https://ai-powered.com/mcp/paragraph-count-text-discarded-2): paragraph count, text discarded is an MCP server for developer tools.

---
Source: https://ai-powered.com/mcp/markdown-heading-count-text-discarded
