Css Minifier

Developer REST API MCP

Minify CSS (strip comments and whitespace) or beautify compressed CSS, and return the output with byte sizes and the percentage saved. Minify removes comments, whitespace around punctuation, and the last semicolon in each block. Beautify puts one declaration per line with the chosen indentation.

This page documents the MCP tool findutils:css_minifier. See the REST reference →

Call it over MCP

Tool name findutils:css_minifier · no API keys · 120 requests/min per IP

Claude Code

claude mcp add findutils --transport http https://mcp.findutils.com/

Claude Desktop — claude_desktop_config.json

{
  "mcpServers": {
    "findutils": {
      "url": "https://mcp.findutils.com/"
    }
  }
}

Raw JSON-RPC (any MCP client) — verified example

curl -X POST https://mcp.findutils.com/ \
  -H "Content-Type: application/json" \
  -d '{
    "jsonrpc": "2.0",
    "id": 1,
    "method": "tools/call",
    "params": {
      "name": "css_minifier",
      "arguments": {
        "css": "body {\n  color: red;\n  margin: 0;\n}"
      }
    }
  }'

Input schema

Argument Type Required Description
css string yes The CSS source to minify or beautify.
mode string (minify | beautify) no minify = compress, beautify = expand for readability. Default: minify. Default: "minify".
indent integer no Spaces per indentation level in beautify mode (1-8). Default: 2. Default: 2.

Example arguments (verified)

{
  "css": "body {\n  color: red;\n  margin: 0;\n}"
}

Also a REST endpoint

The same tool answers plain HTTP at POST /api/tools/css-minifier/execute — no key, 60 requests/min.

Open the REST reference for Css Minifier →

More Developer tools