# morluto/rea

> rea is a reverse-engineering toolkit that lets AI agents and terminal users inspect apps and binaries without their source code. It runs as an MCP server, a standard way for agents to call tools, and also as the rea command, and the tools return findings with their evidence. The project is written mainly in TypeScript.

Source: https://github.com/morluto/rea
Indexed: commit c0ee832 on 2026-11-20 by Repowise. Facts come from the source and git history, not from the maintainer.

## Facts

- Type: MCP server
- Language: TypeScript
- Stars: 472,677 at index time
- License: MIT
- Code health: 8.2/10, Good
- Last commit: 2026-11-20
- Contributors: 30

## Install

From the README: https://github.com/morluto/rea#quick-start

With Node.js and npm installed, run the setup command.
    npx rea-agents setup

## How it works

An agent calls rea through the MCP server, and the same workflows are also available as CLI commands. The entry points include src/cli.ts, src/main.ts and scripts/rea.mjs. src/server/serviceToolBindings.ts is one of the hotspot files in the server code, where tools are bound for agents to call. The src directory runs the adb command-line tool against Android devices and reads back its output. The bridge directory exposes NativeAOT type metadata to the Java and Swift sides, and a Ghidra extension loads it through a descriptor and calls its analyze method with the open program. The scripts directory holds checks for the packaged CLI and its integrations, and the website directory holds the public documentation site.

- bridge/process/ProcessRunTokenReaderMain.swift: entry point
- scripts/rea.mjs: entry point
- scripts/verify/advertised-schemas/regexp.go: entry point
- src/cli.ts: entry point
- src/main.ts: entry point
Modules: src, tests, scripts, bridge, website, native, root, .github. 8,691 files, 2,042,595 lines, 52,180 symbols.

## Code health

- Score: 8.2/10 (Good)
- Trend: 8.0 on 2026-11-06, 8.2 on 2026-11-08, 8.2 on 2026-11-20
- Rank: #46 of 4,000+ indexed repos
- Hotspots: src/server/serviceToolBindings.ts, src/server/contractToolBindings.ts, src/domain/javascript/javascriptSemanticEffectLog.ts, src/gdb/GdbSessionManager.ts, src/native/elf/ElfDependencyParser.ts
- Lowest file: src/domain/javascript/javascriptSemanticMemberMutations.ts
- Dead code: 1 findings

## Maintenance

- Last commit 2026-11-20, 500 commits
- 30 contributors, bus factor 1

## Security

- Security findings are shown to signed-in users at https://repowise.dev/repo/morluto/rea/security

## More

- Page: https://repowise.dev/repo/morluto/rea
- Ask this codebase: https://repowise.dev/repo/morluto/rea/chat
- Docs: https://repowise.dev/repo/morluto/rea/docs
- MCP (signs in with Repowise on first use):
    claude mcp add --transport http repowise https://api.repowise.dev/mcp/morluto/rea
