Back to Browse

Pixclia MCP Server

by Lostsh
Developer ToolsLow Risk10.0MCP RegistryLocal
Free

Server data from the Official MCP Registry

Fast offline photo editor for AI agents: RAW and JPEG edits, LUTs, presets, batch, contact sheets

About

Fast offline photo editor for AI agents: RAW and JPEG edits, LUTs, presets, batch, contact sheets

Security Report

10.0
Low Risk10.0Low Risk

Valid MCP server (0 strong, 2 medium validity signals). No known CVEs in dependencies. Package registry verified. Imported from the Official MCP Registry.

10 files analyzed · 1 issue found

Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.

Permissions Required

This plugin requests these system permissions. Most are normal for its category.

file_system

Check that this permission is expected for this type of plugin.

HTTP Network Access

Connects to external APIs or services over the internet.

env_vars

Check that this permission is expected for this type of plugin.

Shell Command Execution

Runs commands on your machine. Be cautious — only use if you trust this plugin.

How to Install

Add this to your MCP configuration file:

{
  "mcpServers": {
    "pixclia": {
      "command": "npx",
      "args": [
        "-y",
        "pixclia@0.1.2"
      ]
    }
  }
}

Some servers take additional arguments. See the repository for details.

Documentation

View on GitHub

From the project's GitHub README.

pixclia

A fast, offline photo editor built for AI agents. Point it at a camera raw file or a JPEG, give it a recipe, and get the edited picture back, one photo or a thousand. One static binary, pure Go, no dependencies, no network.

curl -fsSL https://raw.githubusercontent.com/lostsh/pixclia/main/install.sh | sh

pixclia info IMG.CR3 --json                    # metadata in milliseconds, no pixel decode
pixclia analyze IMG.CR3 --json                 # exposure, clipping, colour cast, noise, hints
pixclia auto IMG.CR3 --look natural -o r.json  # solve a recipe toward a look
pixclia edit IMG.CR3 -o out.jpg --recipe r.json --resize 2048
pixclia batch --recipe r.json --out-dir out/ shoot/*.ARW
pixclia contact out/*.jpg -o sheet.jpg         # one image to review the whole batch

Or run it as an MCP server so Claude (or any MCP client) gets editing tools directly: claude mcp add pixclia -- npx -y pixclia mcp.

If you are an AI agent, read AGENTS.md. It is the operating manual: install, the common workflows, the recipe format and the parameter ranges. A ready-made Claude Code skill is in skills/pixclia/.

Install

Linux, macOS, FreeBSDcurl -fsSL https://raw.githubusercontent.com/lostsh/pixclia/main/install.sh | sh
Windows (PowerShell)irm https://raw.githubusercontent.com/lostsh/pixclia/main/install.ps1 | iex
Any OS with Node 18+npx -y pixclia ... (downloads the matching binary once)
Go 1.27+go install github.com/lostsh/pixclia@latest
BinariesGitHub releases (checksums in checksums.txt)

The installers check the download against the release checksums. Set PIXCLIA_VERSION=v0.1.0 to pin a version, or PIXCLIA_INSTALL_DIR to choose where the binary goes.

For AI agents:

Claude Code plugin (MCP server + skill)/plugin install pixclia --marketplace lostsh/pixclia
Claude Code, MCP server onlyclaude mcp add pixclia -- npx -y pixclia mcp
Any MCP client{"mcpServers": {"pixclia": {"command": "npx", "args": ["-y", "pixclia", "mcp"]}}}
MCP Registryio.github.lostsh/pixclia
Agent Skillskills/pixclia/SKILL.md
Docs index for LLMsllms.txt

To make your agents reach for pixclia in your own projects, add this line to the project's CLAUDE.md or AGENTS.md:

For any photo task (RAW or JPEG editing, colour grading, resizing, batch edits, contact sheets), use pixclia: run `npx -y pixclia --help`, or read https://raw.githubusercontent.com/lostsh/pixclia/main/AGENTS.md

Why

AI agents are often asked to "fix the exposure on these 200 photos" or "give this shoot a film look". The existing tools are built for people: GUI-first, slow to start, configured through sidecar files, with output an agent has to parse. pixclia is built for programs:

  • Machine interface. Every command has --json with stable keys, structured errors ({"error":{"code","message","hint"}}) and documented exit codes. pixclia schema emits the JSON Schema of recipes and parameters.
  • Decide without looking. analyze reports the numbers an agent needs (EV against mid-grey, clipping, cast, saturation, noise, sharpness, skin) and hints that name the parameter to change. auto solves exposure, white balance and the black and white points toward a look.
  • Review cheaply. preview renders a small result in a fraction of a second (DCT-domain JPEG scaling, half-size raw demosaic, or the camera's embedded preview). contact puts a whole batch on one labelled sheet, so a vision model can review 30 pictures in one image.
  • Reproducible. A recipe is one JSON file (parameters, geometry, raw options, LUT/preset, output). The same recipe always gives the same pixels.
  • Fast. Every stage is parallel: raw decoding, demosaicing, rendering, JPEG decoding and encoding. See Benchmark.

Built for agents

An agent cannot squint at a slider. It needs numbers to decide, one cheap look to confirm, and a way to apply the same decision to a thousand files. Every pixclia command is one step of that loop, with JSON in and JSON out.

Tokens are an agent's real budget. analyze turns a photo into about 500 tokens of measurements, and contact turns 20 results into one image an agent can check in a single look:

What each tool gives an AI agent out of the box (as benchmarked; "—" means not available without writing your own glue):

pixcliadarktable-cliRawTherapee-cliImageMagicklibvipsLibRawrawpy
Structured output (JSON) for every commandyes——identify only (json:)——Python objects
Machine-readable errors and exit codesyes—————Python exceptions
MCP server (tools for Claude and other clients)built in——————
Measurements to decide an edit (exposure, cast, clipping, noise)analyze, with hints——identify -verbose statsstats——
Solve settings toward a target lookautoGUI onlyGUI only————
One review image for a batchcontact——montagearrayjoin——
Edit as one replayable JSON recipeyesXMP sidecar.pp3 profilecommand linecode—code
Reads CR2, CR3, ARW, RW2, DNGyesyes (not iPhone ProRAW)yesyes (via LibRaw)no (8.14)yesyes
Imports Lightroom, RawTherapee, Capture One, darktable presetsall fourdarktable (+ Lightroom XMP in the GUI)RawTherapee————
Industry LUTs (.cube, .3dl, CLF, CDL, .spi3d, HaldCLUT)all.cube, .3dl, HaldCLUTHaldCLUT.cube, HaldCLUT———
Installone static binaryAppImage / packagesAppImage / packagespackagespackageslibrary + toolsPython + pip

Parallel by design

One photo is split across every core at every stage, and a batch keeps several photos in flight. Recipes are deterministic, so a folder can also be sharded across machines and give identical pixels.

What it reads and writes

Camera rawCanon CR2, CR3 (RAW and C-RAW), Sony ARW (uncompressed, compressed, lossless), Panasonic RW2 (incl. recent bodies), DNG (Bayer and linear, lossless JPEG, Deflate, tiles; iPhone ProRAW). Decoded values are bit-exact with LibRaw 0.22.3 on all test samples.
Images inJPEG (baseline, progressive; embedded ICC profiles such as Display P3 and Adobe RGB are honoured), PNG 8/16-bit, TIFF 8/16-bit (none, LZW, Deflate, PackBits; strips, tiles)
Images outJPEG (parallel encoder, optimised Huffman tables, 4:4:4/4:2:2/4:2:0, sRGB ICC tagged, --max-bytes), PNG 8/16-bit, TIFF 8/16-bit
LUTs.cube (Adobe / Resolve 1D+3D), HaldCLUT, .3dl, .spi1d/.spi3d, .csp, CLF (Academy Common LUT Format), ASC CDL (.cc/.ccc/.cdl), .look; export to .cube
PresetsLightroom / Camera Raw .xmp and .lrtemplate, RawTherapee .pp3, Capture One .costyle, darktable .dtstyle (each maps the settings pixclia supports and reports the rest)

pixclia formats --json prints the list for the build you have.

How it works

  • Raw decoding (internal/raw): one file per container, written from the TIFF, DNG, ISOBMFF and T.81 specifications and public format notes, and checked value by value against LibRaw. Tiles, slices, planes and blocks are decoded in parallel.
  • Raw development (internal/develop): black and white levels, white balance (as shot, daylight, auto, kelvin plus tint), highlight reconstruction that keeps blown skies from going magenta, RCD demosaicing (or half-size for previews), camera-to-sRGB colour from the file's DNG matrices or a 793-camera table, gamut compression, and a neutral tone curve. Details: internal/develop/README.md.
  • Edit pipeline (internal/render): about 60 Lightroom-style controls (exposure, contrast, highlights, shadows, whites, blacks, temperature, tint, vibrance, saturation, 8-band HSL, colour grading, curves, clarity, texture, dehaze, noise reduction, sharpening, vignette, grain) and LUTs, in float32, with halo-free regional tone mapping. Algorithms: docs/pipeline.md.
  • Geometry (internal/geom): crop, aspect presets, rotate, flip, straighten, Lanczos-3 resize.
  • JPEG (internal/jpegx): decoder and encoder written for throughput, with parallel IDCT and colour conversion, parallel restart-interval encoding and DCT-domain downscaling.
  • Colour standards: LUT results match ImageMagick, ffmpeg and OpenColorIO to within rounding. See docs/standards.md.

Benchmark

Measured with bench/run.sh on an 8-core Intel Core Ultra 7 258V laptop (30 GB, Linux), idle, against darktable 5.6.2, RawTherapee 5.13, ImageMagick 7.1.2, libvips 8.14, LibRaw 0.22.3 and rawpy 0.28 (LibRaw for Python). Each cell is the mean wall time of the whole command (process start to file written), hyperfine with warm-up. Full tables, peak memory, contact sheets and every command are in bench/results/REPORT.md.

taskpixcliarawpy³LibRaw¹libvipsImageMagickdarktableRawTherapee
RAW → full-size JPEG, Sony ARW 24 MP1.06 s1.41 s2.95 sn/a4.61 s4.52 s8.84 s
RAW → full-size JPEG, Canon CR3 20 MP0.86 s1.14 s2.59 sn/a3.43 s3.75 s5.80 s
RAW → full-size JPEG, Canon CR2 30 MP1.51 s2.57 s4.44 sn/a6.38 s5.08 s13.39 s
RAW → full-size JPEG, DNG 24 MP1.29 s1.91 s3.90 sn/a4.75 s4.66 s10.55 s
RAW → full-size JPEG, Panasonic GX80 16 MP0.68 s1.27 s2.25 sn/a2.96 s3.51 s5.44 s
RAW → 1024 px preview, Sony ARW0.12 s0.75 s0.57 sn/a3.69 s2.32 s7.34 s
RAW → 1024 px preview, Canon CR30.50 s0.55 s0.65 sn/a3.09 s2.12 s4.78 s
24 MP JPEG + 33³ .cube LUT1.23 sn/an/a13.12 s3.98 s3.98 s²
24 MP JPEG, edit + resize to 2048 px0.56 sn/a0.94 s1.56 s3.38 s2.26 s
batch of 20 × 24 MP JPEGs, edit + resize4.27 sn/a5.13 s9.79 s30.80 s31.63 s
batch of 20 × 24 MP JPEGs, edit at full size10.61 sn/a18.85 s40.72 s43.88 s51.52 s

¹ dcraw_emu (AHD demosaic, single-threaded) piped to vips for the JPEG encode; preview with -h half-size decode. ² RawTherapee cannot read .cube, so it uses the equivalent HaldCLUT. ³ A Python script (bench/lib/rawpy_dev.py): rawpy postprocess (LibRaw defaults, camera white balance) and Pillow for the JPEG; preview with half-size develop and a Lanczos resize. Its times include starting Python (about 0.15 s). rawpy develops raw files only. The RAW rows of pixclia, rawpy and LibRaw were measured together, the other rows two days earlier on the same idle machine.

All 20 raw samples (5 formats, 15 bodies) open in pixclia, rawpy, RawTherapee, ImageMagick and LibRaw; darktable fails on the iPhone ProRAW DNG.

What the table does not show, so you can judge it fairly:

  • Looks differ. Each tool's default raw rendering is different (demosaic, tone curve, colour), so T1 compares speed, not output. Compare the looks in the contact sheets.
  • Memory. pixclia trades memory for speed: about 0.5–0.8 GB for one 24 MP raw or JPEG (rawpy uses about 0.34 GB for the same 24 MP raw), and up to 7.4 GB for the full-size 20-image batch (it keeps several images in flight; libvips streams and stays under 100 MB per process). Reducing the peak is the next performance task (see docs/performance.md).
  • LUT output differs from ImageMagick's by a mean of 2.1 to 3.2 levels (0–255), close to darktable and RawTherapee (1.9 to 2.1). The LUT arithmetic itself matches ImageMagick, ffmpeg and OpenColorIO to within rounding (docs/standards.md); the remaining difference comes from JPEG chroma upsampling and encoding.

The charts are generated from the result files by bench/viz/make.py (bench/viz/measure.sh records the scaling and agent-loop numbers).

The harness, the exact command for every tool and the fairness rules are in bench/. Run it yourself with bench/run.sh.

Documentation

Build and test

go build .                      # Go 1.27+, standard library only, no cgo
go test ./...
scripts/fetch-samples.sh        # CC0 raw samples from raw.pixls.us (about 800 MB)
PIXCLIA_SAMPLES=$PWD/samples go test ./internal/raw/ ./internal/develop/

Contributions are welcome. Please read CONTRIBUTING.md first: the project is clean-room, and its licensing rules for raw decoders are strict.

Licence

MIT (see LICENSE). Three files are ported from LibRaw and stay under LibRaw's CDDL-1.0 option, a file-level licence: the Canon CRX codec, the Panasonic RawFormat 8 decoder and the camera colour-matrix table. Two JPEG files are adapted from Go's BSD-licensed image/jpeg. All of them are listed in NOTICE. Test assets keep their own open licences (see standards/README.md).

Reviews

No reviews yet

Be the first to review this server!