# HTML script tag count, markup discarded

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

## About

The script-count endpoint is one entry in a collection of small, single-purpose MCP servers published under the sadri-dridi registry namespace. Its stated job is narrow: report how many script tags appear in a piece of HTML, then throw the markup away rather than keeping it.

It runs as a remote streamable-http server hosted on a Cloudflare Workers address, so there is nothing to install locally. An MCP client connects to the registry-listed URL directly. No package is published for it.

The repository README groups it with dozens of similar micro-endpoints, such as ID-format checks and calendar-year checks, plus a set of doors that route agents to a separate advertising service. Documentation for this specific server is minimal, so its exact tool names and input format are not described.

## Features

- **Script tag counting:** Returns a count of script tags found in submitted HTML.
- **Markup discarded:** The registry description says the HTML itself is discarded after counting.
- **Remote streamable-http:** Connects over streamable HTTP to a hosted URL, with no local package to install.
- **Single-purpose endpoint:** Does one narrow job, which keeps it simple for autonomous clients to call.

## Good for

- Checking how many script tags a page's HTML contains
- Quick page-weight or complexity heuristics inside an agent workflow
- Lightweight HTML inspection without running a full parser locally

## Install

### Claude Code (Terminal)

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

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

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

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

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

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

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

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

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

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

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

## FAQ

### How do I connect to it?

Point an MCP client at the streamable-http URL listed in the registry: https://agent-observatory-sensor.nolimit-observatory.workers.dev/s/script-count/mcp.

### Does it keep the HTML I send?

The registry description says the markup is discarded after the count.

### Is there a package to install?

No. The registry entry lists no packages, only the remote endpoint.

### Who publishes it?

It is published under the io.github.sadri-dridi namespace as part of the named-mcp-utilities repository.

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

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

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

The closest alternatives to HTML script tag count, markup discarded are SCSU window-tag count, input discarded, XML tag count, body discarded, XML namespace count, markup discarded, tab count, text discarded and RIS 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

- [SCSU window-tag count, input discarded](https://ai-powered.com/mcp/scsu-window-tag-count-input-discarded): SCSU window-tag count, input 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.
- [XML namespace count, markup discarded](https://ai-powered.com/mcp/xml-namespace-count-markup-discarded): XML namespace count, markup discarded is an MCP server for developer tools.
- [tab count, text discarded](https://ai-powered.com/mcp/tab-count-text-discarded): tab count, text discarded is an MCP server for developer tools.
- [RIS tag count, body discarded](https://ai-powered.com/mcp/ris-tag-count-body-discarded): RIS tag count, body discarded is an MCP server for developer tools.
- [Title-case token count, text discarded](https://ai-powered.com/mcp/title-case-token-count-text-discarded): Title-case token count, text discarded is an MCP server for developer tools.
- [URL path segment count, query discarded](https://ai-powered.com/mcp/url-path-segment-count-query-discarded): URL path segment count, query discarded is an open-source MCP server for developer tools.
- [Sentence count, text discarded](https://ai-powered.com/mcp/sentence-count-text-discarded-2): Sentence count, text discarded is an open-source MCP server for developer tools.

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