📡 MCP Radar

zamansheikh/memory-lean

A token-lean MCP memory server for AI coding agents: a knowledge graph your agent can search without reading the whole thing. Drop-in replacement for the reference memory server.

⭐ 3 stars
⑂ 0 forks
JavaScript
momentum ▲ 6.0
created 2026-10-07
on radar since 2026-10-13
ai-agentsclaudeclaude-codecursorknowledge-graphmcpmcp-servermemorymodel-context-protocol
View on GitHub ↗Homepage ↗

About memory-lean

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

Quick start · What the agent sees · Why it stays lean · Tools · Agent protocol · Settings · Contributing

memory-lean is an MCP server that gives Claude Code, Claude Desktop, Cursor and any other MCP client a knowledge graph that persists between sessions. It is a drop-in replacement for the reference memory server (@modelcontextprotocol/server-memory): same memory.jsonl file, same nine tool names, plus two extras. What changes is how much the tools send back.

Call, on a real graph of 237 entities Reference server memory-lean ------:---:---: readgraph ~77,800 tokens ~2,000 tokens 40× smaller searchnodes (average of 5 common words) ~31,000 tokens ~770 tokens 40× smaller

One file. No dependencies. Nothing to build.

Claude Code: install the plugin. It adds the server, a skill with the agent instructions, and a short reminder at the start of each session.

Any other agent: add the server to the agent's MCP config, then give the agent the instructions.

The config file and its exact shape differ per agent.

Copy-paste setup for each agent is in docs/SETUP.md:

Agent Server config Instructions --------- Claude Code plugin included in the plugin Xiaomi MiMo Code mimocode.jsonc skill or AGENTS.md opencode opencode.json AGENTS.md OpenAI Codex CLI codex mcp add AGENTS.md Cursor .cursor/mcp.json AGENTS.md or a rule VS Code (Copilot) .vscode/mcp.json copilot-instructions.md Gemini CLI settings.json GEMINI.md Windsurf mcpconfig.json a rule Cline clinemcpsettings.json .clinerules/ Zed settings.json AGENTS.md

From the project README.

Maintaining this server?

Add the radar badge to your README — it shows your project was picked up by MCP Radar and links to this page:

[![On MCP Radar](https://mcp.liqiwa.com/badge.svg)](https://mcp.liqiwa.com/s/zamansheikh--memory-lean.html)

Related MCP servers

digital-lake-ai/lognexus

Universal Git-powered persistent memory, context rules & native MCP server for AI coding agents. Prevents context amnesia with stateful workflows, Git Notes, and cross-model review gates across Claude

⭐ 4TypeScript
make0-official/brain-oss

AI memory for Claude Code, Cursor, Codex, Windsurf, and every MCP agent: one shared, versioned memory in a local MCP server. Offline, no API key.

⭐ 4TypeScript
sv-number/mcp-server

MCP server for AI agents that need a phone number: order a private number in 200+ countries, read the SMS verification code, hand it back. The widest country coverage in the category, and you can chec

⭐ 598JavaScript
Kerneta/daidocs

Open plain-text file format for AI memory. Your assistant's long-term memory as .dai files on your disk: readable by Claude, GPT, Gemini, Cursor, local models and grep (all LLM models work). MCP serve

⭐ 29JavaScript
prinzeval/valendata

Give your AI agent the web as an API. MCP server + skill for Claude Code, Codex & Cursor: self-healing scrapers for Google Maps, Amazon, Instagram, X, LinkedIn & more. Firecrawl- and Apify-compatible.

⭐ 7JavaScript
8itlab/genshin-miliastra-mcp

原神千星奇域 MCP 服务器:让 Claude、Cursor 等 AI 替你搭关卡、写节点图、自动试玩 | Unofficial MCP server for Genshin Impact's Miliastra Wonderland (UGC) editor: AI builds scenes, node graphs and playtests levels

⭐ 5JavaScript

📬 Get the weekly radar in your inbox

The top new MCP servers of the week, every Monday. No spam, unsubscribe anytime.