TOTP Code Generator
Generate live 2FA codes from a TOTP secret or otpauth:// URI — useful for testing.
986 670🔒 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 https://api.b-e-a-d.com/tools/totp-generator/run \
-H "Content-Type: application/json" \
-d '{
"input": "your input here"
}'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);# 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_generatorFull 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
- JWT Secret StrengthCheck a JWT signing secret for length, entropy, and known weak values.
- .env File ParserParse a .env file into JSON, with quoted-value and export support — and warn about anything fishy.
- .gitignore BuilderPick languages, frameworks, build tools, editors and OS — get a deduped .gitignore.
- .gitignore GeneratorBuild a .gitignore by picking from common language, framework, and OS templates.