CyberChef MCP Server README

The full upstream README, mirrored for reference. Install config, tool schemas, adoption signals and our own overview live on the CyberChef MCP Server listing page.

🍳 CyberChef MCP Server

Deterministic Cryptographic Engine & Multi-Stage Deobfuscation Layer for AI Agents

Azure Live Deployment NPM Version LightNow capabilities Glama

License Node Support MCP Protocol Zero Dependencies Empirical Claims

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:

EndpointMethodURLDescription
Deobfuscation SandboxGET/Interactive web dashboard, live in-browser recipe execution & agent configuration hub
Remote MCP SSEGET/sseRemote Server-Sent Events MCP endpoint for cloud-connected AI agents
JSON-RPC MessagesPOST/messagesBidirectional MCP JSON-RPC execution gateway
Health ProbeGET/healthReal-time liveness check reporting server status and tool count (17 tools, 28 operations)
MCP Server CardGET/.well-known/mcp/server-card.jsonStandardized Model Context Protocol discovery catalog and schema
Agent llms.txtGET/llms.txtCompact machine-readable reference optimized for LLM reasoning ingestion

⚑ 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:

TaskStandard LLM (Python Execution)CyberChef MCP Tool CallToken SavingsLatency Speedup
Multi-layer Deobfuscation (Hex β†’ XOR β†’ B64)3 turns, ~1,850 tokens, 4,200ms1 turn, ~28 tokens, 0.04ms98.5% fewer tokens105,000x faster
Shannon Entropy Calculation2 turns, ~920 tokens, 2,100ms1 turn, ~18 tokens, 0.016ms98.0% fewer tokens131,250x faster
JWT Decode & Expiry Check2 turns, ~750 tokens, 1,800ms1 turn, ~22 tokens, 0.022ms97.1% fewer tokens81,800x faster
mermaid
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)

config.json
{
  "mcpServers": {
    "cyberchef-cloud": {
      "url": "https://cyber-chef-mcp-ehcdg4a5ebehgvc2.eastasia-01.azurewebsites.net/sse"
    }
  }
}

In Cursor (~/.cursor/mcp.json)

config.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)

config.json
{
  "mcpServers": {
    "cyberchef": {
      "command": "npx",
      "args": ["-y", "@noorfatima123456/cyber-chef-mcp@latest"]
    }
  }
}

Via Claude Code CLI

Terminal
claude mcp add cyberchef -- npx -y @noorfatima123456/cyber-chef-mcp@latest

Via Smithery (1-Click Install)

Terminal
npx -y @smithery/cli install @noor-202401938/cyber-chef-mcp --client claude

πŸ› οΈ MCP Tools Catalog (17 Primary Forensic & Crypto Operations)

Tool NameParametersForensic Purpose & Description
cyberchef_bakeinput: string
recipe: array
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.
cyberchef_magicinput: stringAutomated Heuristic Decoder: Automatically identifies unknown encodings, single-byte XOR keys, and compressed data streams without prior knowledge.
cyberchef_jwt_decodetoken: stringJWT Token Dissector: Decodes Jose headers and payload claims, formats expiration timestamps, and validates signature presence.
cyberchef_entropyinput: stringCalibrated 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.
cyberchef_analyse_hashhash: stringModern Password Hash Analyzer: Classifies PHC-formatted hashes (Argon2id/i/d, scrypt, PBKDF2) and bcrypt ($2a, $2b, $2y) with parameter audits (memory, time, parallelism).
cyberchef_extract_entitiestext: stringEnterprise 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.
cyberchef_defang_urlurl: stringScoped Indicator Defanging: Neutralizes malicious URLs, IPs, and emails (hxxps://...[.]com) while preserving decimal query and path parameters.
cyberchef_from_base64input: string
urlSafe?: boolean
Structured Base64 Decoder: Decodes Base64 returning { utf8, hex, isPrintable, byteLength }, preventing undecodable mojibake on binary ciphertext.
cyberchef_to_base64input: string
urlSafe?: boolean
Base64 Encoder: Encodes strings to standard or URL-safe Base64.
cyberchef_from_hexinput: string
delimiter?: string
Structured Hex Decoder: Converts hexadecimal byte strings to structured text and raw binary buffers.
cyberchef_to_hexinput: string
delimiter?: string
Hexadecimal Encoder: Converts strings to byte-aligned hexadecimal representations.
cyberchef_xorinput: string
key: string
keyFormat?: string
Binary-Safe XOR Cipher: Bitwise encryption and decryption supporting UTF-8, Hex, and single-byte keys.
cyberchef_rot13input: string
amount?: number
Caesar Rotation Cipher: Applies classic ROT13 or custom rotational character shifts.
cyberchef_url_decodeinput: stringURL Percent-Decoder: Decodes percent-encoded query strings and URI components.
cyberchef_url_encodeinput: string
encodeAll?: boolean
URL Percent-Encoder: Safely encodes special characters for web queries.
cyberchef_sha256input: stringCryptographic Hashing: Generates standard SHA-256 digests.
cyberchef_helpquery?: stringDynamic 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:

Code
================================================================================
🏁 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