Atlas / MCP servers / johnzfitch / Pyghidra Lite

Pyghidra LiteSAFE

mcp/johnzfitch/pyghidra-lite

Lightweight MCP server for Ghidra-based reverse engineering with iOS, Linux, and game file support

Verdict
SAFE
Grade
B
Trust score
89 /100
Exposed tools
—
Transport
stdio · streamable-http
License
MIT
Stars
36
01

Overview

From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.

[](https://pypi.org/project/pyghidra-lite/) [](https://pypi.org/project/pyghidra-lite/) [](LICENSE) [](https://modelcontextprotocol.io)

Token-efficient MCP server for Ghidra-based reverse engineering. Analyze ELF, Mach-O, and PE binaries with Swift, Objective-C, and Hermes support.

Bottom line: a lean, security-first Ghidra MCP. It is read-only by default — analysis tools never mutate your binaries or the server's configuration (which is frozen for the life of the process). The one tool that writes, annotate (rename / comment / prototype), is opt-in (--allow-write) and human-confirmed: every change is approved by you through an MCP elicitation prompt before it's committed, and it fails closed if your client can't ask. You get an analyst-agent that can persist its findings — under supervision — without giving up the read-only safety story.

Quick Start

1. Prerequisites

JDK 21+ and Ghidra 11.x are required.

# macOS
brew install openjdk@21
brew install ghidra

# Ubuntu/Debian
sudo apt install openjdk-21-jdk
# Download Ghidra from https://ghidra-sre.org

# Arch Linux
sudo pacman -S jdk21-openjdk
yay -S ghidra

Ghidra installed via Homebrew (brew install ghidra) or to /opt/ghidra or ~/ghidra is found automatically. Set GHIDRA_INSTALL_DIR only for non-standard paths.

2. Install pyghidra-lite

pip install pyghidra-lite

3. Add to Claude Code

Create .mcp.json in your project (or ~/.claude.json for global):

{
"mcpServers": {
"pyghidra-lite": {
"command": "pyghidra-lite"
}
}
}

4. Use it

You: Analyze the binary at /path/to/binaries/app

Claude: [c
Read from source at commit 8f26fe210d30OBSERVED · 2026-10-08
02

Connect

Built from this server's own package name, version and transport as found in its source — not copied from anyone's documentation, so it cannot drift against a page we do not control.

claude-code (pypi)
claude mcp add pyghidra-lite -- python pyghidra-lite==0.8.0
03

Trust audit

SAFEgrade B · trust 89/100 Nothing in the source contradicts what it says it does. Grade A is reserved for packages that have also passed the behavioural sandbox.

LayerWhat it checksResult
L0Provenance & inventoryPASS
L1Static analysis of the codePASS
L2Instruction surface (what it tells the agent)PASS
L3Class-specific surfacePASS
L4Behavioural (sandbox)SKIPPED

What the source does

Filesystem
declared (5 observation(s))
Network
declared (3 observation(s))
Shell
none-observed
Dependencies
pinned
Secrets in source
none-found

Findings (10)

LOWInventory / provenance · inv.hidden_file · CWE-1104
aur/.SRCINFO
.SRCINFO
Why it matters. hidden member outside the usual dotfiles
Fix. review its purpose
LOWFilesystem / path · fs.credential_store · CWE-22, CWE-59
tests/test_red_team.py:292
leak = str(Path.home() / ".ssh" / "id_rsa")
Why it matters. touches a credential store
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
tests/test_red_team.py:83
"../../etc",
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
tests/test_red_team.py:106
server._safe_project_path(tmp_path, "../../etc")
LOWNetwork egress · net.metadata_ip · CWE-200, CWE-319
tests/test_red_team.py:176
"169.254.169.254:8000",          # cloud metadata endpoint
Why it matters. cloud metadata endpoint: the classic SSRF credential grab
LOWNetwork egress · net.raw_ip · CWE-200, CWE-319
tests/test_proxy.py:66
assert _backend_url("127.0.0.1", 19101) == "http://127.0.0.1:19101/mcp"
LOWNetwork egress · net.raw_ip · CWE-200, CWE-319
tests/test_proxy.py:69
assert _backend_url("0.0.0.0", 8080) == "http://0.0.0.0:8080/mcp"
LOWNetwork egress · net.raw_ip · CWE-200, CWE-319
tests/test_security_e2e.py:48
url = f"http://127.0.0.1:{port}/mcp"
LOWObfuscation / stealth · obf.decode_call · CWE-506, CWE-94
src/pyghidra_lite/tools.py:885
needle = bytes.fromhex(hex_str)
LOWInventory / provenance · mcp.no_tools_extracted · CWE-1104
server.json
Why it matters. the tool list is enumerated at runtime by tools/list, not declared in source
Fix. the page says so rather than showing an empty table

Gates applied: no_behavioural_pass.

Audited 2026-10-08 · audit v0.4.1 · source sha 8f26fe210d30full audit observations/trust-audit/mcp-server/johnzfitch__pyghidra-lite.json · Report an issue / request a re-scan
04

Audit history

Every audit this server has had. A grade with a past is a grade somebody is still checking.

DateSourceVerdictGradeScoreChange
2026-10-088f26fe210d30SAFEB89first audit
05

Questions

What is the Pyghidra Lite MCP server?

Lightweight MCP server for Ghidra-based reverse engineering with iOS, Linux, and game file support

Is Pyghidra Lite safe to connect to an agent?

The audit found nothing in the source that contradicts what it says it does, and graded it B (89/100). Grade A is held back for packages that have also passed a sandboxed behavioural run, which is why a clean server reads B.

What credentials does Pyghidra Lite need?

No credential environment variables were found in its source, so it appears to need none.

How does Pyghidra Lite run?

It speaks stdio and streamable-http, so it runs as a local process your client starts. It is published on PyPI as pyghidra-lite.

How current is this page?

The grade is for one exact copy of the source (8f26fe210d30), read on 2026-10-08. The repository is watched and re-audited when it changes.

Advertisement