MemorySync
Official Plugin

Claude Code + MemorySync

Automatic memory for Claude Code and Claude Cowork: hooks capture every exchange and recall context per project.

Overview

Install the MemorySync plugin from its marketplace and Claude Code remembers: lifecycle hooks persist every prompt and reply the moment they happen and inject relevant memories at session start, per prompt, and again after context compaction. Memory is auto-scoped to the git repository (worktree-aware), the full MemorySync MCP server and memory skills come bundled, and every hook exits 0 on every failure — memory being down can never break a session. Cross-platform Node hooks: Windows, macOS and Linux natively. The same plugin works in Claude Cowork cloud sessions via repo-declared settings.

Setup status and requirements

Supported version
memorysync@memorysync plugin 1.1.0
Last setup review
2026-08-23
Permissions
A MemorySync API key with read and write scopes (or OAuth through the bundled MCP server).
Limits
Requires Claude Code 2.x and Node.js 18+ on PATH for the hook scripts. Claude Cowork requires the repo-declared settings file and a Cloud Environment API key.
Open setup documentation →

Capabilities

Quick Start

# In your shell (one time):
export MEMORYSYNC_API_KEY=ms_...
# In Claude Code:
/plugin marketplace add Rafay121/memorysync-plugins
/plugin install memorysync@memorysync
# Verify:
/memorysync:status

Use Cases

Claude Code sessions that remember decisions across days and machines

Team memory in Claude Cowork cloud sessions via repo settings

Per-project conversation history with user preferences that follow you

Explore More

Built for production AI systems

Build AI systems that remember

MemorySync provides the infrastructure layer for persistent memory, adaptive retrieval, and enterprise AI intelligence.

Start free. No credit card required.