# Background removal for AI agents > morigraph's background removal tool lets Claude, ChatGPT, Cursor or Codex cut the subject out of a saved PNG or JPEG and return it on a transparent background, or on a flat colour you choose. It costs no credits, and it works through the MCP connection on files saved in your workspace. - **Tool name**: `background_remove` - **Price**: Free: no credits - **Call it from**: MCP (it works on files saved in your workspace) - **Needs**: one morigraph connection; no vendor account or API key ## What it is for - **Product shots**: A clean cut-out on white or on transparency. - **Profile and team photos**: The same background colour behind everyone. - **Assets for slides and posts**: A subject you can place on any design. ## How to call it In your assistant (MCP). Connect once, then ask in plain words: ```sh claude mcp add --transport http --scope user morigraph https://morigraph.com/mcp Remove the background from the product photo I uploaded and put it on white. ``` What comes back: A job. When it finishes, a new image is saved to your workspace: a transparent PNG, or the subject on the colour you asked for. ## Arguments | Argument | Type | Required | What it is | |---|---|---|---| | `request_key` | string | yes | Stable key for this job; reuse on transport retries. | | `source` | object | yes | The saved PNG or JPEG, up to 10 MiB, 4096 pixels a side and 16 million pixels. | | `background` | string | no | Optional flat colour to put behind the subject, as #RRGGBB (for example #FFFFFF). Omit for a transparent background. | ## Good to know - Images can be up to 10 MiB, 4,096 pixels a side and 16 million pixels. - It is not available through the API or command line, because it works on files saved in a workspace. - To replace the background with a new scene, use image editing. ## When to choose something else Choose a dedicated service such as remove.bg when you need the finest edges on hair and fur at volume, or an API you can call with a file from your own code. ## Is background removal free on morigraph? Yes. It runs on morigraph's own machines and costs no credits. ## Can I choose the new background? You can leave it transparent or set one flat colour. For a new scene behind the subject, use the image editing tool. ## Related tools - [Image editing](https://morigraph.com/tools/image-editing.md): 0.4 to 8 credits an edit - [Photo editing](https://morigraph.com/tools/photo-editing.md): free - [Image generation](https://morigraph.com/tools/image-generation.md): 0.6 to 1.8 credits a call - [All tools](https://morigraph.com/tools.md) --- Canonical page: https://morigraph.com/tools/background-removal/ Prices read from the production service on 2026-11-27. Connect: https://morigraph.com/connect.md · API docs: https://morigraph.com/docs.md · Site overview: https://morigraph.com/llms.txt