REA — reverse engineering MCP for AI agents

Give your AI agent an MCP server that reverse engineers any app: native binaries, Electron, .NET, APKs, and websites. Analysis runs locally, MIT licensed.

REA — reverse engineering MCP for AI agents — code freebie
Home
Freebies

REA — reverse engineering MCP for AI agents

You see a feature in an app and want the same behavior in your own product. You cannot read the source. Asking an AI agent to reimplement it from a screenshot gives you a guess, and a guess ships bugs. REA gives your agent the missing half: local tools to take the app apart, follow the code path, and hand back the evidence behind each conclusion.

What REA actually does

REA is an open-source MCP server for reverse engineering. It connects an AI agent to a set of inspection tools, so the agent can look inside a target without its source code, explain how a feature works, and then write a version for your project. MCP is the protocol agents already use to call outside tools, so installation is one command and no new interface to learn.

Setup registers the server with your agent and installs matching workflow instructions. Supported clients include Claude Code and Cursor. Other agents that speak MCP can register the server by hand. Everything runs on your machine, and the project carries an MIT license, so you use it in personal and commercial work without paying anyone.

Why building a feature blind is expensive

Copying behavior from a screenshot looks fast until the edge cases arrive. The state machine behind a toggle, the order two requests fire in, the fallback when a field is empty: none of that is visible in a picture, and each missing detail becomes a bug report later. You end up guessing at the one part of the feature that made it worth copying.

Reading the actual code path removes the guessing. You learn how the original handles the case you have not thought of, and you build the same behavior on purpose instead of by accident. That is the difference between a feature that works in the demo and a feature that survives first contact with real users.

How the MCP bridge works

You point your agent at a local target and ask a question in plain language. The agent calls REA through MCP, REA inspects the files or the running process, and the findings come back with the evidence attached. The agent uses those findings to answer you, to ask follow-up questions, or to write and test an implementation. The terminal uses the same workflows, so you can run a single inspect command yourself when you want the raw view.

Static inspection reads the files without running the application. Runtime capture runs or interacts with the target under your own user permissions, and each runtime guide describes what that touches. You choose the mode, which matters when the target is something you cannot safely launch on a whim.

What you can point it at

The tool covers more than one kind of target. The same interface handles all of these:

  • ❶ Native binaries: pseudocode and assembly through a deep analysis engine
  • ❷ JavaScript and Electron apps: recovered modules, imports, and the boundaries between renderer and main process
  • ❸ .NET assemblies, inspected without running them
  • ❹ Android APKs: manifest declarations and decompiled methods
  • ❺ Firmware images and extraction handoffs
  • ❻ Packages and resources: file inventories and Apple bundle anatomy
  • ❼ Process behavior: terminal output, interactions, exit codes, and run comparisons

A designer rebuilding an app usually starts with the JavaScript and Electron path, because it needs no native analysis engine and returns the module map that explains how the interface is wired. Native analysis is there for the deeper question underneath it.

Evidence, not raw output

A decompiler that dumps thousands of lines leaves you where you started, just with more text. REA frames each result with the evidence behind it and the limitations of the method, so you can judge how much to trust a conclusion before you build on it. That framing is what makes the output usable by an agent: the agent can cite what it saw and flag what it inferred.

The project is honest about the trade. Static analysis and native formats depend on the provider and the host operating system, and some features land after the current npm release. The REA website carries illustrated guides and worked case studies, including a sound-pan reconstruction and an Electron clipboard trace, so you can read an investigation end to end before you run your own.

Choosing a deep analysis provider

Deep native analysis leans on an engine you already own. REA works with Hopper, Ghidra, or IDA, and setup can install Hopper with your approval while Ghidra and IDA use existing installations. Static JavaScript and .NET inspection need none of them, which is the fast lane if you are only chasing interface behavior.

Host support varies by provider, and the documentation is specific about which combinations are tested. Start with the JavaScript path, add a native provider only when a question reaches below the app layer, and let the guides tell you which engine fits the target in front of you.

Local by default

REA analyzes targets on your machine. Your agent receives the tool results, and then your model provider applies its own data policy, which is worth checking before you point the tool at anything sensitive. The analysis itself does not upload the app to a third-party service, and runtime capture stays within the permissions your user account already has.

For a solo builder this keeps the workflow private and the setup small. One command registers the server, the agent keeps its normal interface, and the reverse engineering happens next to the codebase you are about to change.

Frequently asked questions

Do I need to know reverse engineering to use it?

No. You describe the feature you want to understand, and the agent drives the tools. You read the evidence and the plain language summary. Deeper native work rewards some familiarity with assembly, but the JavaScript and Electron path stays close to ordinary front-end code.

Do I need a native analysis engine installed?

Only for native binaries. Static JavaScript and .NET inspection run without a native engine, so a web or Electron target needs nothing extra. Setup can install Hopper with your approval, and Ghidra and IDA use the copies you already have.

Which agents can call REA?

Any agent that supports local MCP servers. Setup configures Claude Code and Cursor, and other clients can register the server manually. If your agent speaks MCP, it can use REA.

Is it free and can I use it commercially?

Yes on both. The project is MIT licensed, the source lives on GitHub, and the code is open for commercial work. You are responsible for having the authorization to analyze whatever you point it at.

Does it upload my app anywhere?

REA analyzes targets locally and returns results to your agent. The analysis does not ship your app to a third party. Your model provider still sees the tool results, so check its data policy before you inspect anything sensitive.

Why it belongs in your stack

If you build by prompting an agent, the bottleneck is no longer writing code. It is knowing what to build. REA closes that gap: one setup command, your existing agent, and a local investigation that ends with evidence instead of a confident guess.

It is free and open source, and it is honest about the limits of each method. Point it at the feature you keep circling, read how the original works, and ship the version your own product needs. When you want the interface you are rebuilding to hold up against the original, the rest of our free code resources and design and code kits are built for the same fast, solo workflow.

More Figma freebies

Liquid Glass for React

Code

Liquid Glass for React

Glass surfaces and controls for React on the web and in Electron. Clear and Regular materials refract live content, and every control runs on Base UI behavior.

FSearch — whole-disk file search for macOS

Code

FSearch — whole-disk file search for macOS

Find any file on your Mac in about a millisecond, typos included, and search inside text files. Whole-disk index in Rust, MIT licensed, one small daemon.

@sfinterface/numbers — rolling numbers for React

Code

@sfinterface/numbers — rolling numbers for React

React component that turns only the digits that changed. 13 kB, no dependencies, Intl formatting, five transitions, and reduced-motion support.

RuneIcons — open source icon set for modern UIs

Components

RuneIcons — open source icon set for modern UIs

Thousands of clean, consistent SVG icons for web and app interfaces. Open source, MIT licensed, and ready to drop into Figma, React, or plain HTML today.

Amicro — micro-interactions for any landing page

Code

Amicro — micro-interactions for any landing page

Open source collection of ready-made micro-interactions: hover glow, magnetic buttons, scroll reveals. Copy a snippet, paste into any page, ship motion today.

M3E Canvas — Material 3 Expressive UI builder

Code

M3E Canvas — Material 3 Expressive UI builder

Assemble Material 3 Expressive interfaces in your browser and export a ready-to-use prompt for AI. Open source, free, and built for Android vibe coding.

Driver.js — product tours & onboarding

Code

Driver.js — product tours & onboarding

Lightweight, vanilla JavaScript library for building powerful product tours, feature highlights, and contextual onboarding. No dependencies, just 5kb gzipped, fully customizable and accessible by default.

pdfcn — PDF viewer component for React

Code

pdfcn — PDF viewer component for React

Open source PDF viewer built on the shadcn stack. Renders documents inside your React app with zoom, search, and navigation. No iframe, no vendor lock-in, MIT license.

Free invoice template for Figma

Components

Free invoice template for Figma

Clear and simple table-based document for your business purposes. Powered by editable data grid, which is easy to manage.

Avatar UI design templates & tips

Components

Avatar UI design templates & tips

A part of the upcomong design handbook «The State of Component». Colors, Styles & UI design for Avatar. Events, States and Actions. Including layout samples for inspiration.

App Bar UI design templates & tips

Components

App Bar UI design templates & tips

Application Bar (aka Navigation Bar) — displays prior in-app controls related to the current app section. This freebie contains things to consider when designing App Bars.

Fonts Playground

Global Styles

Fonts Playground

Best web fonts precisely handpicked and optimised for better web legibility and ready to implement into your Figma project.

Website Template

Web Design

Website Template

Landing page template made for Figma. Contains styled components UI kit, desktop & mobile versions. Global styles, Inter, FlatUI colors.

Android UI kit

Mobile Templates

Android UI kit

8 mobile app templates based on popular Android UI design patterns: Calendar, Cards, Tasks, Kanban & Project management and more.

Figma iOS UI kit

Mobile Templates

Figma iOS UI kit

iOS native components and app templates organised into a «Most Design System» fully compatible with Human Interface guidelines.

Material X Starter

Mobile & Desktop

Material X Starter

Top-notch styled components in the design system powered by Auto-layout. Ready-to-use Figma UI kit with styles from the nearest future.

Radar Chart

Data visualization

Radar Chart

Radar chart template made of components and available within a range of popular viewports: desktop, tablet and mobile. Light & Dark.

Rome UI kit lite

Mobile & Desktop

Rome UI kit lite

Components & templates for desktop & mobile apps. Powered by clean and trendy custom guidelines and DM Sans font (OFL).

Xela UI kit starter

Mobile & Desktop

Xela UI kit starter

100+ variants of several components to craft perfectly shaped desktop & mobile apps. Modern styleguides and free Nunito Sans font.

Free iOS UI kit

Mobile Templates

Free iOS UI kit

Customisable & adjustable mobile design system with 100+ variants for a set of components and 8 ready-to-use app layouts to try out.

Mobile-X UI kit

Mobile Templates

Mobile-X UI kit

Meet Mobile-X Figma design system for mobile app design. Cross-compatible & stylish UI kit which fits both iOS / Android apps.

Accordion guide

Tutorials & Education

Accordion guide

The exploration for Accordion component: styles, states, samples, and use cases for desktop & mobile viewports.

Eclipse UI kit

Mobile & Desktop

Eclipse UI kit

Fine components fully loaded with variants, auto-layout, global text & color styles. Hi-end customizable Figma design system (starter).

Appka iOS UI kit

Mobile Templates

Appka iOS UI kit

Appka is a fine-themed & customized iOS design system with 4100+ variants for 28 components and 280+ ready-to-use app layouts for Figma.

Nav templates

Mobile & Desktop

Nav templates

This design resource represents navigation components. It contains sidebars, drawers and headers both in light & dark modes.

Dark charts UI kit

Chart Templates

Dark charts UI kit

Try out this handy source of graphs for your next dashboard, pitch, or even print materials. Contains most common dark chart templates.

Figma email templates

Email Templates

Figma email templates

Five awesome and scalable free email templates to engage your subscribers. Dark & light themes. Contains buttons, lists and cards.

Charts widgets dark & light

Chart Templates

Charts widgets dark & light

Line & Wave charts, Bars, Histograms, Ratings and more graphs widgets are available in this free Figma resource. For dashboards, mobile & desktop.

Shopping layout for web app

Desktop

Shopping layout for web app

Contains navigation, filtering components, tabs, cards and more. This layout was made with Angular and fully coded.

Orion dark templates

Data visualization

Orion dark templates

Figma library with 40+ desktop charts templates served in light & dark themes. Contains 200+ of dataviz widgets for every case.

Responsive imagery cards

Card Templates

Responsive imagery cards

A variety of responsive cards templates for Figma. Constrained and scalable. Made with global styles for typography and colors.

Landing page & web blocks

Web Design

Landing page & web blocks

Use given blocks as a quickstarter for your very next web design mission. This freebie contains 3 landing pages for desktop, tablet & mobile.

Mobile tables several themes

Mobile Templates

Mobile tables several themes

Components-driven iOS layouts with data grid made from one singe cell. Based on different styles. Allows to create better tables in Figma.

12 free mobile templates

Mobile Templates

12 free mobile templates

Use our Full iOS design system as the starter for your next mobile app. This freebie includes 12 screens dark & light powered by 200+ components.

Calendars & Date picker templates

Mobile & Desktop

Calendars & Date picker templates

UI design resource with 56 calendars extracted from our popular UI kits. All the best samples of schedule patterns, planners, event managers.

Schedule & Events template

Desktop

Schedule & Events template

This clean calendar template has been made of a scalable grid, accurately made with colored items and wrapped for the desktop.

Material You for web apps

Mobile & Desktop

Material You for web apps

Figma Material Design 3 starter fully loaded with several desktop & mobile templates (with dark themes) and a bundle of components.

iOS Datepickers

Tutorials & Education

iOS Datepickers

Stand out with our Figma iOS date picker. Offering a true-to-life isometric design and easy-to-edit text, it's the most realistic option.

Segment UI kit

Mobile Templates

Segment UI kit

Design stunning Android apps with our free Figma UI kit. Follow Android guidelines and components and use our fonts, colors, and templates.

Figma React UI kit

Design & Code

Figma React UI kit

Our Figma React UI kit 2-in-1 makes web app building faster. Created in Figma, exported to React, and customised with Blueprint.js library.

Messenger app desktop template

Desktop

Messenger app desktop template

Effortlessly create world-class communication design with our Messenger Template for Figma. With dark and light mode options.

Zeus UI free website template

Web Design

Zeus UI free website template

Zeus Web UI kit-inspired landing page template. Supports all viewports, card-driven UX, polished with Syne and Space Grotesk fonts.

Design system starter

Global Styles

Design system starter

Launch your project with confidence thanks to our Figma design system. Customize grids, text, color, gradients, and shadows with ease.

Navigation layout 4 samples

Mobile & Desktop

Navigation layout 4 samples

Sleek Navigation Menu for Material X design system in Figma. Various sizes and design options. Features badges and active state highlight.

Chart cards

Data visualization

Chart cards

Make your data pop with our easy-to-use Charts UI kit. Featuring bar charts and heatmaps, it's perfect for dataviz, dashboard, pitches and others.

Material UI styled

Mobile & Desktop

Material UI styled

New and improved Material UI Kit, refreshed with enhanced material.io guidelines. Free and ready-to-use components included.

Hyper charts

Data visualization

Hyper charts

Transform your data into captivating visuals with several Figma's chart templates based on Hyper Charts kit. You'll find 8 editable widgets inside.

Search inputs

Components

Search inputs

Explore how Figma inputs are revolutionizing search interface design. Gain key insights to enhance user experience with impeccable UIs.

Figma Grid Layouts

Grid Layouts

Figma Grid Layouts

This template is designed to help you create templates that are beautifully balanced. Features both mobile and desktop layouts with 16/24 gutters.

Panda dashboard template

Desktop

Panda dashboard template

Build sleek dashboards with our Panda UI kit starter! Featuring a 1920w desktop template, UI widgets, and components.

Orion dataviz templates

Dashboard Templates

Orion dataviz templates

The design system starter for your next application. This resource contains 6 dashboard templates and a bundle of UI design widgets.

Subscribe to Setproduct

Once per week we send a newsletter with new releases, freebies and blog publications

By clicking Sign Up you're confirming that you agree with our Terms and Conditions.