# HTML h1 count, markup discarded

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

## About

This server is one entry in a collection of small, single-purpose MCP endpoints published under the same GitHub account. Its registry description says it reports the number of h1 headings in an HTML input and does not keep the markup itself.

It is reachable only as a remote streamable-http endpoint hosted on a Cloudflare Workers address; no installable package is listed. The parent repository says each folder maps to one official registry name with its own intake, and the same collection also contains Agent Ads doors that route autonomous agents to an advertising placement service. Which tools this endpoint exposes is not documented.

It suits autonomous clients that need a quick structural check of a page's heading usage without sending content to a general-purpose service.

## Features

- **H1 element counting:** Returns how many h1 headings appear in supplied HTML.
- **Markup discarded:** The registry description states the submitted HTML is not retained after the count.
- **Remote streamable-http:** Connects over a hosted streamable-http MCP endpoint with no local install.
- **Registry-named endpoint:** Published under its own official MCP registry name, io.github.sadri-dridi/h1-count.

## Good for

- Checking whether a page has exactly one h1 heading during an SEO audit
- Letting an agent validate HTML structure before publishing content
- Quick heading sanity checks in automated content pipelines

## Install

### Claude Code (Terminal)

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

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

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

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

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

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

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

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

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

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

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

## FAQ

### How do I connect to this server?

Use the remote streamable-http URL listed in the MCP registry entry; no package is provided.

### Does it store the HTML I send?

The registry description says the markup is discarded.

### Where is the source?

The collection lives in the sadri-dridi/named-mcp-utilities repository on GitHub.

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

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

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

The closest alternatives to HTML h1 count, markup discarded are HTML meta tag count, markup discarded, HTML entity count, markup discarded, Markdown heading count, text discarded, Markdown heading count, body discarded and HTML script 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 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.
- [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.
- [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.
- [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.
- [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 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.
- [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.

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