Koskamo

memory-lean MCP

A token-lean MCP memory server for AI coding agents that uses a knowledge graph to provide long-term memory. It acts as a drop-in replacement for the reference memory server, offering search capabilities that return ranked lists of names and matching lines, resulting in answers approximately 40 times smaller than the reference implementation. It includes a web UI for viewing and editing the graph, supports multiple agents, and operates with plain local files and zero dependencies.

Package and access

Local package with source-attributed installation metadata. Koskamo does not execute packages during review.

memory-lean MCP logo, by zamansheikhCommunity listingLocal stdioSource reviewed; not executedPublished by zamansheikh
Vendor documentation

Checks and signals

Each line is separate evidence, not a trust score.

  • Popularity 3 GitHub stars

What you can do with it

  • Provide long-term memory for AI coding agents across sessions
  • Search knowledge graph for project dependencies and rules
  • View and edit memory graph via web UI
  • Replace reference memory server with smaller token footprint

Source and maintenance

Community listingRegistry 1.5.0MIT
Last repository push
Latest release
v1.5.0
Maintenance checked

Packages and installation

Source-provided package data. Koskamo has not executed or live-probed this package.

memory-lean 1.5.0

npm
memory-lean package definition
{
  "version": "1.5.0",
  "transport": "stdio",
  "identifier": "memory-lean",
  "registryType": "npm",
  "environmentVariables": [
    {
      "name": "MEMORY_FILE_PATH",
      "format": "filepath",
      "description": "Where the graph file lives (default ~/.claude/memory-graph/memory.jsonl)"
    }
  ]
}

Tools

Reported by the attributed source; not independently observed by Koskamo.

No tool definitions available.

Maintenance history

Public check and source-refresh events. Editorial and ownership records remain private.

  • · repository · passed · metadata changed · updated
  • · backfill · recorded · Pre-expansion baseline; unobserved rich metadata remains unknown

Connect from your client

Each snippet configures the same source-provided package; replace placeholders before use.

This server is operated by the named third party. Listing and endpoint checks are not an endorsement or a security audit. Review the operator's permissions, terms, and data handling before connecting. How listings are checked and corrected.

Cursor

Merge this local stdio configuration, replace every placeholder environment value, and restart Cursor. Koskamo has not executed this package.
Cursor configuration
{
  "mcpServers": {
    "memory-lean-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "memory-lean@1.5.0"
      ],
      "env": {
        "MEMORY_FILE_PATH": "<YOUR_MEMORY_FILE_PATH>"
      }
    }
  }
}

Cline

Merge this local stdio configuration, replace every placeholder environment value, and restart Cline. Koskamo has not executed this package.
Cline configuration
{
  "mcpServers": {
    "memory-lean-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "memory-lean@1.5.0"
      ],
      "env": {
        "MEMORY_FILE_PATH": "<YOUR_MEMORY_FILE_PATH>"
      }
    }
  }
}

VS Code

Merge this local stdio configuration, replace every placeholder environment value, and restart VS Code. Koskamo has not executed this package.
VS Code configuration
{
  "servers": {
    "memory-lean-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "memory-lean@1.5.0"
      ],
      "env": {
        "MEMORY_FILE_PATH": "<YOUR_MEMORY_FILE_PATH>"
      }
    }
  }
}

Claude Desktop

Merge this local stdio configuration, replace every placeholder environment value, and restart Claude Desktop. Koskamo has not executed this package.
Claude Desktop configuration
{
  "mcpServers": {
    "memory-lean-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "memory-lean@1.5.0"
      ],
      "env": {
        "MEMORY_FILE_PATH": "<YOUR_MEMORY_FILE_PATH>"
      }
    }
  }
}

Let your agent find its tools

Find servers like memory-lean MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.