REA is a free, MIT-licensed MCP server that lets an AI agent (Claude Code, Codex, Cursor, Gemini CLI and others) inspect apps without their source code and explain how a feature works, with evidence for every finding. It does not give you the right to copy anyone's app.
github.com/morluto/rea, rea.tools or the npm package rea-agents.You need Node.js 22 or newer and npm. Then run:
npx rea-agents setup
Choose your agents, review the proposed changes, approve, and restart your agent. Setup adds REA's MCP server and workflow instructions, and backs up your existing config.
| OK | Not OK |
|---|---|
| Learning how a feature works | Copying someone's code, design or assets |
| Your own apps and software you are allowed to examine | Apps whose terms forbid reverse engineering |
| Security checks, interoperability, preservation | Cracking, bypassing licenses or paywalls |
| Building your own version from the idea | Re-publishing a cloned app as yours |
REA's README says it is "for lawful research, education, interoperability, software preservation, and analysis of software you own or are authorized to examine." I'm not a lawyer; rules differ by country and by each app's license.
The best everyday use: see what your shipped app gives away. REA's CLI includes a release-exposure audit for JavaScript/Electron apps:
npm install --global rea-agents
rea --help
Look for API keys, tokens and private URLs inside your bundle. Anything secret should live on your server, never in the app you ship.