# HTML script tag count, markup discarded

> HTML script tag count, markup discarded is an MCP server for developer tools. Counts script tags in HTML you send it and returns only the number. 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-script-n
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-11-18

## About

Send this server an HTML document and it tallies the script elements in the markup. The registry entry says the markup itself is discarded, so the response is a count rather than a copy of the page.

It is exposed as a remote MCP endpoint over streamable HTTP, so an MCP client can connect by URL without installing anything locally. The README lists it as one of many small single-purpose servers in the same repository, each with its own endpoint.

It suits developers or agents that need a quick structural check on page markup, such as auditing how many scripts a template loads. The README does not describe a license or pricing for this endpoint.

## Features

- **Script tag counting:** Returns the number of script elements found in submitted HTML.
- **Markup discarded:** According to the registry entry, the HTML is not kept after the count is produced.
- **Remote streamable HTTP endpoint:** Connects to MCP clients through a hosted URL using the streamable HTTP transport.

## Good for

- Checking how many scripts a page template loads
- Giving an AI agent a numeric script-count signal without passing it full markup
- Adding a simple markup check to an automated page review workflow

## Install

### Claude Code (Terminal)

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

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

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

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

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

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

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

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

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

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

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

## FAQ

### What transport does it use?

The registry entry lists streamable-http as its transport, with a remote URL and no local package.

### Does it return the HTML back?

The registry entry describes the markup as discarded, so the output is the script count rather than the document.

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

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

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

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