Ghidra MCP Server connects Ghidra, a software reverse-engineering tool for examining compiled programs, to AI tools through the Model Context Protocol (MCP), a standard way for applications to expose actions and data to language models. Reverse engineers use it to analyze binaries, automate batch work, and interact with Ghidra through graphical or headless operation. The catalogue entries provide instructions and MCP integration for working with the server.
Borrowing it
Nothing to install: this file belongs to bethington/ghidra-mcp. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/bethington/ghidra-mcp/dev/CLAUDE.mdgit clone --depth 1 https://github.com/bethington/ghidra-mcpWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/instructions/bethington/ghidra-mcp/claude-md)<a href="https://agentmods.dev/instructions/bethington/ghidra-mcp/claude-md"><img src="https://agentmods.dev/badge/instructions/bethington/ghidra-mcp/claude-md/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/instructions/bethington/ghidra-mcp/claude-md"><img src="https://agentmods.dev/badge/instructions/bethington/ghidra-mcp/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.18827 | $0.18827 |
| Opus 5.5 | $0.07531 | $0.07531 |
| Sonnet 5.5 | $0.03765 | $0.03765 |
| Haiku 4.5 | $0.01883 | $0.01883 |
Grade A, and why
ghidra-mcp CLAUDE.md scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 521 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Ghidra MCP - Claude Code Guide
Overview
MCP server bridging Ghidra reverse engineering with AI tools. 219 MCP tools for binary analysis.
- Package:
com.xebyte| Version: 7.0.0 | Java: 21 LTS | Ghidra: 12.1.4
Boil the ocean
The marginal cost of completeness is near zero with AI. Do the whole thing. Do it right. Do it with tests. Do it with documentation. Do it so well that Ben is genuinely impressed — not politely satisfied, actually impressed. Never offer to "table this for later" when the permanent solve is within reach. Never leave a dangling thread when tying it off takes five more minutes. Never present a workaround when the real fix exists. The standard isn't "good enough" — it's "holy shit, that's done." Search before building. Test before shipping. Ship the complete thing. When Ben asks for something, the answer is the finished product, not a plan to build it. Time is not an excuse. Fatigue is not an excuse. Complexity is not an excuse. Boil the ocean.
Scope of "boil the ocean": code, analysis, and local work — never public or community actions. It means finish the engineering. It does NOT mean act autonomously on the community's behalf. See the next section.
Community interaction (read-only by default)
This is a public repo with real external contributors. Their issues, PRs, and commits are theirs, not yours to dispose of. Reading is always fine; every write below requires Ben's explicit, per-action approval. There are exactly two ways that approval exists: Ben posts the text himself, or Ben clicks an approval in the /triage flow (see "Approved-via-triage posting" below). Absent one of those, you may only draft.
- Never edit, close, comment on, merge, or reopen another person's issue or PR without Ben's explicit, per-action go-ahead. Never edit anyone's issue/PR/comment text — that reads as tampering and is never acceptable.
- Draft / WIP / "do not merge" means hands off. Never cherry-pick, merge, or otherwise pull in a draft PR's work. Draft is the contributor's signal that it isn't ready; respect it.
- To use a contributor's work, merge their PR through the normal flow (which credits them) — never extract the commit around them or push it to
maindirectly. - Never post AI-generated text as if it were Ben's own analysis, and never post a claim about someone else's work without verifying it against the code first.
- When Ben asks for a reply to a contributor, produce a short draft in his voice — plain, concrete, never machine-sounding. It is posted only via the two approval paths above.
- Exception:
dependabot[bot]PRs. These are the repo's own configured automation, not community contributions — no person's work is at stake. The agent may comment (e.g.@dependabot rebase/recreate) and merge these autonomously once CI is green, without per-action go-ahead. This exception is scoped to PRs whose author is literallydependabot[bot]; it does not extend to any human contributor, even one proposing a similar dependency bump. - Exception: Ben's own PRs and issues (added 2026-09-18, approved by Ben). This section protects another person's work; Ben's own is his, and the agent lands it on his instruction.
gh pr merge|close|comment|review|ready|reopenandgh issue close|comment|reopenneed no per-action approval when the target's author resolves tobethington.editis excluded from both, along with delete/transfer/lock/unlock/pin/unpin: rewriting issue or PR text is never the agent's to do, on anyone's item, and none of those verbs lands work. The author is resolved live and fails closed — an unresolvable author means the normal block stands. - A local
.claude/hook (block-community-github-writes.py) enforces a slice of this by denying write-shapedghcommands (resolving the target's author live to carve out the dependabot and own-work exceptions above, and honoring single-use triage approval records — see below); treat that as a backstop, not the boundary. The boundary is this section. Its behaviour is pinned by.claude/triage/proposed-hook/test_hook_behaviour.py(21 cases, run it after any change); the agent never installs the hook itself, because an agent must not rewrite its own guardrail.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 8d ago Changed 2b9b4e489053
- 9d ago Changed edac5ad6dd02
- 23d ago Changed · +2 lines · +1,732 tokens per session a8e8d73fa1f5
- 24d ago Changed · -1 lines · -2 tokens per session 8640accfa4c7
- 29d ago Changed · +11 lines · +957 tokens per session 0145289dcac9
- 1mo ago Changed · +4 lines · +16 tokens per session 9a28246a855b
- 1mo ago Changed · +280 tokens per session e5901224e16d
- 1mo ago Changed a933310f0326
- 1mo ago Changed · -23 tokens per session 039480760df0
- 1mo ago First seen · 505 lines · 15,867 tokens per session scan A 25b408420678
ghidra-mcp CLAUDE.md is an instructions file published in the GitHub repository bethington/ghidra-mcp (6,133 stars, last pushed yesterday), licensed Apache-2.0. It adds 18,827 tokens to every session, about $0.0753 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
ghidra-mcp CLAUDE.md compared with instructions from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| ghidra-mcp CLAUDE.mdbethington/ghidra-mcp | Instructions file | 6.1k | yesterday | Apache-2.0 | A | 18,827 | Claude Code |
| vscode buildNext.instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 9,719 | GitHub Copilot |
| next.js AGENTS.mdvercel/next.js | Instructions file | 143k | today | MIT | A | 7,461 | Codex, OpenCode |
| langchain AGENTS.mdlangchain-ai/langchain | Instructions file | 149k | yesterday | MIT | A | 4,680 | Codex, OpenCode |
| vscode oss-third-party-notices.instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 5,516 | GitHub Copilot |
| vscode copilot-instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 3,093 | GitHub Copilot |
| deepseek-harness AGENTS.mddeepseek-ai/deepseek-harness | Instructions file | 274k | 2d ago | MIT | A | 4,313 | Codex, OpenCode |