cyber-chef-mcp
CyberChef MCP lets AI agents deterministically deobfuscate, decode, hash, and triage suspicious data through MCP tools.
Run multi-stage CyberChef recipes across 28 operations (Base64, Hex, XOR, ROT13, AES, hashing, regex, JSON, etc.).
Auto-detect unknown encodings, hashes, ciphers, and compression with heuristic magic analysis.
Encode/decode Base64, hex, URL encoding, ROT13, and XOR with structured binary-safe outputs.
Calculate Shannon entropy calibrated to alphabet ceilings to flag packed or encrypted data.
Classify modern password hashes (Argon2, scrypt, PBKDF2, bcrypt) and audit parameters.
Decode JWTs and inspect headers, claims, expiration, and dangerous none algorithms.
Extract/redact DLP and PII entities such as credit cards with Luhn checks, SSNs, PAN, IBAN, IPs, AWS keys, emails, JWTs, and private keys.
Defang malicious URLs, domains, IPs, and emails for safe reporting.
Perform one-shot security triage combining DLP, entropy, magic detection, severity findings, and remediation steps.
Search the built-in operation catalog for available tools and recipe names.
Allows Codeium/Windsurf agents to execute CyberChef operations for reverse engineering, cryptography, and security analysis.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@cyber-chef-mcp Decode this JWT token and show when it expires"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
š³ CyberChef MCP Server
Deterministic Cryptographic Engine & Multi-Stage Deobfuscation Layer for AI Agents
A pure-JavaScript Model Context Protocol (MCP) server that empowers autonomous AI agents (Claude Code, Cursor, Windsurf, Codex, Strix) to execute complex multi-stage deobfuscation recipes, evaluate calibrated Shannon entropy, parse modern password hashes (Argon2/bcrypt), and scan for PII/DLP data without LLM hallucination.
š Live Cloud Dashboard ⢠┠Remote SSE Endpoint ⢠š¦ NPM Package ⢠š MCP Server Card ⢠š¤ llms.txt
š Live Cloud Deployment (Azure App Service)
CyberChef MCP is continuously hosted on Microsoft Azure with full HTTPS, SSE streaming, and discovery endpoints active:
Endpoint | Method | URL | Description |
Deobfuscation Sandbox |
| Interactive web dashboard, live in-browser recipe execution & agent configuration hub | |
Remote MCP SSE |
| Remote Server-Sent Events MCP endpoint for cloud-connected AI agents | |
JSON-RPC Messages |
| Bidirectional MCP JSON-RPC execution gateway | |
Health Probe |
| Real-time liveness check reporting server status and tool count ( | |
MCP Server Card |
| Standardized Model Context Protocol discovery catalog and schema | |
Agent llms.txt |
| Compact machine-readable reference optimized for LLM reasoning ingestion |
Related MCP server: CyberChef MCP Server
ā” Token Economics: Why Use CyberChef MCP?
Instead of burning thousands of output tokens having an LLM write, debug, and execute Python scripts in a sandbox, CyberChef MCP provides instantaneous, deterministic execution in a single tool call:
Task | Standard LLM (Python Execution) | CyberChef MCP Tool Call | Token Savings | Latency Speedup |
Multi-layer Deobfuscation (Hex ā XOR ā B64) | 3 turns, ~1,850 tokens, 4,200ms | 1 turn, ~28 tokens, 0.04ms | 98.5% fewer tokens | 105,000x faster |
Shannon Entropy Calculation | 2 turns, ~920 tokens, 2,100ms | 1 turn, ~18 tokens, 0.016ms | 98.0% fewer tokens | 131,250x faster |
JWT Decode & Expiry Check | 2 turns, ~750 tokens, 1,800ms | 1 turn, ~22 tokens, 0.022ms | 97.1% fewer tokens | 81,800x faster |
flowchart LR
A[Untrusted / Obfuscated Payload] --> B[CyberChef Engine Core]
B --> C{Execution Mode}
C -->|Multi-Stage Pipeline| D[Sequential Recipe Bake<br>B64 ā XOR ā Gunzip ā JSON]
C -->|Unknown Encoding| E[Magic Heuristic Engine<br>Brute-Force & Byte Profiling]
D & E --> F[Security & Forensics Layer<br>Calibrated Entropy / PHC Hashes / Luhn DLP / Safe Defang]
F --> G[ReDoS Guard & Provenance Isolation]
G --> H[Compact Bounded Result to AI Agent]š Quick Start & Integration
Option 1: Remote Azure SSE (Zero Setup Needed)
Connect your AI agent directly to the live cloud endpoint without installing any local packages:
In Claude Desktop (claude_desktop_config.json)
{
"mcpServers": {
"cyberchef-cloud": {
"url": "https://cyber-chef-mcp-ehcdg4a5ebehgvc2.eastasia-01.azurewebsites.net/sse"
}
}
}In Cursor (~/.cursor/mcp.json)
{
"mcpServers": {
"cyberchef": {
"url": "https://cyber-chef-mcp-ehcdg4a5ebehgvc2.eastasia-01.azurewebsites.net/sse"
}
}
}Option 2: Local Stdio via NPX (Recommended for Local Privacy)
Run locally on your workstation for zero network latency, air-gapped security, and offline operation:
Configuration (claude_desktop_config.json or mcp.json)
{
"mcpServers": {
"cyberchef": {
"command": "npx",
"args": ["-y", "@noorfatima123456/cyber-chef-mcp@latest"]
}
}
}Via Claude Code CLI
claude mcp add cyberchef -- npx -y @noorfatima123456/cyber-chef-mcp@latestVia Smithery (1-Click Install)
npx -y @smithery/cli install @noor-202401938/cyber-chef-mcp --client claudeš ļø MCP Tools Catalog (17 Primary Forensic & Crypto Operations)
Tool Name | Parameters | Forensic Purpose & Description |
|
| Multi-Stage Recipe Pipeline: Execute complex sequential operations across 28+ core decoders (Hex $\to$ XOR $\to$ Base64 $\to$ Gunzip) with timeout and memory safety guards. |
|
| Automated Heuristic Decoder: Automatically identifies unknown encodings, single-byte XOR keys, and compressed data streams without prior knowledge. |
|
| JWT Token Dissector: Decodes Jose headers and payload claims, formats expiration timestamps, and validates signature presence. |
|
| Calibrated Shannon Entropy: Measures randomness calibrated against theoretical alphabet maxes (Hex max 4.0, Base64 max 6.0, Raw max 8.0) to flag packed malware or encryption. |
|
| Modern Password Hash Analyzer: Classifies PHC-formatted hashes (Argon2id/i/d, scrypt, PBKDF2) and bcrypt ($2a, $2b, $2y) with parameter audits (memory, time, parallelism). |
|
| Enterprise DLP Scanner: Extracts and redacts sensitive PII: Credit Cards (with Mod-10 Luhn checksum), US SSN, India PAN, IBAN, strict IPv4/IPv6, AWS access keys, and emails. |
|
| Scoped Indicator Defanging: Neutralizes malicious URLs, IPs, and emails ( |
|
| Structured Base64 Decoder: Decodes Base64 returning |
|
| Base64 Encoder: Encodes strings to standard or URL-safe Base64. |
|
| Structured Hex Decoder: Converts hexadecimal byte strings to structured text and raw binary buffers. |
|
| Hexadecimal Encoder: Converts strings to byte-aligned hexadecimal representations. |
|
| Binary-Safe XOR Cipher: Bitwise encryption and decryption supporting UTF-8, Hex, and single-byte keys. |
|
| Caesar Rotation Cipher: Applies classic ROT13 or custom rotational character shifts. |
|
| URL Percent-Decoder: Decodes percent-encoded query strings and URI components. |
|
| URL Percent-Encoder: Safely encodes special characters for web queries. |
|
| Cryptographic Hashing: Generates standard SHA-256 digests. |
|
| Dynamic Operation Catalog: Introspects available operations and schemas dynamically on demand. |
š¬ Empirical Claims Audit & Verification
CyberChef MCP was evaluated against an empirical verification test suite with cryptographic algorithms, adversarial regexes, and corrupted payloads:
================================================================================
š EMPIRICAL CLAIMS AUDIT: 9/9 CYBERCHEF CLAIMS VERIFIED (100% PASS RATE)
================================================================================
[C1] Core Cipher Involutions ā
Bidirectional lossless recovery (Base64/Hex/ROT13/XOR)
[C2] Multi-Stage Recipe Execution ā
Successfully reversed Base64 -> XOR -> Gunzip pipeline
[C3] Heuristic Magic Detection ā
Brute-forced XOR key 0x42 and recovered obfuscated string
[C4] Modern PHC Hash Analysis ā
Parsed Argon2id memory (64MB), lanes, salt & bcrypt cost
[C5] Calibrated Shannon Entropy ā
Repetitive: 0.00 bits; High-entropy: 5.43 bits (0.904 ratio)
[C6] DLP Scanner (Luhn Verification)ā
Verified valid Visa, rejected bogus card, masked SSN
[C7] Precise Indicator Defanging ā
Defanged URL & refanged back to exact byte-for-byte original
[C8] ReDoS Backtracking Defense ā
Intercepted (a+)+$ nested quantifier before CPU starvation
[C9] Untrusted Payload Isolation ā
Returned adversarial strings as inert data without evaluationšļø Part of Project Hisaar (ŲŲµŲ§Ų±)
CyberChef MCP powers the deep analysis engine inside Hisaar, the grassroots bilingual AI cybersecurity platform for Pakistan. While Hisaar provides automated AST remediation and community scam protection, cyber-chef-mcp is open-sourced as a standalone foundation for the global AI security ecosystem.
š·ļø Discoverability Tags & Keywords
mcp, mcp-server, cyberchef, cyber-chef-mcp, modelcontextprotocol, cybersecurity, agentic-ai, claude, cursor, windsurf, strix, cryptography, deobfuscation, reverse-engineering, dlp, entropy, argon2, bcrypt, jwt, aes-256, threat-hunting, defang, azure-app-service.
š License
Apache-2.0 Ā© 2026 Noor Fatima
Available Tools
18 toolscyberchef_analyse_hashA
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.
Inputs: hash (required).
cyberchef_bakeA
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.
Inputs: input (required), recipe (required).
cyberchef_defang_urlA
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]'.
Inputs: url (required).
cyberchef_entropyA
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.
Inputs: input (required).
cyberchef_extract_entitiesA
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.
Inputs: text (required).
cyberchef_from_base64A
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.
Inputs: input (required), urlSafe.
cyberchef_from_hexA
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.
Inputs: input (required), delimiter.
cyberchef_helpA
Searches the built-in catalog of 28 core CyberChef operations to find available tools, supported recipe names, and operation parameters by keyword or category.
Inputs: query.
cyberchef_jwt_decodeA
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.
Inputs: token (required).
cyberchef_magicA
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.
Inputs: input (required).
cyberchef_rot13A
Applies the ROT13 substitution cipher or an arbitrary Caesar cipher shift to alphabetic characters while preserving case and non-alphabet symbols.
Inputs: input (required), amount.
cyberchef_sha256A
Calculates the cryptographic SHA-256 digest of the input string and returns the resulting 64-character hexadecimal checksum.
Inputs: input (required).
cyberchef_strix_triageA
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.
Inputs: input (required).
cyberchef_to_base64A
Encodes arbitrary text or byte data into standard RFC 4648 or URL-safe Base64 string representation.
Inputs: input (required), urlSafe.
cyberchef_to_hexB
Converts UTF-8 text or character data into its hexadecimal byte representation with optional custom delimiter formatting.
Inputs: input (required), delimiter.
cyberchef_url_decodeA
Decodes percent-encoded URL query strings and path segments into standard UTF-8 characters.
Inputs: input (required).
cyberchef_url_encodeA
Encodes reserved and unsafe characters in a string into standard percent-encoded format (%XX) for safe URL transmission.
Inputs: input (required), encodeAll.
cyberchef_xorA
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.
Inputs: key (required), input (required), keyFormat.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelogā¦
TDQS
Scored across 18 tools
cyberchef_bake can perform most operations offered by individual tools (from/to_base64, from/to_hex, url encode/decode, rot13, xor, sha256), so an agent must decide between a single-purpose tool and the general pipeline. Additionally, cyberchef_magic, cyberchef_strix_triage, cyberchef_analyse_hash, and cyberchef_entropy overlap in forensic analysis, though descriptions clarify intended use cases.
All tools share the cyberchef_ prefix and snake_case, which is consistent. However, some names are noun-like (entropy, sha256, magic) while others are verb_noun (defang_url, extract_entities), so the pattern is not perfectly uniform.
18 tools is slightly above the typical 3-15 range, but each corresponds to a distinct CyberChef operation or helper, and the set is not excessive for a CyberChef wrapper with 28 core operations. The mix of single-operation tools and meta-tools (magic, triage, help) feels purposeful.
The general cyberchef_bake tool covers all 28 core operations, so agents can perform missing tasks like MD5/SHA1/SHA512, AES, HTML entities, JSON beautify, and regex via recipes. However, dedicated tools for these common operations are absent, which may require extra steps.
Maintenance
Related MCP Connectors
MCP tool marketplace for AI agents: web, OSINT, security and research tools through one key.
MCP tools for agents: web research, content extraction, email, DNS, and blockchain intelligence.
OCR, transcription, file extraction, and image generation for AI agents via MCP.
Enrich, search, assess, and manage threat intelligence through 80+ typed MCP tools.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceEnables AI agents to discover, execute, and validate CyberChef operations for data encoding, decoding, encryption, and transformation tasks. Provides structured access to CyberChef's extensive catalog of data manipulation tools through natural language interactions.-
- AlicenseBqualityAmaintenanceGCHQ CyberChef's 504 data-transformation operations as MCP tools ā encryption, encoding, compression and forensics ā w/ 19 analysis tools for work a single operation cannot express, such as: hash identification, RSA and ECDSA attacks, XOR key-length recovery, cipher solving, X.509 chain validation and NIST post-quantum identification (ML-KEM/ML-DSA/SLH-DSA).23186 npm38GPL 3.0
- AlicenseBqualityDmaintenanceEnables LLM clients to encode, decode, and transform data using CyberChef operations via an MCP server that interfaces with the CyberChef API.344MIT
- FlicenseAqualityDmaintenanceEnables AI assistants to perform defensive security tasks such as vulnerability detection, CVE lookup, phishing/link safety checks, and security report generation via MCP tools.23-