/reverse-engineering:binary-ninja-mcp-analysisfrom reverse-engineering
Provides Binary Ninja IL documentation and MCP server usage guidance for binary analysis and reverse engineering. Useful when analyzing ELF/PE/Mach-O binaries, decompiling functions, or interpreting BNIL output.
Ships in reverse-engineering. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Use this skill when working with Binary Ninja via the BinjaMCP server to analyze binaries. This includes:
Do not use this skill when the task does not involve binary analysis or reverse engineering with Binary Ninja. If you are writing Binary Ninja plugins in Python (not using the MCP server), this skill's MCP tool reference may not apply but the BNIL documentation is still relevant.
You must never use this skill unless the MCP server is available and the task involves interacting with Binary Ninja's analysis capabilities. If the task is purely theoretical or does not involve Binary Ninja, this skill is not appropriate.
Codex should be configured directly with a mcp_servers.binary_ninja_mcp entry for fosdickio/binary_ninja_mcp. Use command = "npx" and args = ["-y", "binary-ninja-mcp", "--host", "localhost", "--port", "9009"] unless the Binary Ninja plugin is listening elsewhere. This plugin does not install, start, or wrap the Binary Ninja MCP server. Verify the Binary Ninja MCP tools are visible under /mcp before using live analysis workflows.
The BinjaMCP server exposes tools for interacting with Binary Ninja. Tools are grouped as:
| Category | Tools | Purpose |
|---|---|---|
| Lifecycle | load_binary, list_loaded_binaries, close_binary | Load/manage binaries |
| Functions | list_functions, search_functions, get_function_info, get_function_type | Discover and inspect functions |
| IL / Decompilation | decompile_function, get_hlil, get_mlil, get_llil, get_disassembly | View code at different abstraction levels |
| Strings | list_strings, search_strings | Find string data |
| Cross-refs | get_xrefs_to, get_xrefs_from, get_function_callers, get_function_callees | Trace references and call graphs |
| Imports/Exports | list_imports, search_imports, list_exports | Inspect symbol tables |
| Structure | list_sections, list_segments | Understand binary layout |
| Annotation | rename_function, rename_variable, set_comment, set_function_comment, set_function_type | Annotate the binary |
| Variables/Data | list_variables, list_data_variables, get_data_var_at, get_basic_blocks | Inspect variables, globals, CFG |
| Raw Data | read_bytes | Read raw memory |
decompile_function / get_hlil): Best for initial understanding. Recovers if/while/for/switch. Use for vulnerability analysis, logic review, and getting a high-level picture. Note: tree-based, so nested expressions can hide instructions.get_mlil): Best for precise analysis. Variables have types, constants are propagated, call parameters are resolved. Less folding than HLIL so easier to iterate linearly. Preferred for data flow tracing.get_llil): Best for low-level analysis. Shows register/flag operations, stack manipulation. Use when you need to understand exact instruction semantics or flag behavior.get_disassembly): Raw native instructions. Use when IL abstractions lose important detail (e.g., specific instruction encodings, alignment).load_binary to open the targetlist_functions + list_imports + list_strings to understand scopesearch_functions or search_strings to find areas of interestdecompile_function for initial understanding, then get_mlil or get_llil for precisionget_xrefs_to / get_function_callers to understand how a function is reachedrename_function, rename_variable, set_comment to document findingssearch_functions / search_strings / search_imports instead of listing everythingdecompile_function (HLIL pseudo-C) before falling back to lower ILsget_function_info to get metadata (size, callers, callees) before reading full ILoffset/limit) on list_functions and list_strings for large binariesget_function_callers/get_function_callees over raw xref queries for call graph analysisFor detailed information on specific areas, consult the Reference Index.
Key references:
agents/openai.yaml (opens in a new tab)assets/icon.png (opens in a new tab)assets/icon.svg (opens in a new tab)references/INDEX.md (opens in a new tab)references/annotations.md (opens in a new tab)references/bnil-hlil.md (opens in a new tab)references/bnil-llil.md (opens in a new tab)references/bnil-mlil.md (opens in a new tab)references/bnil-overview.md (opens in a new tab)references/concepts.md (opens in a new tab)references/cookbook.md (opens in a new tab)references/mcp-tools.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
binary-ninja, reverse-engineering, bnil, mcp-server, binary-analysis
2 skills in this plugin
npx claudepluginhub specterops/skills --plugin reverse-engineeringOther plugins' skills for the same job