# Json Minifier — MCP tool `findutils:json_minifier`

Minify JSON to a single line with no whitespace and return the compact text plus original size, minified size (bytes), and reduction percentage. The input must be valid JSON; a parse error is reported with its position.

- Category: data
- MCP server: https://mcp.findutils.com/ (Streamable HTTP, no API keys, 120 req/min per IP)
- REST endpoint: POST https://api.findutils.com/api/tools/json-minifier/execute (no API keys, 60 req/min per IP)
- Reference page: https://findutils.com/mcp/json-minifier/
- Same tool on the other surface: https://findutils.com/api/json-minifier/

## Connect

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

Claude Desktop (`claude_desktop_config.json`):

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

## Call the tool (verified example)

```bash
curl -X POST https://mcp.findutils.com/ \
  -H "Content-Type: application/json" \
  -d '{
    "jsonrpc": "2.0",
    "id": 1,
    "method": "tools/call",
    "params": {
      "name": "json_minifier",
      "arguments": {
        "json": "{ \"a\": 1, \"b\": [1, 2] }"
      }
    }
  }'
```

## Input schema

| Argument | Type | Required | Description |
|---|---|---|---|
| `json` | string | yes | The JSON text to minify. |

Example arguments (verified):

```json
{
  "json": "{ \"a\": 1, \"b\": [1, 2] }"
}
```

Decoded `json` argument (readability only — send it as a string):

```json
{
  "a": 1,
  "b": [
    1,
    2
  ]
}
```

## Also a REST endpoint

```bash
curl -X POST https://api.findutils.com/api/tools/json-minifier/execute \
  -H "Content-Type: application/json" \
  -d '{
    "json": "{ \"a\": 1, \"b\": [1, 2] }"
  }'

# Parameter schema
curl https://api.findutils.com/api/tools/json-minifier
```

Full REST reference: https://findutils.com/api/json-minifier/ · OpenAPI 3.1 spec: https://findutils.com/api/openapi.json

---
Full catalog: POST https://mcp.findutils.com/ with method `tools/list` · https://findutils.com/mcp/ · https://findutils.com/llms.txt
