Skip to content
BEAD

ANSI Escape Stripper

Remove ANSI color codes and terminal control sequences from CI logs or terminal captures.

Stripped (48 chars, −46)
</>Use this tool programmaticallycurl · JavaScript · MCP

Same tool, callable from any HTTP client or from Claude (via MCP). Anonymous: 100 req/day per IP. Sign up for 1,000 req/day.

curl
curl https://api.b-e-a-d.com/tools/ansi-stripper/run \
  -H "Content-Type: application/json" \
  -d '{
  "input": "your input here",
  "stripLiteral": true
}'
JavaScript (fetch)
const res = await fetch("https://api.b-e-a-d.com/tools/ansi-stripper/run", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
  "input": "your input here",
  "stripLiteral": true
}),
});
const data = await res.json();
console.log(data.result);
MCP (Claude Desktop / Claude Code)
# In Claude Desktop / Claude Code, add to your MCP config:
{
  "mcpServers": {
    "bead": {
      "command": "npx",
      "args": ["-y", "mcp-remote", "https://mcp.b-e-a-d.com"]
    }
  }
}

# Then ask Claude to call:
mcp__bead__bead_ansi_stripper

Full reference: developer docs · OpenAPI spec

What it removes

  • Colors and styles — \x1b[31m, \x1b[1;33m, etc.
  • Cursor movement, screen clearing, and other CSI sequences
  • OSC sequences (window titles, hyperlinks)
  • Common terminal control characters

Use it for

Pasting CI logs, screen-grabbed terminal output, or any colored tool output into something that can't render escape codes.

You might also like

Used in these workflows