Skip to content
MCP server
Registry

memory-lean MCP Server

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

memory-lean scores 44 (Fair), licensed MIT and written in JavaScript. It installs as a local process. It declares 12 tools. Filed under AI and memory. GitHub shows 4 stars. Package registries report about 819 downloads a week. Install configs are generated for 10 clients. Being listed in the registry is not the same as being vendor-official.

by zamansheikhMITJavaScript4 stars
Trust score
44Fair
Trust score 44 of 100, Fair

Fair trust

44 of 100 from six public signals. Nobody can buy a point.

  • OSI-style license: mit.
How we score trust
Scorecard

License, quality and maintenance

How grades work
Trust breakdown

Where the 44 comes from

0 + 20 + 7 + 10 + 4 + 3 = 44. Each factor is capped, so no single signal can carry a listing.

Registry0 / 30

Active in the official MCP registry, plus a known vendor namespace.

Registry: 0 of 30 points.
Maintenance20 / 20

How recently the repository saw a commit or release.

Maintenance: 20 of 20 points.
Popularity7 / 20

GitHub stars and weekly downloads, on a log scale.

Popularity: 7 of 20 points.
License10 / 10

A clear, OSI-style open-source license.

License: 10 of 10 points.
Security4 / 10

Not archived, a secure install path, a pinned version.

Security: 4 of 10 points.
Docs3 / 10

A real summary, a README with depth, listed tools.

Docs: 3 of 10 points.

Install

Pick your client, copy the config, paste it in.

Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.

~/Library/Application Support/Claude/claude_desktop_config.json
{  "mcpServers": {    "zamansheikh-memory-lean": {      "command": "npx",      "args": [        "-y",        "memory-lean@1.7.0"      ],      "env": {        "MEMORY_FILE_PATH": ""      }    }  }}

Environment variables

NameRequiredNotes
MEMORY_FILE_PATHOptionalWhere the graph file lives (default ~/.claude/memory-graph/memory.jsonl)

Tools12Tool docs quality grade C

All capabilities
  • Adds facts to an entity, enforcing the length limit and the per-entity cap.

  • Lists what was archived for an entity, optionally filtered, and restores chosen facts. Not in the reference server.

  • Creates entities; existing names are skipped.

  • Creates relations between existing entities; duplicates are skipped.

  • Removes entities and every relation touching them. Their archived facts stay on disk, marked as deleted, and are not passed on to a later entity of the same name.

  • Removes observations, named by exact text or by such a part.

  • Removes specific relations.

  • The full entities you name, as compact text, with every relation touching them and their archive count. With related: true, related rules and pending work come first, each with its first fact. A name that is right but for its case or separa

  • An index: entity names grouped by type, with observation counts. Never the observations. In a large graph the biggest types are given as a count; entityType lists one.

  • Renames an entity, keeping its observations, relations and archive. Not in the reference server.

  • Replaces one fact in place. The old fact is named by its exact text or by a part of it (8+ characters) that no other fact of the entity contains. Not in the reference server.

  • Ranked list of entity names with counts and up to two matching snippets each. Every word must match the name, type, an observation, or the type of a relation touching the entity. Entities that match only in archived facts are named after th

About

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.

Frequently asked questions

What is memory-lean MCP Server?

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

How do I install memory-lean MCP Server in Claude Desktop, Cursor, or VS Code?

Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. memory-lean MCP Server runs locally from the npm package memory-lean with the command npx -y memory-lean@1.7.0.

Is memory-lean MCP Server free and open source?

Yes. memory-lean MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.

Does memory-lean MCP Server support remote (HTTP) connections?

No remote endpoint is listed for memory-lean MCP Server. It runs locally on your machine over stdio, started by your MCP client.

What tools does memory-lean MCP Server provide?

memory-lean MCP Server provides 12 tools, including add_observations, archived_observations, create_entities, and create_relations. See the full tool list for descriptions and parameters.

How is memory-lean MCP Server's trust score calculated?

memory-lean MCP Server scores 44 out of 100 (Fair). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.

Reviews

No reviews yet

—Be the first to review

5 star0 reviews at 5 stars
4 star0 reviews at 4 stars
3 star0 reviews at 3 stars
2 star0 reviews at 2 stars
1 star0 reviews at 1 stars

No published reviews yet. Used it? Tell the next person how it went.

Add badge to your README

Paste either snippet into the repository README. The image links to this listing.

Listed on MCPpedia

Top 5 MCP servers

Daily or weekly. Confirm by email, unsubscribe any time.

How often

Manage this listing

Claim this server