# CSS rule count, body discarded

> CSS rule count, body discarded is an MCP server for developer tools. Remote MCP utility that counts CSS rules in submitted text and discards the body. 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/css-ok
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-11-18

## About

This server is a single-purpose utility from a collection of small named MCP endpoints. Its registry entry describes it as returning a CSS rule count while discarding the body that was sent, so the stylesheet text is not meant to be kept.

It runs as a remote streamable-http endpoint hosted on a Cloudflare Workers address, and no installable package is published. Clients connect by URL rather than running anything locally.

The parent repository, named-mcp-utilities, lists many similar narrow endpoints, such as ID-format and calendar checks. It also lists doors that route agents to a separate advertising service called Agent Ads. The README does not document the tools this CSS server exposes, its input format or its limits, so those details are unconfirmed.

## Features

- **CSS rule counting:** Returns a count of CSS rules for the stylesheet content it receives.
- **Body discarded:** The registry description states that the submitted body is discarded after counting.
- **Remote streamable HTTP:** Accessed as a hosted streamable-http MCP endpoint with no local install.
- **Registered under GitHub namespace:** Published in the MCP registry as io.github.sadri-dridi/css-ok.

## Good for

- Let an agent quickly check how many rules a CSS snippet contains
- Add a lightweight stylesheet-size check to an automated workflow
- Test connecting an MCP client to a minimal remote server

## Install

### Claude Code (Terminal)

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

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

```sh
https://agent-observatory-sensor.nolimit-observatory.workers.dev/s/css-ok/mcp
```

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

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

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

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

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

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

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

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

## FAQ

### What does this server do?

Per its registry description, it returns a CSS rule count and discards the body it was given.

### How do I connect to it?

Use the streamable-http remote URL listed in the registry entry; no package is published for local install.

### Is it part of a larger project?

Yes, it belongs to the named-mcp-utilities repository, which lists many small independent MCP endpoints.

### How do I add CSS rule count, body discarded to Claude Code?

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

### What are the best alternatives to CSS rule count, body discarded?

The closest alternatives to CSS rule count, body discarded are CSS rule count, stylesheet discarded, SCSS rule count, body discarded, Lex rule count, body discarded, Sass indent-rule count, body discarded and CSV column 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

- [CSS rule count, stylesheet discarded](https://ai-powered.com/mcp/css-rule-count-stylesheet-discarded): CSS rule count, stylesheet discarded is an MCP server for developer tools.
- [SCSS rule count, body discarded](https://ai-powered.com/mcp/scss-rule-count-body-discarded): SCSS rule count, body discarded is an MCP server for developer tools.
- [Lex rule count, body discarded](https://ai-powered.com/mcp/lex-rule-count-body-discarded): Lex rule count, body discarded is an MCP server for developer tools.
- [Sass indent-rule count, body discarded](https://ai-powered.com/mcp/sass-indent-rule-count-body-discarded): Sass indent-rule count, body discarded is an MCP server for developer tools.
- [CSV column count, body discarded](https://ai-powered.com/mcp/csv-column-count-body-discarded): CSV column count, body discarded is an MCP server for files and documents.
- [ESLint rules key count, body discarded](https://ai-powered.com/mcp/eslint-rules-key-count-body-discarded): ESLint rules key count, body discarded is an MCP server for developer tools.
- [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.
- [gitignore rule count, body discarded](https://ai-powered.com/mcp/gitignore-rule-count-body-discarded): gitignore rule count, body discarded is an open-source MCP server for developer tools.

---
Source: https://ai-powered.com/mcp/css-rule-count-body-discarded
