by claudememory
Claude memory: the top 10 ways to give Claude persistent, long-term memory, compared. Covers MCP memory servers, CLAUDE.md, memory plugins and tools for Claude Code, Claude Desktop and the Claude API. Setup, pros and cons, and which to pick for remembering context across sessions.
Available after the catalog security scan passes.
⚠️ Third-Party Software Notice
This skill is third-party open-source software developed and hosted independently on GitHub. SkillsLLM is an informational directory and does not control or maintain the underlying repository.
Any security checks, ratings, or warnings displayed by SkillsLLM are automated and limited in scope. They do not constitute a security certification or guarantee that the software is safe, error-free, or free from malicious code, vulnerabilities, compromised dependencies, or prompt-injection risks.
Review the source code, permissions, dependencies, and configuration before installing or running any third-party skill. Use is at your own risk. To the maximum extent permitted by applicable law, SkillsLLM is not liable for losses arising from third-party software.
The deep catalog scan for this skill is still queued. Run an instant dependency check now instead.
# Add to your Claude Code skills
git clone https://github.com/claudememory/claude-memoryGuides for using ai agents skills like claude-memory.
See how claude-memory compares with popular alternatives.
Claude memory, compared. This guide covers every practical way to give Claude, Claude Code and Claude Desktop persistent, long-term memory across sessions: memory MCP servers, Claude Code plugins, CLAUDE.md, and Anthropic's built-in memory. Each entry has what it stores, where the memory lives, how to install it, and who it's for.
Last updated: November 2026.
| # | Claude memory tool | Type | Memory is shared with | Where memory lives | Best for |
|---|---|---|---|---|---|
| ⭐ 1 | Glen | Plugin + CLI + remote MCP server | Your whole team | Hosted | Teams running Claude Code, Codex and Cursor |
| 2 | Claude Code CLAUDE.md + auto memory |
Built in | Project (via git) / you | Local files | Every Claude Code user |
| 3 | Claude app memory | Built in | You | Anthropic | Chatting in claude.ai and Claude Desktop |
| 4 | claude-mem | Claude Code plugin | You | Local (~/.claude-mem) |
Solo developers in Claude Code |
| 5 | Mem0 | Memory API + CLI | Your agents | Hosted or self-hosted | Building memory into your own app |
| 6 | Supermemory | Remote MCP server + API | You or a team space | Hosted or local | One memory across many AI clients |
| 7 | Basic Memory | MCP server | You | Local Markdown files | Notes you can read and edit by hand |
| 8 | MCP Knowledge Graph Memory | MCP server | You | Local JSON file | A minimal, self-hosted start |
| 9 | Cognee | Claude Code plugin + MCP server | You or your agents | Local or Cognee Cloud | Graph memory over your own documents |
| 10 | Graphiti / Zep | MCP server | Your agents | Self-hosted graph DB / Zep cloud | Facts that change over time |
⭐ Top pick for Claude Code memory ⭐
[!TIP] Most Claude memory tools remember for one person. Glen remembers for the whole team. Every Claude Code session your teammates run is recorded, turned into memory, and fed back into your Claude while it works. If someone already figured out why the billing worker batches at 500, your Claude knows before you ask.
npx @tryglen/cli@latest install
Glen is shared memory for coding agents. It records the agent sessions on your team (Claude Code, Codex, Cursor, Pi and your own agents) and the tools you connect, such as Slack, GitHub, tickets, docs and meeting recorders (Fireflies, Fathom, Granola). From that it builds observations about people, projects and decisions, and puts the relevant ones into Claude's context on every turn.
Most Claude memory tools stop at "Claude remembers what I told it last week." Glen covers what the person at the next desk told their Claude last week, which is where most of a team's lost context is.
What Glen gives Claude:
glen search "<question>" returns what anyone in the org worked out, with the session it came from. Glen also injects relevant context automatically, so Claude doesn't have to know to ask.glen code-search <path:start-end> follows git blame back to the agent conversation that wrote those lines, so Claude gets the reasoning behind a change, not only the diff.glen incognito keeps a session out of memory; glen silent records but surfaces nothing.Measured result: in Glen's benchmark replaying 100 merged PRs, Codex with Glen merged 21% faster and used 29% fewer tokens per task (details on tryglen.com).
Install for Claude Code:
npx @tryglen/cli@latest install
The installer detects Claude Code (and Codex, Cursor and Pi), installs the plugin and hooks, and signs you in. Then invite teammates:
glen invite teammate@company.com
Pricing: free for up to 3 people and 15,000 memories, no credit card. Paid Personal and Team plans add integrations and higher limits.
Choose Glen if: more than one person on your team uses Claude Code (or Codex or Cursor), and you're tired of agents relearning what a teammate's agent already worked out.
⭐ Try Glen free at tryglen.com →
Every Claude Code session starts with a fresh context window, and Claude Code ships two ways to carry knowledge between them.
CLAUDE.md holds instructions you write. It loads at the start of every session, at several scopes: ~/.claude/CLAUDE.md for you across all projects, ./CLAUDE.md or ./.claude/CLAUDE.md for a project (committed, so your team shares it), plus organization-managed files. You can split it up with @path/to/file imports and .claude/rules/. Claude Code also reads AGENTS.md./memory, or set "autoMemoryEnabled": false in a project's settings.Strengths: free, no setup, plain files you can review in a PR.
Limits: CLAUDE.md is hand-maintained and goes stale; auto memory is local to one machine and one person. Neither captures what happened in your teammates' sessions.
Docs: How Claude remembers your project
The Claude apps can remember context from your past chats and search previous conversations when you ask. It's on by default for Free, Pro and Max on web, Desktop and mobile; on Team and Enterprise an owner turns it on. You can view, edit or turn it off in Settings, and incognito chats aren't remembered.
Strengths: zero setup for everyday chat. Limits: lives in the Claude app only. It doesn't reach Claude Code, the API, or other agents, and it's per person. Docs: Claude's memory (Anthropic support)
A Claude Code plugin that hooks into session lifecycle events, captures what the agent does, compresses it into summaries with an LLM, and injects relevant context into later sessions. Memory lives in ~/.claude-mem on your machine, with cloud sync opt-in. It also supports Codex, Gemini, Copilot, OpenCode and others.
npx claude-mem install
Strengths: automatic capture, large community, local by default. Limits: single user. Summarization runs on your Anthropic plan, your own key, or its paid observer. Repo: thedotmack/claude-mem
Mem0 is memory infrastructure for agents you build: an open-source library (pip install mem0ai / npm install mem0ai), a self-hostable server, and a hosted platform. A CLI lets coding agents like Claude Code sign up and use it directly.
npm install -g @mem0/cli
mem0 init --agent --agent-caller claude-code
Strengths: mature SDKs in Python and TypeScript, hosted or self-hosted. Limits: aimed more at developers adding memory to their own product than at a team's coding history. Repo: mem0ai/mem0
A memory API with a hosted remote MCP server, so one account gives Claude Desktop, Claude Code and other MCP clients the same memory. It can also run fully locally.
claude mcp add --transport http supermemory https://mcp.supermemory.ai/mcp
Strengths: OAuth sign-in, works across many clients, team spaces. Limits: captures what you or your agent choose to save, rather than recording sessions. Repo: supermemoryai/supermemory
Stores Claude's memory as plain Markdown files on your disk, which you can open, edit and version in git or Obsidian. Runs as a local MCP server, with an optional cloud version.
claude mcp add basic-memory -- uvx --prerelease=allow basic-memory mcp
Strengths: human-readable, local-first, you ow
claude-memory is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by claudememory. Claude memory: the top 10 ways to give Claude persistent, long-term memory, compared. Covers MCP memory servers, CLAUDE.md, memory plugins and tools for Claude Code, Claude Desktop and the Claude API. Setup, pros and cons, and which to pick for remembering context across sessions. It has 115 GitHub stars.
claude-memory's catalog security scan is still queued. You can run an instant dependency and prompt-injection check now with the "Scan for vulnerabilities" button above.
Clone the repository with "git clone https://github.com/claudememory/claude-memory" and add it to your Claude Code skills directory (see the Installation section above).
Yes. SkillsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh claude-memory against similar tools.
No comments yet. Be the first to share your thoughts!