
LeanREA: An 8 KB Guide Replaces a 207-Tool MCP Server — 38% Faster, 35% Cheaper, 60% Fewer Tokens
Vũ Khôi
Tác giả tại Wotech Electronics Blog

One developer used just 8 KB of instructions to replace an MCP server containing 207 tools. The result: 60% fewer tokens, 35% lower cost, and 38% faster execution — at nearly the same accuracy.
That's the story of LeanREA, shared by Hỏi Dân it Offical on 02/12/2026. Wotech verified it: the repo is real on GitHub and the benchmark numbers match the author's README — but there are also important limits the original post doesn't mention, and this article covers both sides.
Quick answer
- What LeanREA is: a single
SKILL.mdfile of 8 KB (66 lines) that teaches an AI coding agent to use command-line tools directly — asar, otool, nm, jadx, apktool, Ghidra, tshark, binwalk, sqlite3 — instead of going through the REA (Reverse Engineer Anything) MCP server. Repo: github.com/aicodeking/leanrea, MIT license, launched 17/10/2026, about 1,400 stars.- What REA is: an open-source project by the morluto team, a 25 MB npm package plus an MCP server, exposing 207 tools (definitions weighing 3.35 MB of JSON), with a 23.5 KB skill plus 48.8 KB of reference docs, covering 20+ target categories.
- The author's benchmark (Claude Code headless, Sonnet 5.5, macOS arm64, 4 tasks × 3 repetitions): leanrea 388 s / $2.17 / 55 turns / 2.40M tokens / 74 out of 75; REA 627 s / $3.36 / 124 turns / 5.93M tokens / 75 out of 75. That's 38% faster, 35% cheaper, 56% fewer turns, 60% fewer tokens, at nearly equal accuracy.
- But read the fine print: the benchmark has only 3 repetitions per cell, one model, one machine; REA was measured in its best case (Claude Code loads MCP tools on demand — agents that load all 207 tools pay 400.7k tokens, $1.60, just to answer "OK"); and compared with using no skill at all, leanrea is only about 19% faster at nearly the same cost ($2.17 vs $2.21). This is the author's benchmark, with no independent reproduction.
- The real limits: REA is more than a CLI wrapper — it has an evidence ledger, Ghidra/IDA orchestration, and covers targets leanrea never tested (the Ghidra, Hopper, and jadx paths weren't tested; Windows, EVM bytecode, Linux crash dumps, Android over ADB, logic-analyzer recordings...). LeanREA is a distillation of REA's own knowledge — the author states no affiliation with REA and that most of the "gotchas" in the skill came from reading REA's code and docs.
- The bigger lesson: what AI needs isn't always more tools — sometimes it's just better guidance. The definitions of 207 tools are a kind of "context tax": load them all and the model must read 400.7k tokens before doing any work. When the agent already has a shell, a lookup table of "which target → which command is fastest" can replace an entire server.
What REA does, and why it's so heavy
REA (Reverse Engineer Anything) is an MCP server for reverse engineering: instead of letting the agent type commands itself, REA packages hundreds of analysis operations into 207 structured tools — analyzing Electron apps, binaries, Android APKs, firmware, WASM, websites, and JavaScript. Each tool has its own input/output schemas, totaling 3.35 MB of JSON definitions (745 KB input schemas, 2.46 MB output schemas, 90 KB descriptions).
The problem isn't the 207 tools — it's that the model must read their definitions before using them. In the worst case (an agent loading every tool), just answering "OK" costs 400.7k tokens, about $1.60. Claude Code uses deferred tool search by default (loading tools only when needed), so the real figure is usually much lower — but this startup cost still exists for any agent without a similar mechanism.

What does LeanREA do differently?
LeanREA drops the MCP layer entirely. Instead, one 8 KB SKILL.md tells the agent three things:
- A router table: which command is fastest for each target — an Electron app gets
asarto unpack the bundle; a Mach-O file getsotool+nm; a Go binary getsgo version -m; Android APKs, firmware, WASM, SQLite, pcap/HAR each have their own route. 18 target types in total. - Ready-to-paste recon commands: pre-assembled commands the agent can run immediately, without inventing syntax.
- A list of traps: the mistakes REA's code normally handles for you — hidden
.webpack/folders, minified files that need slicing, zsh marker quoting — so the agent avoids them itself.
The agent then runs the real tools itself through its shell. No server, no new tools, no setup (beyond the CLI tools each target type already needs).
Reading the benchmark correctly
The author's full benchmark table (4 tasks: Electron, native addon, Go binary, and a fourth; 3 repetitions per cell):
| Arm | Total wall time | Cost | Turns | Tokens | Score |
|---|---|---|---|---|---|
| leanrea | 388 s | $2.17 | 55 | 2.40M | 74/75 |
| REA (MCP + REA's skill) | 627 s | $3.36 | 124 | 5.93M | 75/75 |
Three things to note when reading this table:
- The sample is too small for a firm conclusion: 3 repetitions, 1 model (Sonnet 5.5), 1 machine (macOS arm64). Nobody has re-run it independently — one independent review (skills.tenten.co) retallied the 36 raw records in
bench/results/final.jsonland confirmed the numbers add up, but didn't re-run the benchmark. - The biggest win is against REA in its heaviest configuration: compared with no skill at all, leanrea is only ~19% faster, ~32% fewer turns, at nearly the same cost ($2.17 vs $2.21). In other words: the model was already fairly good at this; the skill makes it a bit faster, while the MCP server is what slows things down a lot.
- 74/75 vs 75/75: leanrea loses exactly one point — not "exactly equal" but "nearly equal". With 4 tasks, a one-point gap is small, but don't read it as "nothing lost".
When to use a skill, and when you still need MCP
- Use a leanrea-style skill when: the agent already has a shell; the work is standard, repeatable CLI operations; you want low context cost and fast startup; and you accept responsibility for the steps the server used to handle for you.
- You still need MCP/REA when: you need complex tool orchestration (Ghidra, IDA), a structured evidence ledger, coverage of many different target types (Windows, EVM bytecode, crash dumps, Android over ADB...), or when a team wants a standard interface that doesn't depend on the agent "knowing which command to type".
The closing question of the original post — "are we overusing MCP when many problems can be solved with Skills plus CLI?" — is the right question, but the answer isn't always "drop MCP". The answer is: measure the context cost of the MCP server you're using, then compare it with the cost of writing a good skill. In many cases, the skill wins. But when the server does things a skill can't — orchestration, evidence, broad coverage — MCP is still worth its "tax".
This article also continues a theme running through the recent shares: share 185 concluded "picking the right tool matters more than optimizing the prompt"; share 186 goes one step further — sometimes the tool is already in the agent's hands, and all that's missing is good guidance on how to use it.
Apply it now
- Measure the "context tax" of the MCP server you use: turn on logging and see how many tokens the agent spends loading tools before doing real work. If the number reaches hundreds of thousands of tokens like REA (400.7k), that's a sign to review it.
- Before writing another MCP tool, try writing a skill: list the 5–10 most-used operations, write a lookup table of "which case → which command", with sample commands and a list of common traps. An 8 KB file like leanrea is enough to start.
- Teach the agent the "fastest shortcut", not "every route": a good skill doesn't list every tool that could be used — it points to one fastest command per target type and lets the agent discover the rest.
- Record the traps, not just the correct steps: according to the author himself, the most valuable part of leanrea is the trap list (hidden folders, minified files, zsh quoting...) — the things the server's code used to handle. Every time the agent stumbles, add that trap to the skill instead of just fixing the error and forgetting it.
- Don't drop MCP just because of one benchmark: check whether your server does anything a skill can't (orchestration, evidence, broad coverage). If it does, keep it — and replace only the parts a skill can do equally well.
Frequently asked questions
Is LeanREA real, or just an idea on Facebook?
It's real: repo github.com/aicodeking/leanrea, MIT license, created 17/10/2026, about 1,400 stars and 206 forks (per explainx.ai's analysis). Install with npx skills add aicodeking/leanrea or by copying the file into ~/.claude/skills/.
Are the "38% faster, 35% cheaper, 60% fewer tokens" figures trustworthy?
They're the author's own benchmark (Claude Code headless, Sonnet 5.5, macOS arm64, 4 tasks, 3 repetitions per cell) and match the README: 388 s vs 627 s, $2.17 vs $3.36, 2.40M tokens vs 5.93M tokens. There has been no independent re-run; one review retallied the raw data and confirmed the numbers add up.
Does LeanREA fully replace REA?
No. REA covers 20+ target categories and has Ghidra/IDA orchestration plus an evidence ledger — things leanrea doesn't have and that weren't tested (the Ghidra, Hopper, and jadx paths aren't in the benchmark). LeanREA wins on the four CLI-friendly tasks tested; outside that scope, REA is still better.
What is a skill, and how is it different from MCP?
A skill is an instruction file (like SKILL.md) that teaches an agent how to use tools it already has — the agent runs commands through its shell. An MCP server is a separate program exposing structured tools for the agent to call — convenient and standardized, but every tool costs context for the model to read its definition. Skills are cheap on context; MCP is strong on orchestration and standardization.
Should I remove the MCP servers I'm using?
Don't remove them in bulk. Measure each server's context tax, try replacing with a skill where a skill does the job equally well, and keep the server where it does work a skill can't. The lesson of leanrea is "measure, then decide" — not "drop all MCP".
Source: Post by Hỏi Dân it Offical on Facebook, 02/12/2026, introducing the LeanREA project (github.com/aicodeking/leanrea). Independently verified: the repo is real (MIT, created 17/10/2026, ~1,400 stars); the benchmark figures match the author's README (leanrea 388s/$2.17/55 turns/2.40M tokens/74-75; REA 627s/$3.36/124 turns/5.93M tokens/75-75) and independent analyses (explainx.ai, diflowrin.com, developersdigest.tech, skills.tenten.co); the limits (3 repetitions, 1 model, 1 machine, REA measured in its best case, the gain over no skill only ~19%, Ghidra/Hopper/jadx paths untested, REA covering 20+ target categories) all come from the README itself and those analyses. The cover is an illustration generated for this article. Photo p1 from the original post (a man with a baseball bat on a road / the same man handcuffed, with a "TOP 1 comments" watermark) is unrelated to the content and was removed; photo p2 is a screenshot of the project's README, used as the mid-body image.
Bài viết liên quan

4 tháng 12, 2026 · 8 phut doc
Same Prompt, but Does Claude Produce an Animation or a PowerPoint? The Difference Is the Tool: Python, Remotion, Three.js, or Blender
Using Claude to make videos — one person creates an animated film, another creates a PowerPoint. The difference isn't really the prompt; it's the tool you give Claude to use.

4 tháng 12, 2026 · 11 phut doc
Lauren Tan: When AI Agents Don't Just Write Code but Manage a Whole Team of AI Engineers — 11,000 PRs a Month, 0.5% Revert Rate
Most programmers still use AI the familiar way: assign a task, receive code, read the result, and check every line themselves. But Lauren Tan — Principal Engineer at SpaceX Super Intelligence, leadin…

4 tháng 12, 2026 · 10 phut doc
AI Is Flooding the Internet With Slop: For the First Time in History, AI-Generated Content Outnumbers Human Content — and Brands Are Paying Extra for 'Made by Humans'
For three years, billions of dollars poured into AI with the ambition of automating content creation — replacing copywriters, designers, actors, and even social media creators. Now that AI can produc…