# HTML tag count, markup discarded

> HTML tag count, markup discarded is an MCP server for developer tools. Counts HTML tags in a submitted document, discarding the markup itself, via MCP. 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/html-tag-count
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-11-18

## About

The README describes this as one of a set of small single-purpose MCP servers from the same repository, each published under its own registry name. This one takes HTML as input and reports how many tags it contains, without returning the markup content.

The server is exposed as a remote streamable-HTTP endpoint rather than a local package, so AI clients connect to a hosted URL and need no installation. The README lists it among utilities for autonomous clients that need narrow, deterministic text checks.

It suits developers wiring small structural checks into an agent workflow, such as estimating page complexity before further processing. The content does not describe tag-type breakdowns or size limits.

## Features

- **Tag counting:** Returns the number of HTML tags found in the supplied input.
- **Markup discarded:** Reports only the count, not the HTML source it was given.
- **Remote endpoint:** Runs as a hosted streamable-HTTP MCP server with no local install.

## Good for

- Check how many tags a page fragment contains before processing it
- Add a simple structural metric to an autonomous agent's HTML pipeline
- Call a deterministic counter from an MCP-capable client without running code locally

## Install

### Claude Code (Terminal)

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

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

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

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

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

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

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

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

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

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

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

## FAQ

### How does it connect to a client?

The registry entry lists a streamable-HTTP remote URL, so clients connect to that endpoint directly.

### Does it return the HTML back?

No. The name and description state that the markup is discarded and only the tag count is reported.

### How do I add HTML tag count, markup discarded to Claude Code?

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

### What are the best alternatives to HTML tag count, markup discarded?

The closest alternatives to HTML tag count, markup discarded are HTML meta tag count, markup discarded, HTML script tag count, markup discarded, HTML script tag count, markup discarded, HTML meta tag count, markup discarded and XML tag 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

- [HTML meta tag count, markup discarded](https://ai-powered.com/mcp/html-meta-tag-count-markup-discarded-2): HTML meta tag count, markup discarded is an MCP server for developer tools.
- [HTML script tag count, markup discarded](https://ai-powered.com/mcp/html-script-tag-count-markup-discarded): HTML script tag count, markup discarded is an MCP server for developer tools.
- [HTML script tag count, markup discarded](https://ai-powered.com/mcp/html-script-tag-count-markup-discarded-2): HTML script tag count, markup discarded is an MCP server for developer tools.
- [HTML meta tag count, markup discarded](https://ai-powered.com/mcp/html-meta-tag-count-markup-discarded): HTML meta tag count, markup discarded is an MCP server for marketing and seo.
- [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.
- [Open Graph tag count, markup discarded](https://ai-powered.com/mcp/open-graph-tag-count-markup-discarded): Open Graph tag count, markup discarded is an MCP server for marketing and seo.
- [Markdown heading count, text discarded](https://ai-powered.com/mcp/markdown-heading-count-text-discarded): Markdown heading count, text discarded is an MCP server for files and documents.
- [HTML link rel count, markup discarded](https://ai-powered.com/mcp/html-link-rel-count-markup-discarded): HTML link rel count, markup discarded is an MCP server for developer tools.

---
Source: https://ai-powered.com/mcp/html-tag-count-markup-discarded
