Claude Code and Ghidra: reverse engineering projects that used both
Updated · 69 projects
By whyamas
Claude Code with Ghidra is one of the most common setups here. Connected through an MCP server such as GhidraMCP, or through scripts and headless Ghidra, the agent lists functions, reads decompiled code, renames symbols and adds comments. It then uses what it learned to write new code.
Ghidra is the free reverse engineering framework from the NSA. It can disassemble and decompile code for many processors. Claude Code is Anthropic's terminal agent. The projects below used that pairing for several jobs. They recompiled games for new hardware, built a PlayStation static recompiler, decompiled a Game Boy Advance game and patched a ROM. They also fixed a mod after a game update and triaged known malware. A few used Claude through another harness with Ghidra. The tool page explains what GhidraMCP is, and the setup guide covers the install steps and compares Ghidra MCP servers.
Claude did the work in 69 of them and GPT in 9.
Where should I start?
Start with Set up GhidraMCP with Claude Code, a 8 minute read. The projects after it show the same steps in practice.
Which projects used both Claude Code and Ghidra?
Send me the repo or the write-up, and tell me where the model got it wrong.
Guides to read before pairing Ghidra with an agent
Which other tools sit beside Ghidra in these projects?
What people ask about Claude Code and Ghidra
Install an MCP server for Ghidra, such as GhidraMCP or REA, start Ghidra with the plugin, and add the server to Claude Code. The linked setup guide has the exact steps.
Not always. GhidraMCP has a headless mode, and some projects here ran headless Ghidra from scripts instead of the GUI.
It lists and reads decompiled functions, renames them, adds comments and writes notes, then uses that understanding to write C, patches or ports. A person checks the results.
Yes. Ghidra is open source under the Apache 2.0 licence and runs on Windows, macOS and Linux.











