Skip to content
BEAD

Bitwise Calculator

Perform AND, OR, XOR, NOT, and shift operations across binary, decimal, and hex with a bit-by-bit view.

Inputs accept 0x, 0b, 0o prefixes or plain decimal/binary/hex.
Result (decimal)15
Result (hex)0x0000000F
Result (binary)0000 0000 0000 0000 0000 0000 0000 1111
Bit-by-bit alignment
A0000 0000 0000 0000 0000 0000 1111 1111
B0000 0000 0000 0000 0000 0000 0000 1111
AND0000 0000 0000 0000 0000 0000 0000 1111
</>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/bitwise-calculator/run \
  -H "Content-Type: application/json" \
  -d '{
  "op": "AND",
  "a": "a",
  "width": 32
}'
JavaScript (fetch)
const res = await fetch("https://api.b-e-a-d.com/tools/bitwise-calculator/run", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
  "op": "AND",
  "a": "a",
  "width": 32
}),
});
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_bitwise_calculator

Full reference: developer docs · OpenAPI spec

You might also like