# Cutout Labs

The Cutout Labs MCP server for Claude Code removes an image background and produces a transparent cutout. An agent can call it with a local image or an image URL.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · ★ 1 repo stars
- Author: cutout-labs
- License: MIT · policy=link-only · description only; the file stays with the author
- Source: https://github.com/cutout-labs/mcp
- Updated: 2026-11-12
- Security check: automated, 2026-11-17 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/mcp/cutout-labs

## What it does

Cutout Labs separates the subject from its background and writes an image with transparency. It accepts a local file path or a URL; when given a local file, it places the result beside that file.

The `remove_background` tool accepts optional settings for output format and size, background colour, cropping, and the subject region. `get_quota` reports the remaining free calls for the day, with the count resetting at 00:00 UTC. Inputs above 12 MB exceed the stated limit.

A `CUTOUTLABS_API_KEY` is required. Local setup runs `npx -y @cutoutlabs/mcp`; the hosted endpoint at `https://api.cutoutlabs.com/mcp` is another option and takes the key in an authorization header.

## Requirements
- Needs: Node.js (commands run via npx)
- Remote server: `https://api.cutoutlabs.com/mcp`
- Environment variables: `CUTOUTLABS_API_KEY` — keys and tokens: ask the human for the values, never commit them or put them in shared files.

## Install

### Claude Code (native platform)

1. **Platform CLI**
```bash
claude mcp add mcp -e CUTOUTLABS_API_KEY=<CUTOUTLABS_API_KEY> -- npx -y @cutoutlabs/mcp
```
Replace <…> with your own values

2. **Platform CLI: remote server**
```bash
claude mcp add --transport http cutout-labs https://api.cutoutlabs.com/mcp
```

### Codex

1. **Platform CLI: remote server**
```bash
codex mcp add cutout-labs --url https://api.cutoutlabs.com/mcp
```

2. **Platform CLI**
```bash
codex mcp add cutout-labs --env CUTOUTLABS_API_KEY=<CUTOUTLABS_API_KEY> -- npx -y @cutoutlabs/mcp
```
Replace <…> with your own values

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "cutout-labs": {
            "url": "https://api.cutoutlabs.com/mcp"
        }
    }
}
```
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "cutout-labs": {
            "command": "npx",
            "args": [
                "-y",
                "@cutoutlabs/mcp"
            ],
            "env": {
                "CUTOUTLABS_API_KEY": "<CUTOUTLABS_API_KEY>"
            }
        }
    }
}
```
Replace <…> with your own values

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "cutout-labs": {
            "type": "http",
            "url": "https://api.cutoutlabs.com/mcp"
        }
    }
}
```
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "cutout-labs": {
            "type": "stdio",
            "command": "npx",
            "args": [
                "-y",
                "@cutoutlabs/mcp"
            ],
            "env": {
                "CUTOUTLABS_API_KEY": "<CUTOUTLABS_API_KEY>"
            }
        }
    }
}
```
Replace <…> with your own values

### Gemini CLI

1. **Platform CLI: remote server**
```bash
gemini mcp add -t http cutout-labs https://api.cutoutlabs.com/mcp
```

2. **Platform CLI**
```bash
gemini mcp add -e CUTOUTLABS_API_KEY=<CUTOUTLABS_API_KEY> cutout-labs npx -y @cutoutlabs/mcp
```
Replace <…> with your own values

## When to use it
- remove the background from a local image
- cut out a subject from an image URL
- choose an output format for the cutout
- check the remaining free calls for today

## Example prompts
- Remove the background from `product.png` and save the cutout beside it.
- Process this image URL and return the subject on a transparent background.
- How many free calls are left for today?

## Similar
- [transparent-cutout-cleanup](https://affpapa.org/en/nevibecode/skills/transparent-cutout-cleanup.md) — skill · ★ 51 repo stars
- [background-removal](https://affpapa.org/en/nevibecode/skills/background-removal.md) — skill · 491 installs
- [each::labs](https://affpapa.org/en/nevibecode/mcp/eachlabs.md) — MCP server · ★ 1 repo stars
- [remove-background](https://affpapa.org/en/nevibecode/skills/remove-background.md) — skill · 7600 installs
- [Image Resizer — Resize, Convert PNG/JPEG/WebP](https://affpapa.org/en/nevibecode/mcp/image-resizer-resize-convert-pngjpegwebp.md) — MCP server · 2110 installs
- [meme-maker](https://affpapa.org/en/nevibecode/skills/meme-maker.md) — skill · 350 installs

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
