memory-lean
A token-lean MCP memory server: a knowledge graph your AI agent can search without reading the whole thing. Drop-in replacement for @modelcontextprotocol/server-memory.
No outside reports on file
memory-lean requires API keys or tokens; restrict its folder reach, network access, and credentials before installing.
Based on public adoption and transparency signals as of Oct 19, 2026. Our opinion, not a code audit or security guarantee.
What it can access
- Local filesNo local folder access notedLOW
- Command executionNo shell command runner notedLOW
- Network reachConnects to outside service APINOTED
- CredentialsRequires API key or tokenREVIEW
- Package sourcenpm (memory-lean)PUBLIC
Inferred from this listing’s public package details and description. Check the project’s source before installing.
Install
npx -y memory-leanAbout Memory Lean
Memory Lean is an MCP server focused on Web & browsing and Cloud & infrastructure: A token-lean MCP memory server: a knowledge graph your AI agent can search without reading the whole thing. Drop-in replacement for @modelcontextprotocol/server-memory.
It is published on npm as memory-lean and hosted on GitHub at zamansheikh/memory-lean (3 GitHub stars, 326 weekly npm downloads, last repository push on 2026-10-16). Based on its public metadata, its operational scope includes: requires api key or token.
Setup
Check these steps against the project’s own instructions before running anything.
Run memory-lean with --ignore-scripts in claude_desktop_config.json or .cursor/mcp.json:
{
"mcpServers": {
"memory-lean": {
"command": "npx",
"args": ["-y", "--ignore-scripts", "memory-lean"]
}
}
}
Why this grade
Signal-based grade (1/7 points): public source code. This reflects adoption and transparency, not a code review.
Popularity and upkeep
- GitHub stars
- 3
- Weekly npm downloads
- 326
- Listing last refreshed
- 2026-10-29
These are public popularity signals, not a maintenance check. Look at the repository’s commit history and open issues.
Security reports
No reports found for this package in our research (last checked 2026-10-29).
Risks to watch for
- Credential & token exposure: Requires API keys or secrets in configuration. Store credentials in environment variables with read-only or minimum required scopes and rotate them regularly.
- Dependency & version pinning: Distributed via npm (memory-lean). Pin an exact release version or commit SHA rather than floating tags so upstream updates are reviewed first.
How to lower the risk
Least-privilege permissions
- Give it access only to the specific folders, accounts or projects it needs, never your whole drive or admin account.
- Use a separate, limited API key or login just for this tool so you can switch it off without affecting anything else.
Network isolation
- Run it on a work computer or sandbox account, not one holding personal or company-sensitive data.
- If your IT team can, limit which websites and services it is allowed to contact.
Monitoring
- Check its activity history or logs weekly at first, and look at what it changed or sent.
- Turn on alerts for new logins or unusual usage on any account it connects to.
Red flags to watch for
- It asks for more access than its job requires, or prompts you to paste passwords.
- It suddenly updates with new owners, or starts contacting unfamiliar websites.
Questions
How do I install Memory Lean?
Run npx -y memory-lean in your terminal, or add the server entry to your claude_desktop_config.json or .cursor/mcp.json as shown in the Setup section on this page. Full setup docs and environment variables are in github.com/zamansheikh/memory-lean.
Are there security reports about Memory Lean?
No reports found for this package in our research (last checked 2026-10-29). Memory Lean currently holds Grade D (High risk signals) based on public adoption and transparency signals. Key risk areas to watch include credential & token exposure:, dependency & version pinning:.
Is Memory Lean actively maintained?
Memory Lean has 3 GitHub stars and 326 weekly npm downloads, with its latest repository commit pushed on 2026-10-16. Our directory data was last refreshed on 2026-10-29. Check recent commit activity, release tags, and open issues at github.com/zamansheikh/memory-lean before pinning it in production.
What are alternatives to Memory Lean?
You can compare Memory Lean side by side with other Search, Memory MCP servers in the Related tools section on this page, or use the Compare tool on AgentArmorHQ.
Key facts
- Type
- App connector
- Publisher
- zamansheikh
- Source code
- github.com/zamansheikh/memory-lean
- Install command
- npm install memory-lean
- Est. context load
- ~900 tokens / turn (~5 tool schemas, 0.45% of 200k context)
- Popularity
- 3 GitHub stars, 326 weekly npm downloads
- Last updated
- 2026-10-29
- Last graded
- 2026-10-20
Community
Discussions for Memory Lean
Ask questions or share configuration tips. Governed by our Community Rules & Terms.
No posts match this filter yet.
Be the first to ask a question or share a working tip.
Check before you install, in Claude
Your assistant answers Block, Review or No known issues for any package before it installs it.
Get this check inside Claude