cyber-chef-mcp
v1.0.16Model Context Protocol (MCP) Server with 28 core CyberChef data transformations, ciphers, and payload deobfuscation for AI Agents (Claude, Cursor, Windsurf…
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
cyberchef_bake
Executes a multi-stage sequential data transformation pipeline ('recipe') on the input string across 28 core CyberChef operations (Base64, Hex, URL, HTML entities, XOR, ROT13, AES-CBC Encrypt/Decrypt, MD5, SHA1, SHA256, SHA512, Entropy, Magic, JWT, Defang, Dual-stack IP, DLP entities, Strings, JSON Beautify, Regex, Reverse, Find/Replace). Limits: 5000ms execution timeout, 10MB memory cap per recipe.
| Parameter | Type | Description |
|---|---|---|
input * | string | The raw, encoded, or obfuscated input string to process through the transformation pipeline. |
recipe * | array | Ordered array of recipe steps to execute in sequence. |
cyberchef_magic
Performs heuristic forensic analysis on suspicious or obfuscated strings to detect encoding formats (Base64, Hex, URL encoding), hash signatures (MD5, SHA1, SHA256), ciphers, and compression. Returns detected patterns, confidence scores, and recommended CyberChef recipes.
| Parameter | Type | Description |
|---|---|---|
input * | string | The unknown or obfuscated string, token, or payload to inspect and analyze. |
cyberchef_help
Searches the built-in catalog of 28 core CyberChef operations to find available tools, supported recipe names, and operation parameters by keyword or category.
| Parameter | Type | Description |
|---|---|---|
query | string | Optional search term to filter operations (e.g., 'base64', 'hex', 'hash', 'aes', 'xor', 'jwt', 'forensics'). |
cyberchef_from_base64
Decodes RFC 4648 standard or URL-safe Base64 encoded strings and returns structured output { utf8, hex, isPrintable, byteLength }. Crucial: Distinguishes printable text from raw binary ciphertext/TOTP secrets without mojibake data corruption.
| Parameter | Type | Description |
|---|---|---|
input * | string | The Base64 encoded string to decode (e.g., 'SGVsbG8gV29ybGQ='). |
urlSafe | boolean | Optional boolean. Set to true if input uses URL-safe Base64 ('-' and '_' without padding). |
cyberchef_to_base64
Encodes arbitrary text or byte data into standard RFC 4648 or URL-safe Base64 string representation.
| Parameter | Type | Description |
|---|---|---|
input * | string | The plaintext string or hex-encoded data to encode into Base64 format. |
urlSafe | boolean | Optional boolean. Set to true to generate URL-safe Base64 (replaces '+' with '-' and '/' with '_', omits padding). |
cyberchef_from_hex
Converts a hexadecimal byte string into character data and returns structured output { utf8, hex, isPrintable, byteLength }. Supports raw hex, space-separated bytes, 0x prefixes, and comma delimiters.
| Parameter | Type | Description |
|---|---|---|
input * | string | Hexadecimal string to decode (e.g., '48656c6c6f', '48 65 6c 6c 6f', or '0x480x650x6c'). |
delimiter | string | Optional delimiter between hex bytes. Allowed values: 'None' (default), 'Space', '0x', or 'Comma'. |
cyberchef_to_hex
Converts UTF-8 text or character data into its hexadecimal byte representation with optional custom delimiter formatting.
| Parameter | Type | Description |
|---|---|---|
input * | string | Plaintext string to convert into hex bytes. |
delimiter | string | Optional delimiter between hex pairs. Allowed values: 'None' (default), 'Space', '0x', or 'Comma'. |
cyberchef_url_decode
Decodes percent-encoded URL query strings and path segments into standard UTF-8 characters.
| Parameter | Type | Description |
|---|---|---|
input * | string | The percent-encoded URL string or parameter to decode (e.g., '%41%64%6d%69%6e'). |
cyberchef_url_encode
Encodes reserved and unsafe characters in a string into standard percent-encoded format (%XX) for safe URL transmission.
| Parameter | Type | Description |
|---|---|---|
input * | string | The plaintext string to URL encode. |
encodeAll | boolean | Optional boolean. If true, encodes all characters including alphanumerics into percent format. Default is false. |
cyberchef_rot13
Applies the ROT13 substitution cipher or an arbitrary Caesar cipher shift to alphabetic characters while preserving case and non-alphabet symbols.
| Parameter | Type | Description |
|---|---|---|
input * | string | The text string to rotate using the Caesar/ROT cipher. |
amount | number | Optional integer offset count for rotation. Default is 13 for standard ROT13. |
cyberchef_xor
Applies a bitwise XOR cipher using a repeating key against the input string. Preserves raw binary bytes without UTF-8 corruption. Running XOR twice with the same key restores original plaintext.
| Parameter | Type | Description |
|---|---|---|
input * | string | The ciphertext or plaintext string to process with bitwise XOR. |
key * | string | The secret key used for XOR operations. Can be a text string or hex bytes. |
keyFormat | string | Format of the key string: 'UTF8' (default) or 'Hex'. |
cyberchef_analyse_hash
Identifies probable cryptographic hash algorithms for a given digest based on character set, bit length, and structural signatures. Supports modern password hashes (Argon2id/i/d, scrypt, PBKDF2) with OWASP parameter audits, full bcrypt prefixes ($2$, $2a$, $2b$, $2x$, $2y$), and ranked confidence for hex digests (MD5 vs NTLM vs MD4). Note: Classifies format; does not crack hashes.
| Parameter | Type | Description |
|---|---|---|
hash * | string | The hash digest or password hash string to inspect and classify (e.g., PHC string '$argon2id$...', bcrypt '$2b$...', or 32/64-char hex strings). |
cyberchef_sha256
Calculates the cryptographic SHA-256 digest of the input string and returns the resulting 64-character hexadecimal checksum.
| Parameter | Type | Description |
|---|---|---|
input * | string | The string or payload to hash using SHA-256. |
cyberchef_entropy
Calculates Shannon entropy and saturation against the input alphabet ceiling (Hex max 4.0 bits/char, Base64 max 6.0 bits/char, Raw max 8.0 bits/char). Reports bitsPerChar, maxForAlphabet, normalizedRatio, and totalBits to accurately determine whether data is plaintext, compressed, packed shellcode, or high-entropy ciphertext.
| Parameter | Type | Description |
|---|---|---|
input * | string | The data string or payload representation to analyze for information density and randomness. |
cyberchef_jwt_decode
Decodes and inspects JSON Web Tokens (JWT) without requiring a signature secret. Parses and validates the Jose header, claims payload, algorithm specifications, expiration dates, and detects dangerous 'none' algorithms.
| Parameter | Type | Description |
|---|---|---|
token * | string | The complete encoded JSON Web Token in standard 'header.payload.signature' dot-separated format. |
cyberchef_defang_url
Sanitizes malicious URLs, domains, IPv4 addresses, and email addresses for safe display and reporting. Scoped: defangs protocol (hxxp/hxxps), defangs hostnames and IP dots while preserving path and query string decimals, and converts email '@' to '[at]'.
| Parameter | Type | Description |
|---|---|---|
url * | string | The URL, domain, IP, email, or security log excerpt to defang. |
cyberchef_extract_entities
Enterprise DLP and forensic entity scanner. Extracts and redacts: Credit Cards (with Luhn check), US SSN, India PAN, IBAN, E.164 phone numbers, strict dual-stack IPv4 (validating 0-255 octet range; rejects 999.999.999.999) and IPv6, AWS access keys, JWTs, private keys, URLs, and emails. Returns match type, offset, and masked preview to preserve privacy.
| Parameter | Type | Description |
|---|---|---|
text * | string | The unstructured text, security log, memory dump, or config file from which to extract DLP and forensic artifacts. |
cyberchef_strix_triage
Automated one-shot security triage for autonomous AI agents (Strix, Claude, Cursor). In a single turn, checks an unknown or suspicious string for DLP/PII leaks, calculates alphabet-calibrated entropy, attempts magic recipe detection, and produces actionable severity findings and remediation steps.
| Parameter | Type | Description |
|---|---|---|
input * | string | The suspicious token, log excerpt, parameter, or unknown payload to triage. |