API & MCP
Everything a person can do on Keysmith, a program or AI agent can do with the same inputs and get the identical result.
HTTP API
GET https://keysmith.usefulweb.site/api/v1/tools– catalogGET https://keysmith.usefulweb.site/api/v1/tools/{id}– inputs, output schema, examplesPOST https://keysmith.usefulweb.site/api/v1/tools/{id}/calculate– run a toolGET https://keysmith.usefulweb.site/api/v1/workflows·POST https://keysmith.usefulweb.site/api/v1/workflows/{id}/run- OpenAPI 3.1: /openapi.json · /openapi.yaml
- Errors:
application/problem+json;422includes per-fielderrors.
Tools on Keysmith
- X.509 / ASN.1 Certificate Inspector – Decode X.509 certificates, chains and CSRs: SANs, usages, CT SCTs, chain order and an ASN.1 tree.
x509_certificate_inspector - RSA/ECC Key Inspector – Inspect PEM, DER, JWK or OpenSSH keys: type, size, curve, fingerprints, thumbprint and weaknesses.
rsa_ecc_key_inspector - TLS Cipher-Suite Simulator – See which TLS version, cipher and group browsers, Android, Java and OpenSSL get from your server.
tls_cipher_suite_simulator - Hash & HMAC Calculator – MD5, SHA-2, SHA-3, BLAKE2, CRC32 and HMAC of text or files, with checksum compare.
hash_hmac_calculator - Password & Passphrase Generator – Strong random passwords and passphrases with exact entropy.
password_generator - Password Entropy Race – Race 2–6 passwords or passphrases: entropy, pattern penalties and crack times.
password_entropy_race - Private Breach Checker – Check if a password appears in known breaches without revealing it (k-anonymity).
private_breach_checker - Key Derivation Lab – Derive keys with PBKDF2, scrypt, Argon2id and HKDF; compare costs with OWASP advice.
key_derivation_lab - Crypto Kitchen – CyberChef-style recipes: chain encodings, compression, hashes, AES, JWT and more, step by step.
crypto_kitchen - CyberChef-lite Pipeline – One-click decoding recipes: JWT, base64 → gunzip → JSON, double URL decode, hex dump.
cyberchef_lite_pipeline - Shamir Secret Sharing – Split a secret into n shares so any k recover it, and combine shares.
shamir_secret_sharing - Passkey & WebAuthn Tester – Test passkeys and decode WebAuthn responses: flags, AAGUID, signatures.
passkey_webauthn_tester - Local File Encryption Studio – Encrypt and decrypt files with AES-256-GCM and a password.
file_encryption_studio - Emoji Cipher Playground – Turn secret notes into emoji and back: substitution, Caesar shift and base-emoji.
emoji_cipher_playground
Every result contains
inputs (normalised, defaults applied), summary, result (validated against the published schema), units, assumptions, sources, warnings, computedAt and links.
MCP (Model Context Protocol)
- Streamable HTTP endpoint:
https://keysmith.usefulweb.site/mcp– protocol revisions 2026-07-28 (stateless) and 2025-11-25 / 2025-06-18 / 2025-03-26 (initialize handshake). - Tools:
x509_certificate_inspector,rsa_ecc_key_inspector,tls_cipher_suite_simulator,hash_hmac_calculator,password_generator,password_entropy_race,private_breach_checker,key_derivation_lab,crypto_kitchen,cyberchef_lite_pipeline,shamir_secret_sharing,passkey_webauthn_tester,file_encryption_studio,emoji_cipher_playground - Local stdio connector:
node src/mcp-stdio.ts
{
"mcpServers": {
"usefulweb": { "type": "http", "url": "https://keysmith.usefulweb.site/mcp" }
}
}