nukebg.
MCP server

Remove backgrounds from Claude, Cursor and VS Code.

NukeBG's remote MCP server gives AI assistants four tools: remove a background, remove objects, upscale an image and check your credits. Add one URL and your API key to your client, then ask in plain words. Results come back as download links.

URLhttps://api.nukebg.com/mcp

Connect your client

Replace YOUR_NUKEBG_KEY with a key from your account page.

claude mcp add --transport http nukebg https://api.nukebg.com/mcp \n  --header "X-Api-Key: YOUR_NUKEBG_KEY"

Tools

remove_background
Transparent cutout, or the subject on white, a colour, a gradient or a built-in scene, at an optional Amazon, Shopify, Etsy, eBay or Instagram size.
1 credit (HD 2, Ultra 4)
erase_objects
Removes what you describe, such as "the cables on the desk". Everything else stays pixel for pixel.
25 credits (enhance 40)
upscale_image
2× or 4× Real-ESRGAN upscale.
2 or 4 credits
get_credits
Balance and plan for the key.
Free

Try asking

  • “Remove the background from https://example.com/shoe.jpg and put it on white at Amazon size.”
  • “Cut out every product image in this list and give me the download links.”
  • “Remove the coffee cup from this photo, then upscale it 2×.”
  • “How many NukeBG credits do I have left?”

Prefer code? Use the SDKs

Node, Python and Go clients with no dependencies, plus drop-in replacements for remove.bg's own libraries.

npm install nukebg

import { NukeBG } from "nukebg";

const nukebg = new NukeBG({ apiKey: process.env.NUKEBG_API_KEY });
const result = await nukebg.removeBackground("shoe.jpg", { background: "white", size: "amazon" });
await writeFile("shoe.png", result.data);

MCP server FAQ

A remote Model Context Protocol server at https://api.nukebg.com/mcp. It lets AI assistants and agents call NukeBG's background removal, object removal and upscaling tools with your API key.

Start with 50 free credits

Create a key, add the server, and ask your assistant to remove a background.