Cutout Labs — Claude Code MCP server for background removal
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.
MIT ★ 1 updated 2026-11-12
claude mcp add mcp -e CUTOUTLABS_API_KEY=<CUTOUTLABS_API_KEY> -- npx -y @cutoutlabs/mcpWhat Cutout Labs 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.
What it helps with
- 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 for the agent
- Remove the background from
product.pngand 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?
How to install Cutout Labs
1Platform CLI
claude mcp add mcp -e CUTOUTLABS_API_KEY=<CUTOUTLABS_API_KEY> -- npx -y @cutoutlabs/mcpReplace <…> with your own values
2Platform CLI: remote server
claude mcp add --transport http cutout-labs https://api.cutoutlabs.com/mcp1Platform CLI: remote server
codex mcp add cutout-labs --url https://api.cutoutlabs.com/mcp2Platform CLI
codex mcp add cutout-labs --env CUTOUTLABS_API_KEY=<CUTOUTLABS_API_KEY> -- npx -y @cutoutlabs/mcpReplace <…> with your own values
Config file
{
"mcpServers": {
"cutout-labs": {
"url": "https://api.cutoutlabs.com/mcp"
}
}
}{
"mcpServers": {
"cutout-labs": {
"command": "npx",
"args": [
"-y",
"@cutoutlabs/mcp"
],
"env": {
"CUTOUTLABS_API_KEY": "<CUTOUTLABS_API_KEY>"
}
}
}
}Replace <…> with your own values
Config file
{
"servers": {
"cutout-labs": {
"type": "http",
"url": "https://api.cutoutlabs.com/mcp"
}
}
}{
"servers": {
"cutout-labs": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@cutoutlabs/mcp"
],
"env": {
"CUTOUTLABS_API_KEY": "<CUTOUTLABS_API_KEY>"
}
}
}
}Replace <…> with your own values
1Platform CLI: remote server
gemini mcp add -t http cutout-labs https://api.cutoutlabs.com/mcp2Platform CLI
gemini mcp add -e CUTOUTLABS_API_KEY=<CUTOUTLABS_API_KEY> cutout-labs npx -y @cutoutlabs/mcpReplace <…> with your own values
Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more
Questions about Cutout Labs
How do I install Cutout Labs in Claude Code?
Get a Cutout Labs API key, then add the server with claude mcp add mcp -e CUTOUTLABS_API_KEY=<CUTOUTLABS_API_KEY> -- npx -y @cutoutlabs/mcp.
What does Cutout Labs do?
It removes the background from an image supplied as a local path or URL. The output can use PNG, WebP, or JPG.
What does Cutout Labs need to run?
It requires CUTOUTLABS_API_KEY. Local setup uses npx; alternatively, connect to https://api.cutoutlabs.com/mcp and send the key in an authorization header.