GhidraMCP
An MCP server that lets AI models drive Ghidra.
Updated · 5 projects
By whyamas
About GhidraMCP
GhidraMCP, by LaurieWired, is a Model Context Protocol server that exposes core Ghidra functionality to MCP clients so a model can help with reverse engineering. Its tools decompile and analyze binaries, rename methods and data automatically, and list methods, classes, imports and exports. It runs as a Ghidra plugin and also has a headless mode that works without the Ghidra GUI.
Summarised from the official page linked above.
When to use it with an AI agent
Use LaurieWired's GhidraMCP when you want the simplest start with Claude Code and a Ghidra window you already have open. It works on whatever program is open in Ghidra, so you need the GUI running. That suits a first session, a CrackMe or a single binary. Version 2.0 was released on 10 October 2026. Its release notes say the separate Python bridge script older tutorials use is no longer needed.
It is not the only server with this name or purpose. You may want to run Ghidra without a window, for scripts or many binaries. For that, the comparison guide points to pyghidra-mcp, or to ReVa if you want a Ghidra extension with a headless mode. It suggests bethington's server only for the largest tool set and a heavier install, and REA if your targets are not only native code. See Which Ghidra MCP server should I use? for the table.
Set it up
Set up GhidraMCP with Claude Code walks through it. You need Ghidra 12.1.4, which the README pins, a 64-bit JDK 21, uv, and Claude Code or Claude Desktop. You import your target, let auto-analysis finish, install the extension from the release zip, then add the server to the client.
Ghidra itself is free, and GhidraMCP is Apache-2.0 licensed. Because several repositories share the name GhidraMCP, check the owner in the URL before you install.
Limits
- It exposes analysis, not every Ghidra setting. In the River Raid project, Claude noticed an Atari ROM was loaded at the wrong address. It could not rebase it through the tools, so the author did that by hand. Get the processor, base address and loader right yourself.
- Models guess. In the same project Claude guessed the game was Centipede. Treat claims about what a binary is as guesses until the code confirms them.
- Patching is on you. The author applied the final byte patch by hand, so verify patches in an emulator or a test run, not in the chat.
- Results differ between models. CrackMeBench found large gaps between models on the same stripped CrackMes, so one failed session does not mean your setup is broken.
Projects that used it
The cards below list tagged projects. The setup guide draws on the Claude and Ghidra MCP CrackMe walkthrough, River Raid unlimited lives, the OALabs live session and CrackMeBench. Projects where Claude drove Ghidra are collected on Claude Code and Ghidra.
Guides
- Ghidra, IDA Pro or Binary Ninja: which decompiler should I use with an AI agent?5 min
- How to decompile a game with an AI agent, step by step9 min
- Set up an IDA Pro MCP server for Claude Code or Codex9 min
- Which Ghidra MCP server should I use?6 min
- Set up GhidraMCP with Claude Code8 min
- REA vs GhidraMCP vs IDA Pro MCP (and Binary Ninja MCP)8 min
- How Chromatron was recompiled from Windows XP and PowerPC binaries with AI7 min
- What is AI-assisted reverse engineering?9 min
- Where AI goes wrong in reverse engineering, and how projects cope9 min
See the projects: reverse engineering projects where Claude drove Ghidra
Projects using GhidraMCP
Share the writeup or repo, and what the AI got right and wrong.




