Skip to main content
Glama

Reverence - Reverse-Engineering MCP Server

An MCP server that gives Claude Code, OpenCode, and any other MCP client a toolbox for static reverse engineering of binaries, executables, DLLs, shared objects, and web-app code.

Static analysis only. Every tool reads the target as data. Reverence never executes, loads, or runs the files it inspects. The optional radare2 bridge is locked to static mode (the debug command family is refused), and Ghidra runs headless auto-analysis without running the target.

What it can do

Tool

Purpose

capabilities

Report which engines are installed (run this if a tool says a dependency is missing).

analyze

One-shot triage: identify + format summary + notable strings + entry-point disassembly. Start here.

identify_file

Format (magic bytes), size, MD5/SHA1/SHA256, entropy (packing hint).

extract_strings

ASCII and UTF-16LE strings with offsets; optional highlighting of URLs, paths, registry keys, and suspicious Win32 APIs.

hexdump_file

hexdump -C-style window (supports negative offsets).

pe_info

Windows .exe/.dll/.sys: headers, machine, subsystem, entry point, imphash, ASLR/DEP/CFG/SEH mitigations, Authenticode state, PDB path, TLS callbacks, per-section entropy, imports/exports.

elf_info

Linux/Unix ELF: header, arch, PIE/NX, interpreter, needed libs, sections, imports/exports.

macho_info

macOS/iOS Mach-O (incl. fat binaries): CPU, PIE/NX, code-signature, libs, segments, imports/exports.

disassemble

Capstone disassembly of a byte window; auto arch detection (x86/x64/arm/thumb/arm64).

disassemble_entrypoint

Resolve a PE/ELF entry point and disassemble from it.

radare2

Run static r2 commands via r2pipe (needs the r2 binary).

ghidra_decompile

Decompile to pseudo-C with Ghidra headless (needs GHIDRA_HOME).

deobfuscate_javascript

Beautify/unminify JS and flag eval/Function/base64/anti-debug patterns.

wasm_info

Parse a .wasm module: sections, imports, exports.

fetch_web_asset

Read-only GET of a remote script/wasm bundle for analysis.

yara_scan

Match a file against inline or file-based YARA rules (needs yara-python).

Related MCP server: Reverse Engineering MCP

Install

Requires Python 3.10+ and uv.

No clone, no manual venv. Point your MCP client at:

uvx --from git+https://github.com/0x3k3h/Reverence-MCP.git reverence-mcp

uvx fetches, builds, caches, and runs the server on demand - same command on Windows, macOS, and Linux. To include the optional engines:

uvx --from "reverence-mcp[extras] @ git+https://github.com/0x3k3h/Reverence-MCP.git" reverence-mcp

Local checkout (for development)

git clone https://github.com/0x3k3h/Reverence-MCP.git
cd Reverence-MCP
uv sync            # add --extra extras for r2pipe + yara-python

Or with plain pip:

python -m venv .venv
.venv\Scripts\activate      # Windows ( source .venv/bin/activate on Unix )
pip install -e ".[extras]"

Optional external tools

Run capabilities any time to see what's active.

Wiring it into a client

The server speaks MCP over stdio. The zero-clone launch command is:

uvx --from git+https://github.com/0x3k3h/Reverence-MCP.git reverence-mcp

Copy-paste client config:

Quickest path, Claude Code:

claude mcp add reverence -s user -- uvx --from git+https://github.com/0x3k3h/Reverence-MCP.git reverence-mcp

Quick start

analyze  C:\Windows\System32\notepad.exe
pe_info  C:\path\to\sample.dll
extract_strings  C:\path\to\sample.exe  highlight=true  minlen=6
disassemble_entrypoint  C:\path\to\sample.exe
deobfuscate_javascript  path=C:\path\to\bundle.min.js

Responsible use

Reverence is for authorized work: analyzing your own software, malware analysis and defensive research, CTFs, interoperability, and security review of code you have permission to examine. Point it at files you're allowed to analyze, and handle real-world malware samples in an isolated environment - Reverence reads them statically but anything else you do with them is on you.

License

MIT

Available Tools

16 tools
analyzeA

One-shot triage of a binary: identification + format summary + notable strings + entry-point disassembly. Start here when handed an unknown file (.exe/.dll/.so/.dylib/.wasm/etc.); then drill in with the specific tools.

Inputs: path (required). Returns: result

capabilitiesA

List which analysis engines are available in this install.

Use this first if a tool reports a missing dependency, to see what is installed (pefile, lief, capstone, jsbeautifier) and which optional external engines are present (radare2/r2pipe, Ghidra, YARA).

Inputs: no named parameters. Returns: result

deobfuscate_javascriptA

Beautify/unminify JavaScript and flag suspicious patterns (eval, Function(), base64, char-code building, hex/unicode blobs, network calls, anti-debug). Provide either a file path or inline code.

Inputs: code, path, indicators. Returns: result

disassembleB

Disassemble a window of machine code from a file offset with Capstone.

arch: auto|x86|x64|arm|thumb|arm64 (auto detects from the file header).
count: number of instructions. base_addr: virtual address to show as the
first instruction's address (defaults to the file offset).

Inputs: path (required), arch, count, offset, +1 more. Returns: result

disassemble_entrypointA

Resolve a PE or ELF entry point to its file offset and virtual address, then disassemble from there. The fastest way to see where execution begins.

Inputs: path (required), count. Returns: result

elf_infoB

ELF analysis (Linux/Unix): header, arch, PIE/NX, interpreter, needed libraries, sections, imported and exported functions.

Inputs: path (required), limit. Returns: result

extract_stringsA

Extract printable strings (ASCII + UTF-16LE) with file offsets.

minlen: minimum run length. limit: max strings returned. offset/length:
restrict to a byte window. include_wide: also pull UTF-16 (important on
Windows). highlight: tag URLs, paths, registry keys, module names, and
suspicious Win32 APIs.

Inputs: path (required), limit, length, minlen, +3 more. Returns: result

fetch_web_assetA

Read-only GET of a remote text/script/wasm asset so it can be analyzed (e.g. a site's bundle.js). Returns the content and content-type; it is not executed. http(s) only.

Inputs: url (required), max_bytes. Returns: result

ghidra_decompileA

Decompile to pseudo-C with Ghidra's headless analyzer (requires Ghidra; set GHIDRA_HOME). function: a name or address to decompile just one function; omit to decompile all (slower). Large binaries take minutes.

Inputs: path (required), timeout, function, ghidra_home. Returns: result

hexdump_fileB

Hex + ASCII dump of a byte window (like hexdump -C). offset may be negative to read from the end of the file.

Inputs: path (required), length, offset. Returns: result

identify_fileA

Identify a file: format (by magic bytes), size, MD5/SHA1/SHA256 hashes, and entropy (flags likely packing/encryption). Cheap first look.

Inputs: path (required). Returns: result

macho_infoA

Mach-O analysis (macOS/iOS), including fat/universal binaries: header, CPU type, PIE/NX, code-signature presence, linked libraries, segments, imports and exports.

Inputs: path (required), limit. Returns: result

pe_infoA

Full PE/PE32+ analysis for Windows .exe/.dll/.sys: headers, machine, subsystem, entry point, timestamp, imphash, security mitigations (ASLR/DEP/CFG/SEH), Authenticode signing state, PDB path, TLS callbacks, sections with per-section entropy, imports (by DLL), and exports.

Inputs: path (required), max_exports, max_imports. Returns: result

radare2A

Run static radare2 commands via r2pipe (requires the r2 binary).

Opens the target read-only in static mode; the debug command family is
refused. analyze=True runs `aaa` first. Useful commands: iI (info),
ii (imports), iE (exports), afl (functions), 'pdf @ main' (disasm a
function), 'axt @ sym.name' (xrefs), '/ <bytes>' (search).

Inputs: path (required), commands (required), analyze. Returns: result

wasm_infoA

Parse a WebAssembly (.wasm) module: version, section layout, and imported/exported names (functions, memories, globals, tables).

Inputs: path (required), limit. Returns: result

yara_scanA

Scan a file with YARA (requires yara-python). Provide inline rules_source or a path to a .yar file in rules_file. Returns matched rules with string offsets.

Inputs: path (required), rules_file, rules_source. Returns: result

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.6/5.0

    Scored across 16 tools

    Disambiguation4/5

    Most tools target clearly distinct actions (pe_info vs elf_info vs macho_info, disassemble vs disassemble_entrypoint, radare2 vs ghidra_decompile). The one real overlap is `analyze`, which bundles identification, strings, and entry-point disassembly that identify_file, extract_strings, and disassemble_entrypoint also do alone, but the descriptions explicitly frame analyze as a triage entry point, which mitigates confusion.

    Naming Consistency4/5

    Nearly all tools use snake_case with a predictable verb_noun or noun_info shape (identify_file, extract_strings, pe_info, wasm_info, yara_scan). Minor deviations exist: `radare2` is a bare engine name, and `capabilities`/`analyze` are bare nouns/verbs rather than following the noun_info pattern, but the set remains readable and coherent.

    Tool Count4/5

    16 tools is reasonable for a multi-engine reverse-engineering toolkit covering several file formats and analysis techniques. Each tool maps to a distinct capability (per-format parsers, decompilers, scanners), though the count sits at the upper edge of the comfortable 3-15 range.

    Completeness4/5

    Strong lifecycle coverage for static binary analysis: identification, hashing/entropy, strings, hexdump, disassembly, per-format PE/ELF/Mach-O/WASM parsers, JS deobfuscation, YARA, radare2, and Ghidra decompilation. Minor gaps include no section/segment extraction or dumping and no WASM disassembly beyond metadata, but core read-only analysis workflows are well covered.

    Maintenance

    ActivitySlowing
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      B
      maintenance
      Read-only reverse-engineering toolkit exposed as 13 MCP tools for binary triage, strings, IOC extraction, disassembly, APK/firmware/PCAP analysis, and headless Ghidra decompilation. Missing backends are reported honestly as tool_missing rather than faked.
      2
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Exposes 18 typed tools that drive real static-analysis engines (Ghidra, apktool, WABT, TShark, evmole, Rizin) over a single MCP endpoint to decompile binaries, audit APKs, scan EVM contracts, inspect WebAssembly, firmware, SQLite, and pcap data. Every call returns signed, verifiable evidence with an evidence_id, provider identity, SHA-256 artifact digest, and explicit limitations for security research, malware analysis, forensics, and CTF work.
      MIT
    • A
      license
      Not graded
      quality
      Not graded
      maintenance
      Enables AI agents to inspect and reverse-engineer native binaries, JavaScript/Electron apps, Go and Rust binaries, WASM, EVM bytecode, SQLite databases, and recorded crashes through a single MCP interface that bridges tools such as Ghidra, Frida, Hopper, binwalk, and jadx. Returns evidence-backed findings—pseudocode, symbols, strings, imports, routes, IPC boundaries—so agents can explain behavior and build similar features.
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables MCP clients to reverse-engineer binary files — hex viewing, disassembly, function/call-graph recovery, syscall and RTTI naming, string/xref search, and symbol export for Ghidra and IDA — across Switch NSO/NRO/NSP and many other formats. Tool output is persisted as annotations so analysis carries across sessions.
      MIT