# HTML h1 count, markup discarded

> HTML h1 count, markup discarded is an MCP server for developer tools. Remote MCP endpoint that counts h1 tags in HTML and discards the markup. 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-h1-n
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-11-18

## About

This is one of a series of small, single-purpose MCP servers published under the sadri-dridi namespace. Its registry description says it returns an HTML h1 count and discards the markup, so the input is not kept after the count is produced.

It runs as a hosted streamable-http remote on a Cloudflare Workers address, so there is no package to install. An MCP client connects to the URL listed in the registry. The README places it in a collection of named utilities aimed at autonomous clients, where each folder maps to one official registry name.

The README and registry entry give no tool names, parameters or output format, so details of the call interface are best checked by connecting to the endpoint.

## Features

- **H1 tag counting:** Reports how many h1 elements appear in a piece of HTML.
- **Markup discarded:** The registry description states the submitted markup is discarded after the count.
- **Remote streamable-http:** Hosted endpoint reachable over streamable-http with no local install.
- **Part of a utility series:** Sits alongside many other narrow single-check MCP servers from the same publisher.

## Good for

- Check whether a page has exactly one h1 during an automated SEO audit
- Let an agent validate generated HTML structure before publishing
- Add a lightweight heading check to an agent workflow without storing page content

## Install

### Claude Code (Terminal)

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

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

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

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

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

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

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

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

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

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

```json
{
  "mcpServers": {
    "html-h1-n": {
      "type": "http",
      "url": "https://agent-observatory-sensor.nolimit-observatory.workers.dev/s/html-h1-n/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/html-h1-n/mcp.

### Does it keep the HTML I send?

The registry description says the markup is discarded and only the h1 count is returned.

### Is there a package to install?

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

### What is the registry name?

io.github.sadri-dridi/html-h1-n.

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

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

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

The closest alternatives to HTML h1 count, markup discarded are HTML tag count, markup discarded, HTML entity count, markup discarded, HTML script tag count, markup discarded, HTML meta tag count, markup discarded and HTML meta tag count, markup 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 tag count, markup discarded](https://ai-powered.com/mcp/html-tag-count-markup-discarded): HTML tag count, markup discarded is an MCP server for developer tools.
- [HTML entity count, markup discarded](https://ai-powered.com/mcp/html-entity-count-markup-discarded): HTML entity 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-2): HTML meta 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.
- [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.
- [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 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.

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