Prototype · Preview: every server in the official registry, synced every 30 minutes. Sign in with Google to write reviews.Prototype · updated every 30 min
PopNx MCPMCP servers for people who use AI · explained in plain words

Memory Lean

by zamansheikhversion 1.6.1i★ 3iRuns on your computer
Registry nameio.github.zamansheikh/memory-lean

How to install

What it does

Token-lean memory for AI agents: a knowledge graph searched cheaply. Drop-in for server-memory.

  • Connects Runs on your computer
  • Account or key No key needed
  • Category Search & AI memory

Install

Pick the AI app you use, then copy the settings.

Passed 3/3 checks · Runs on your computer · ✓ Commands checked Nov 14, 2026

First: which AI do you use?

Pick your app and the steps appear below.

Works with Claude, with some setup first

Install Node.js on your computer first (one time) · Only the Claude desktop app (Windows or Mac), not the web or phone

Let AI install it

Copy this message into a Claude chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server Memory Lean for Claude on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "mcpServers": { "memory-lean": { "command": "npx", "args": [ "-y", "memory-lean" ] } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) No key is needed. 5) Do what we agreed, then check that the Memory Lean tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install Node.js (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    node -v
    • A version number such as v26.13.1 = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed

    Open the Node.js download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v

    Install once; it works for everything that needs Node.js

  2. Open the Claude desktop app’s settings file

    SettingsDeveloperEdit Config

  3. Paste these settings and save the file

    {
      "mcpServers": {
        "memory-lean": {
          "command": "npx",
          "args": [
            "-y",
            "memory-lean"
          ]
        }
      }
    }
  4. Quit Claude and open it again

  5. Try it

    Use Memory Lean and tell me what you can do for me, then show me one thing

    ✓ If Claude says it is using Memory Lean or shows a Memory Lean tool in the answer, you are connected

1 optional setting(s) (works without them)

The command above works without these. Add them only if you want to change something, following the maker’s description.

  • MEMORY_FILE_PATH Where the graph file lives (default ~/.claude/memory-graph/memory.jsonl)

Descriptions are as written by the maker.

Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version

ChatGPT cannot connect Memory Lean yet

Memory Lean runs on your computer, but ChatGPT can only connect servers that run on the web

What you can do instead

A · Use an app that can connect Memory Lean

  • Install Node.js on your computer first (one time) · Only the Claude desktop app (Windows or Mac), not the web or phone
  • Install Node.js on your computer first (one time)
  • Install Node.js on your computer first (one time)
  • Install Node.js on your computer first (one time)

B · Others in Search & AI memory that work with ChatGPT

Picked from the most used in the same category, only ones that connect by address with no key

Works with Claude Code, with some setup first

Install Node.js on your computer first (one time)

Let AI install it

Copy this message into a Claude Code chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server Memory Lean for Claude Code on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): claude mcp add --scope user memory-lean -- npx -y memory-lean 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) No key is needed. 5) Do what we agreed, then check that the Memory Lean tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install Node.js (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    node -v
    • A version number such as v26.13.1 = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed

    Open the Node.js download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v

    Install once; it works for everything that needs Node.js

  2. Open Terminal

    Mac: press Command+Space and type Terminal · Windows: open PowerShell

  3. Paste this command and press Enter

    claude mcp add --scope user memory-lean -- npx -y memory-lean
  4. Type /mcp in Claude Code

    You should see Memory Lean listed as connected

  5. Try it

    Use Memory Lean and tell me what you can do for me, then show me one thing

    ✓ If Claude Code says it is using Memory Lean or shows a Memory Lean tool in the answer, you are connected

1 optional setting(s) (works without them)

The command above works without these. Add them only if you want to change something, following the maker’s description.

  • MEMORY_FILE_PATH Where the graph file lives (default ~/.claude/memory-graph/memory.jsonl)

Descriptions are as written by the maker.

Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Works with Cursor, with some setup first

Install Node.js on your computer first (one time)

Let AI install it

Copy this message into a Cursor chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server Memory Lean for Cursor on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "mcpServers": { "memory-lean": { "command": "npx", "args": [ "-y", "memory-lean" ] } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) No key is needed. 5) Do what we agreed, then check that the Memory Lean tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install Node.js (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    node -v
    • A version number such as v26.13.1 = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed

    Open the Node.js download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v

    Install once; it works for everything that needs Node.js

  2. Click this button to open Cursor

    Open in Cursor

    Cursor asks you to confirm; click Install

  3. Open the AI chat in Cursor in Agent mode

  4. Try it

    Use Memory Lean and tell me what you can do for me, then show me one thing

    ✓ If Cursor says it is using Memory Lean or shows a Memory Lean tool in the answer, you are connected

1 optional setting(s) (works without them)

The command above works without these. Add them only if you want to change something, following the maker’s description.

  • MEMORY_FILE_PATH Where the graph file lives (default ~/.claude/memory-graph/memory.jsonl)

Descriptions are as written by the maker.

Menu names checked against Cursor’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Works with VS Code, with some setup first

Install Node.js on your computer first (one time)

Let AI install it

Copy this message into a VS Code chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server Memory Lean for VS Code on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "servers": { "memory-lean": { "type": "stdio", "command": "npx", "args": [ "-y", "memory-lean" ] } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) No key is needed. 5) Do what we agreed, then check that the Memory Lean tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install Node.js (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    node -v
    • A version number such as v26.13.1 = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed

    Open the Node.js download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v

    Install once; it works for everything that needs Node.js

  2. Click this button to open VS Code

    Open in VS Code

    VS Code asks you to confirm; click Install

  3. Open the AI chat in VS Code in Agent mode

  4. Try it

    Use Memory Lean and tell me what you can do for me, then show me one thing

    ✓ If VS Code says it is using Memory Lean or shows a Memory Lean tool in the answer, you are connected

1 optional setting(s) (works without them)

The command above works without these. Add them only if you want to change something, following the maker’s description.

  • MEMORY_FILE_PATH Where the graph file lives (default ~/.claude/memory-graph/memory.jsonl)

Descriptions are as written by the maker.

Menu names checked against VS Code’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Other apps that use MCP, such as Windsurf, Zed or Gemini CLI, each add servers differently. See how in the app list.

See every app that uses MCP →

JSON settings are under “For developers” below

Stuck? Ask people who use Memory Lean💬 Discussion →
For developers: Terminal commands and JSON settings

Installed on your computer

Claude Code

claude mcp add --scope user memory-lean -- npx -y memory-lean

Claude Desktop (claude_desktop_config.json)

{
  "mcpServers": {
    "memory-lean": {
      "command": "npx",
      "args": [
        "-y",
        "memory-lean"
      ]
    }
  }
}

Cursor (~/.cursor/mcp.json)

{
  "mcpServers": {
    "memory-lean": {
      "command": "npx",
      "args": [
        "-y",
        "memory-lean"
      ]
    }
  }
}

VS Code (mcp.json)

{
  "servers": {
    "memory-lean": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "memory-lean"
      ]
    }
  }
}

Values you fill in

  • MEMORY_FILE_PATH env
    Where the graph file lives (default ~/.claude/memory-graph/memory.jsonl)

Descriptions are as written by the maker.

These settings are generated from the maker’s registry entry. If the README says otherwise, follow the README.

At a glance

Downloads per weeki
210/wk
Connection
Runs on your computer
Latest versioni
1.6.1
Published to registryi
Nov 11, 2026
Code last changedi
Nov 11, 2026
Maker
zamansheikh
Packages
npm: memory-lean
Registry status
Active

Which apps can use it

Based on how this server connects and on each app’s own docs, checked Nov 10, 2026.

Run on your computer in

ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast

All apps, with pros and cons →

Related guides

What it can do

Runs on your computer; the tool list appears in your AI app after you install it.

Basic checksi

We check information anyone can see; we have not read the code. Checks that do not apply are left out of the count. · Checked Nov 15, 2026

  • ✓ Pass

    Maker matches the repo

    The registry name was verified with the GitHub account zamansheikh, which owns the repo

  • ✓ Pass

    Still maintained

    Code last changed 4 days ago

  • ✓ Pass

    Has a licence

    Uses MIT

  • – Not applicable

    Endpoint responds

    This one runs on your computer; there is no internet endpoint

  • – Not applicable

    Sign-in with OAuth

    Runs on your computer and uses local settings instead

  • … Not checked yet

    No hidden instructions in tool descriptions

    Runs on your computer; we can only read tool lists from internet endpoints

Published vulnerabilities (OSV.dev)

Not checked yet

What we check → · JSON

Makers: ask for a re-check or report wrong info

Discussion

Ask, share a tip or report that it does not work. Sorted by what people marked helpful.

No posts yet. Be the first to ask or share.

Posts here are written by users, not the PopNx team.

Sign in to post

User reviews

No reviews yet

Sign in to write a review

Compared with others in Search & AI memoryi

  • More stars than 85% of the other 6146 servers in this category
  • Published to the registry more recently than 92% of the other 6146 servers in this category
  • Basic checks equal to or better than 100% of the other 6146 servers in this category

Compared with every active server in this category in the registry. Stars count only when the publisher owns the repo.

Common questions

Is Memory Lean safe?

It passed 3 of 3 applicable basic checks. We have not read the code. Before adding a key or token, see what access the server asks for and use a key with only the permissions you need.

What keys or codes does it need?

The registry does not list a required key, though some servers ask you to sign in on first use.

Does it run on my computer or in the cloud?

It runs on your computer. Your AI app starts it when needed, and data does not pass through the maker’s servers (unless it calls an online service itself).

Is it still maintained?

The GitHub repo last changed 4 days ago, and the latest version (1.6.1) reached the registry 4 days ago.

Which apps can use it?

Apps that support MCP, such as Claude Desktop, Claude Code, Cursor and VS Code. You also need Node.js on your computer.

What can I use instead?

In the same category: OpenSEO, Exa, Mockserver, Microsoft Learn MCP, Docs

Similar alternatives

Same category, other makers, commands already checked. Official ones first, then by stars.

Reading a card:↓ Downloads per weeki★ GitHub starsiThree pillars: reviews · checks · usageiUpdated = latest version published to the registryi

OpenSEO

Keyword research, site audits, rank tracking and AI visibility for your AI agent.

by every-appWidely used★ 27.7KUpdated yesterday

Runs in the cloud✓ everyapp.com

Exa

Connect AI agents to Exa for web search, content fetching, and multi-step research.

by exa-labsWidely used★ 5.2KUpdated 2 months ago

Runs in the cloud✓ service owner · exa.aiTried by the PopNx team

Mockserver

Mock, record/replay, verify and chaos-test any HTTP, REST, gRPC or LLM dependency over MCP.

by mock-serverGrowing★ 5KUpdated 19 days ago

Runs on your computer✓ service owner · mock-server.com

Microsoft Learn MCP

Official Microsoft Learn MCP Server – real-time, trusted docs & code samples for AI and LLMs.

by MicrosoftDocsWidely used★ 2KUpdated 12 months ago

Runs in the cloud✓ service owner · microsoft.comTried by the PopNx team

Docs

Search and read Empryo's documentation. Read-only, no auth, no local access.

by proxysoulGrowing★ 1.6KUpdated 2 months ago

Runs in the cloud✓ empryo.com
  • OpenSEO — Runs in the cloud, nothing to install · No key needed
  • Exa — Runs in the cloud, nothing to install · No key needed · In Claude’s directory
  • Mockserver — Installs on your computer · No key needed
  • Microsoft Learn MCP — Runs in the cloud, nothing to install · No key needed · In Claude’s directory
  • Docs — Runs in the cloud, nothing to install · No key needed

README from the maker

Open the README

Copied from the maker’s repo as written. PopNx MCP has not reviewed or endorsed it. HTML, images and scripts are removed. Links lead off this site.

memory-lean

Long-term memory for AI coding agents that doesn't burn the context window.

A knowledge graph your agent searches cheaply, and a web UI where you can see and edit all of it.

Install · Quick start · Web UI · How it works · Tools · Setup for 12 agents · Contributing

memory-lean is an MCP server that gives Claude Code, Codex, Cursor, MiMo Code and any other MCP client a memory that lasts between sessions: which projects exist, what depends on what, which version shipped, what is still pending, and which rules were learned the hard way. It is a drop-in replacement for the reference memory server (@modelcontextprotocol/server-memory), with the same file and tool names, but its answers are about 40 times smaller.

Install and update

memory-lean needs Node.js 18 or newer and nothing else.

npm install -g memory-lean          # install

npm install -g memory-lean@latest # update to the newest release memory-lean --version # the version you have

Installed this way, the command in your agent's MCP config is memory-lean. The other two ways to run it need no npm command:

InstallUpdate
npxNothing to install: the config in Quick start runs npx -y memory-leanAutomatic: npx fetches the newest release when the agent starts the server

| Claude Code plugin | In Claude Code: /plugin marketplace add zamansheikh/memory-lean /plugin install memory-lean@memory-lean | In a terminal: claude plugin marketplace update memory-lean claude plugin update memory-lean@memory-lean |

  • Restart after an update. A session that is already open keeps the server it started with. Start a new session, or reconnect the memory server in your agent (/mcp in Claude Code).
  • Your memory is not touched. An update replaces the server only. The graph file stays as it is (~/.claude/memory-graph/memory.jsonl unless you moved it), and every version reads the same file.
  • npx still runs an old version? Older npm versions reuse the copy they downloaded first. Write memory-lean@latest in the config instead of memory-lean.

What changed in each release is in the changelog.

Highlights

About 40× smaller answers. Search returns a ranked list of names and the lines that matched, not every entity in full, so the agent can afford to check its memory before every task.

A web UI for people. See the whole graph grouped by type, follow relations, and add, edit or delete anything. Agent writes show up live.

Drop-in replacement. Same memory.jsonl file and the same nine tools as the reference server. Switch in, and switch back whenever you like.

Works with every agent. Copy-paste setup for Claude Code, MiMo Code, Codex, Cursor, Copilot, Gemini CLI, Zed, JetBrains and more, plus the instructions that teach the agent to use it.

Stays small by itself. Short facts, a cap per entity, and an archive for the overflow, so the graph never grows into a wall of text.

Private and safe. Plain local files, daily backups, a write lock for parallel sessions, and no network access. One server file, zero dependencies.

The numbers

Measured on a real graph of 237 entities, 355 relations and 1,160 facts (tokens ≈ characters ÷ 4):

CallReference servermemory-lean
read_graph~77,800 tokens~2,000 tokens40× smaller
search_nodes, average of 5 common words~31,000 tokens~770 tokens40× smaller

A narrow search that matches one or two entities saves less, because there is little to trim. To measure your own graph, run node tools/bench.mjs from a clone; it is read-only and prints sizes, never content.

Quick start

Claude Code: install the plugin. It adds the server, the instructions as a skill, a short reminder at the start of each session, and /memory-ui.

/plugin marketplace add zamansheikh/memory-lean

/plugin install memory-lean@memory-lean

Any other agent: add the server to its MCP config. It tells the agent the basics when it starts; the full instructions go into the rules file your agent reads.

{

"mcpServers": { "memory": { "command": "npx", "args": ["-y", "memory-lean"] } } }

npx -y memory-lean --protocol >> AGENTS.md   # into the rules file your agent reads

Just looking? Open the web UI on a made-up example graph:

npx -y memory-lean --ui --demo

Setup for each agent

AgentServer configInstructions
Claude Codepluginincluded in the plugin
Xiaomi MiMo Codemimocode.jsoncskill or AGENTS.md
opencodeopencode.jsonAGENTS.md
OpenAI Codex CLIcodex mcp addAGENTS.md
Cursor.cursor/mcp.jsonAGENTS.md or a rule
VS Code (Copilot).vscode/mcp.jsoncopilot-instructions.md
Gemini CLIsettings.jsonGEMINI.md
Windsurfmcp_config.jsona rule
Clinecline_mcp_settings.json.clinerules/
Zedsettings.jsonAGENTS.md or .rules
JetBrains IDEsAI Assistant settingsa rule or guidelines
Claude Desktopclaude_desktop_config.jsonproject instructions

The graph is created on the first write at ~/.claude/memory-graph/memory.jsonl, whichever agent writes it, so all your agents share one memory. Set MEMORY_FILE_PATH to keep it somewhere else.

Web UI

npx -y memory-lean --ui

This opens your memory in the browser. Everything an agent can do, you can do here:

  • Explore. Each type gets its own bubble. Click an entity to highlight everything it connects to, drag nodes to arrange them, and scroll to zoom. Search matches names, types and facts.
  • Edit. Add, edit and delete facts, rename an entity or change its type, add and remove relations, create and delete entities, and restore archived facts. Every change passes the same checks as the agents' tools.
  • Watch. Changes your agents make appear within two seconds.
  • Spot problems. The overview lists pending work, the most connected entities, anything over budget (also marked on the graph), and signs the graph needs tidying: finished pending work, near-duplicate names, entities nothing links to.

Follow the connections. Select an entity to see its facts and relations. Find anything. Search names, types and facts at once.

Edit in place. With the same 300-character limit the agents have. Light or dark. It follows your system, or pick one.

The page runs on your machine only (127.0.0.1) and needs the one-time key in the link it prints, so other websites cannot read or change your memory. Nothing is uploaded anywhere.

How it works

Search, then open

The reference server answers a search with every matching entity in full, as pretty-printed JSON. memory-lean answers with a ranked list of names and the lines that matched:

> search_nodes { "query": "deploy" }

57 match "deploy", top 10 shown (narrow the query or raise limit). open_nodes for full entities.

  • shop-backend [service] 12 obs, 6 rel › deploy with scripts/release.sh, never by hand › 2026-03-02: deployed 2.4.0 to production
  • PENDING shop-backend 2.4.0 [pending] 2 obs, 3 rel › …mobile apps still call the old endpoint until the deploy of 2.4.0 reaches them

The agent then opens only what it needs:

> open_nodes { "names": ["shop-backend"], "related": true }

shop-backend [service] (3 archived)

  • NestJS API behind api.example.com
  • 2026-03-02: deployed 2.4.0 to production

relations

RULE no Friday deploys -applies_to-> shop-backend › Deploys after Thursday 18:00 need the on-call's approval PENDING shop-backend 2.4.0 -blocks-> shop-backend › 2026-03-02: 2.4.0 published, the apps still call the old endpoint (+1 more) shop-app -talks_to-> shop-backend

With related: true, the rules and pending work that touch the entity come first, each introduced by its first fact. A rule is often a single fact, so one call is enough to start a task, and (+1 more) says when opening one would add something.

A search that is too narrow does not just fail. It names the term that is nowhere and the entities that come closest, so the agent drops the right word instead of guessing:

> search_nodes { "query": "shop release pipeline" }

No entities match "shop release pipeline". In no entity: pipeline. Closest (2 of 3 terms): shop-backend, shop-app.

Facts that were moved to the archive still answer a search. An entity whose onl

Only the beginning is shown; read the rest in the repo