API & MCP
Everything a person can do on Crypto Kitchen, a program or AI agent can do with the same inputs and get the identical result.
HTTP API
POST https://cryptokitchen.usefulweb.site/api/v1/calculate– run Crypto KitchenGET https://cryptokitchen.usefulweb.site/api/v1/tool– inputs, output schema, examples- OpenAPI 3.1: /openapi.json · /openapi.yaml
- Errors:
application/problem+json;422includes per-fielderrors.
Crypto Kitchen
Write a recipe of operations, one per line, and run text or a file (up to 10 MB) through it: base64/32/58, hex, URL, HTML entities, Punycode and quoted-printable, gzip/deflate/brotli, hashes and HMAC, AES-GCM/CBC/CTR, XOR, ROT13/Caesar/Vigenère, JWT decode and verify, UUID/ULID parsing, timestamps, JSON, regex extraction, text case, byte swap, entropy and a Magic auto-decoder. Every intermediate result is shown; binary output can be downloaded.
| Field | Type | Default | Description |
|---|---|---|---|
input | textarea | — | Input |
inputFile | file | — | Or upload a file. Any file up to 10 MB, processed as raw bytes. |
inputEncoding | select (text, hex, base64) | "text" | Pasted input is |
recipe | textarea | "from-base64\ngunzip\njson-pretty" | Recipe (one operation per line). Syntax: op-id name=value name="value with spaces". Operations: to-base64, from-base64, to-base64url, to-base32, from-base32, to-base58, from-base58, to-hex (separator?), from-hex, to-hexdump, url-encode (all?), url-decode (plus?), html-encode (nonAscii?), html-decode, punycode-encode, punycode-decode, qp-encode, qp-decode, gzip (level?), gunzip, deflate, inflate, deflate-raw, inflate-raw, brotli-compress (quality?), brotli-decompress, hash (alg?, format?), hmac (alg?, key, format?), crc32, aes-encrypt (mode?, key, iv, aad?, padding?), aes-decrypt (mode?, key, iv, tag?, aad?, padding?), xor (key), rot13, caesar (shift?), vigenere-encode (key), vigenere-decode (key), jwt-decode, jwt-verify (key, alg?), uuid-parse, ulid-parse, timestamp (unit?), json-pretty (indent?, sortKeys?), json-minify, regex-extract (pattern, flags?, group?), text-case (mode?), reverse (unit?), byte-swap (width?), entropy, magic (depth?). Byte arguments accept hex:, b64: or utf8: prefixes. Use @key to insert the secret field. |
key | textarea | — | Secret / key (referenced as @key). Optional: HMAC/JWT secret or a PEM/JWK public key for jwt-verify. Hidden in the results. |
outputFormat | select (auto, text, hex, base64) | "auto" | Show output as |
Example request
Base64 → gunzip → pretty JSON
curl -X POST https://cryptokitchen.usefulweb.site/api/v1/calculate -H 'content-type: application/json' -d '{"input":"H4sIAAAAAAACA6tWKi1OLVKyUkpMSVTSUSrKz0ktVrKKVkpMyc3MU9JRSkktU4rVUUpMLsksS1WyKikqTa0FAJsiBuU0AAAA","recipe":"from-base64\ngunzip\njson-pretty"}'
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://cryptokitchen.usefulweb.site/mcp– protocol revisions 2026-07-28 (stateless) and 2025-11-25 / 2025-06-18 / 2025-03-26 (initialize handshake). - Tools:
crypto_kitchen - Local stdio connector:
node src/mcp-stdio.ts --tool=crypto-kitchen
{
"mcpServers": {
"crypto-kitchen": { "type": "http", "url": "https://cryptokitchen.usefulweb.site/mcp" }
}
}