Skip to content
BEAD

TOTP Code Generator

Generate live 2FA codes from a TOTP secret or otpauth:// URI — useful for testing.

986 670
16s remaining
Algorithm
SHA1
Digits
6
Period
30s
Time skew check
±30s usually ok

🔒 Secrets are kept in memory and never leave your browser.

</>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/totp-generator/run \
  -H "Content-Type: application/json" \
  -d '{
  "input": "your input here"
}'
JavaScript (fetch)
const res = await fetch("https://api.b-e-a-d.com/tools/totp-generator/run", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
  "input": "your input here"
}),
});
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_totp_generator

Full reference: developer docs · OpenAPI spec

About TOTP

TOTP (RFC 6238) generates a short numeric code that changes every 30 seconds, derived from a shared secret + the current time. It's what apps like Google Authenticator, Authy, and 1Password produce.

Paste either a Base32 secret (e.g. JBSWY3DPEHPK3PXP) or a full otpauth:// URI. SHA-1 / 30 seconds / 6 digits are the defaults — the URI can override any of those.

Heads-up:this is a testing tool. Don't paste production secrets unless you trust this device, and never paste secrets that another person could see your screen for.

You might also like