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 HTTP endpoint POST /api/tools/css-minifier/execute. See the MCP reference →

Call it over REST

POST https://api.findutils.com/api/tools/css-minifier/execute · no API keys · 60 requests/min per IP

Execute — verified arguments

curl -X POST https://api.findutils.com/api/tools/css-minifier/execute \
  -H "Content-Type: application/json" \
  -d '{
    "css": "body {\n  color: red;\n  margin: 0;\n}"
  }'

Parameter schema for this endpoint

curl https://api.findutils.com/api/tools/css-minifier

Interactive docs · OpenAPI 3.1 spec · All REST tools

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 an MCP tool

Claude, Cursor, and any MCP client can call this tool as findutils:css_minifier after one connect command.

Connect once

claude mcp add findutils --transport http https://mcp.findutils.com/
Open the MCP reference for Css Minifier →

More Developer tools