Home/AI Agents/claude-mem
claude-mem logo

claude-mem

thedotmack/claude-mem

Persistent Context Across Sessions for Every Agent

GraphCanon updated Sep 20, 2026 · GitHub synced Sep 20, 2026

103views this month

91k stars8.0k forksLast push Aug 17, 2026 JavaScript Apache-2.0

Decision brief

claude-mem provides persistent context across sessions, leveraging AI to capture and compress agent activity.

Good fit when

  • When you require seamless and persistent context continuity between different session interactions with Claude Code or other supported agents.
  • If your development workflow needs long-term memory capabilities for code history and project context recall.

Avoid when

  • When working in environments where Node.js v20.0.0 or higher cannot be installed, as claude-mem requires this version to operate.
  • If your specific AI agent or tool does not integrate with the supported frameworks listed (e.g., Claude Code, OpenClaw), making context persistence ineffective for your workflow.
Requirements:
Requires Node.js v20.0.0 or higher.; Must have the latest version of Claude Code with plugin support.; Auto-installs Bun (JavaScript runtime and process manager) if not already present.; Requires uv (Python package for vector search), auto-installation supported.

Observed Jul 11, 2026 · Source: enrich:decision_facts

Verify the decision

Adoption

Package downloads where a registry match exists. GitHub stars (91,018) are secondary evidence.

npm downloads (30d)
63,660·npm downloads API·Aug 18, 2026

Maintenance and security

Full trust report
Maintenance
Very active (0d since push)
As of Aug 18, 2026
Provenance
Not a fork · Personal account
As of Aug 18, 2026
Security (OSV)
No lockfile
As of Jul 11, 2026

Public GitHub metadata and optional OSV scans. Signals, not a guarantee. Trust methodology.

Install

npm install claude-mem
npm

How it fits your stack(24)

Typed graph edges - alternatives, integrations, successors, and dependencies. Ranked by relationship type, not raw GitHub stars.

Integrates

Relationship graph

Optional deeper exploration of typed edges and category neighbours.

Similar tools

Same-category neighbours not already linked as typed edges.

Evidence and technical details

Sourced facts, taxonomy, compatibility claims, README excerpt, and machine-readable endpoints.

Overview

Captures agent activity during sessions, compresses it with AI, and injects relevant context into future sessions.

Capability facts

Deploy
Self-host

Source: dockerfile:docker-compose.yml · Aug 18, 2026

Docker
Dockerfile present

Source: dockerfile:docker-compose.yml · Aug 18, 2026

CLI
CLI entrypoint

Source: package.json:bin|scripts · Aug 18, 2026

MCP server
Ships MCP server

Source: package.json:@modelcontextprotocol/* · Aug 18, 2026

Languages
javascript, typescript

Source: github.language+package.json · Aug 18, 2026

Categories

Graph entities

Compatibility

Sourced claims from the README excerpt - not unsourced marketing copy.

Node.js runtimeNode.js

Source: README excerpt (regex_v1, Aug 18, 2026)

- **Node.js**: 20.0.0 or higher
Source link
Python runtimePython

Source: README excerpt (regex_v1, Aug 18, 2026)

- **uv**: Python package manager for vector search (auto-installed if missing)
Source link

Tags

README

Quick Start Install with a single command: Or install for OpenCode: Or install for Antigravity CLI (setup guide): Or install from the plugin marketplace inside Claude Code: Restart Claude Code. Context from previous sessions will automatically appear in new sessions. Note: Claude...

For agents

This page has a .md twin and JSON over the API.

Was this helpful?

Anonymous feedback helps us improve pages and translations.