@nxuss/lemma weekly downloads statistics
By nxuss · npm · Claude Code
Local MCP server that gives coding agents a verifiable project memory, trims what enters their context, and masks secrets — with honest accounting of what it saves and costs.
@nxuss/lemma has 1,825 recorded weekly downloads on npm, a decrease of 33.8% over the past 30 days, ranking #1916 of 3,247 tracked listings.
About @nxuss/lemma
🧠 Lemma
A persistent memory for your AI coding agent, verified against the code, and a context window that only holds what matters.
Coding agents forget everything between sessions, re-read the same files, and dump whole test logs into their context. Lemma is a local MCP server (plus an optional proxy) that gives them a project memory checked against your actual code, trims what enters the context, and keeps the receipts — including what Lemma itself costs.
Requires Node.js 20 or newer (node -v).
npm install -g @nxuss/lemma
lemma init # wires Claude Code, plus Cursor, Codex, Windsurf, Kiro, OpenCode or Muse when they are installed
lemma init writes only the files of the hosts it finds: Claude Code always, and another host when its
config dir, its CLI or its file in the project exists. lemma init --all-hosts writes every host's files.
That's it: your agent now has Lemma's tools. The dashboard opens at http://localhost:8081/dashboard/.
Run
lemma initin every project, and again after each upgrade.npm install -gupdates Lemma's code, but part of what Lemma does lives in filesinitwrites into your project: the rules your agent reads (CLAUDE.md/AGENTS.md), the pre-approved tool permissions, and the hooks for the other clients. Without it you keep the old rules and keep seeing permission prompts. Then reconnect the MCP server (/mcpin Claude Code) so the running session loads the new build. What an upgrade does on its own.
Why Lemma
| Where coding agents fail | What Lemma does about it |
|---|---|
| Last week's fix is in a note, and the code it describes has changed since. | The memory comes back stale, with the diff, instead of confidently wrong. It watches the function the note names and what the same fix changed beside it, in files the note never mentioned. |
| Two notes disagree and nobody notices. | Storing warns when another memory answers the same question differently or reaches the opposite outcome on the same symbol. |
| "Continue where we left off" has nothing to continue from. | The session leaves a hand-off built from the transcript and git: the task as given, the files changed, the last test run (Pro). |
| The same red test is debugged twice. | A red → green run is saved as fix: <the error> with its diff, and recalled when the error returns. |
A native cat .env puts a live key in the conversation. | Lemma's own reads and commands mask it; for the host's native tools, a hook names the kind of secret and tells the agent not to repeat it (it cannot rewrite what the host already showed). |
| You can't tell what the tool costs you. | The dashboard shows what Lemma saved and what it spent, net. |
🧠 A memory that knows when it's out of date. The Brain stores fixes, decisions and context in a local index (BM25, no embeddings service, no cloud). Every memory is tied to the files and symbols it's about, and to what the same work changed beside them: the neighbour the fix moved, the caller in another file, the file born with it. A change sitting in your tree for another reason is named, not tracked. So when the code changes the memory comes back stale instead of confidently wrong — and a memory with no evidence is labelled as such, never sold as a verified answer.
↪ Work that survives the session (Pro, Claude Code and OpenCode). A session that edited code leaves a hand-off built from the transcript and git, with no model tokens: the task exactly as it was given, the files changed, the last test run, and what each subagent did (its description, the files it edited, its last run), so an orchestrator that delegated everything still leaves one. The next session's briefing points at it, so "continue where we left off" has something to continue from. An agent's own note tends to keep function names and drop their parameter lists; the hand-off keeps the plan verbatim. In our benchmark (a plan said only in the first session, graded by hidden tests) agents with Lemma finished it in 3 of 3 runs, Claude Code's built-in memory in 1 of 3 and another agent-memory tool in 0 of 3 (3-run cells, one model, our own benchmark: a lead, not a proof). It costs more per task, not less, because the agent does the work the others skip.
↪ …and the compaction (Pro, Claude Code and OpenCode). When Claude Code compacts a long conversation, a PreCompact hook
saves the same hand-off first, and the SessionStart that follows puts its content (the plan exactly as it was given,
the files, the last run) back in context, not a pointer to it. The agent has the plan in front of it without going
back to the session transcript: in bench/compaction the agents with the hook finished the task in 15 of 15 runs
(Sonnet and Haiku), the Haiku ones without a single trip back to the transcript, and where the transcript could not be
read it was 5 of 5 against 2 of 5 without the hook (n=5 per arm). It never blocks the compaction: it prints nothing,
always exits 0 and takes about 0.1 s on a 1.5 MB transcript. OpenCode gets the same hand-off through its plugin's
compaction hook, added to the compaction prompt (verified live; the benchmark numbers above are Claude Code's). Codex
and Cursor have no pre-compaction event, so nothing is installed for them.…
Description from the npm listing.
- mcp
- mcp-server
- model-context-protocol
- agent-memory
- ai-memory
- persistent-memory
- coding-agent-memory
- claude-code-memory
- memory-mcp
- memory
- agent-brain
- brain
- context-window
- context-compression
- ai-agents
- coding-agent
- claude-code
- cursor
- codex
- windsurf
README badge
Show your rank in a README or on your website. The badge updates automatically.
Charts
Images: 30d · 1y · all time · 1600×900 dark
Adoption over time
7/30/90-day growth
Ranking history
Listing placement
Listing placement
Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.
Each band is one page of 20. Weekly downloads on a linear scale. Placement is projected from weekly downloads, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.
Recent observations
Full history (170)Similar npm Claude Code plugins
All 20 @nxuss/lemma alternativesData source
Weekly downloads (trailing 7 complete days) come from the official npm downloads API. Downloads include CI and mirrors and are not equivalent to installs or users. npm publishes no ratings.
Listing: https://www.npmjs.com/package/@nxuss/lemma. First seen Oct 16, 2026; last successful collection Nov 25, 2026. See the methodology.