Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By scitrerav0.2.0Apache-2.0In 1 marketplace
Persistent memory for Claude Code — knowledge graph, context sandbox, and recall that survives compaction
You run one by typing its /name in Claude Code.
2 cautions to review before installing
A hook runs when Claude uses the Bash tool
A hook runs when Claude writes or edits files
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
memory, context, persistence, knowledge-graph, recall, compaction, agent, llm ·
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Executables (bin/) — files in this plugin's bin/ directory are added to the Bash tool's PATH while the plugin is enabled.
Persistent memory for Claude Code - never lose context to compaction again.
This plugin integrates MemoryLayer with Claude Code to provide:
# Add the marketplace (one-time setup)
claude plugin marketplace add scitrera/memorylayer
# Install the plugin
claude plugin install [email protected]
Clone or copy this plugin to your Claude Code plugins directory:
# Global plugins
cp -r memorylayer-cc-plugin ~/.claude/plugins/memorylayer
# Or project-local
cp -r memorylayer-cc-plugin .claude/plugins/memorylayer
The plugin requires a running MemoryLayer server. For local development:
# Install and run the server
pip install memorylayer-server
memorylayer serve
The server runs on http://localhost:61001 by default.
Set environment variables to customize:
# Custom server URL
export MEMORYLAYER_URL="http://your-server:61001"
# Optional API key for secured MemoryLayer deployments
export MEMORYLAYER_API_KEY="ml_..."
# Custom workspace (default: auto-detected from git repo)
export MEMORYLAYER_WORKSPACE_ID="my-project"
# Disable session/working memory (default: enabled)
export MEMORYLAYER_SESSION_MODE="false"
The plugin configures the @scitrera/memorylayer-mcp-server through .mcp.json. It forwards MEMORYLAYER_URL, MEMORYLAYER_API_KEY, and MEMORYLAYER_WORKSPACE_ID from the environment when present. The MCP server provides these tools:
| Tool | Description |
|---|---|
memory_remember | Store new memories |
memory_recall | Search memories by query |
memory_reflect | Synthesize insights across memories |
memory_forget | Delete outdated information |
memory_associate | Link related memories |
memory_briefing | Get session context summary |
memory_statistics | View workspace analytics |
memory_graph_query | Traverse memory relationships |
memory_audit | Find contradictions |
| Tool | Description |
|---|---|
memory_session_start | Initialize session and server-side sandbox |
memory_session_end | End session, optionally commit to long-term storage |
memory_session_commit | Checkpoint working memory without ending session |
memory_session_status | Check current session state |
These tools provide a persistent Python execution environment on the server. Sandbox state survives context compaction — call memory_context_inspect after compaction to re-orient.
| Tool | Description |
|---|---|
memory_context_exec | Execute Python code in the sandbox |
memory_context_inspect | Inspect sandbox variables (call after compaction) |
memory_context_load | Load memories into a sandbox variable via search |
memory_context_inject | Inject a value into the sandbox |
memory_context_query | Ask the server LLM using sandbox context |
memory_context_rlm | Run a Recursive Language Model (RLM) loop |
memory_context_status | Get sandbox environment status |
memory_context_checkpoint | Persist sandbox state for enterprise hooks |
Working memory persists within a session and survives context compaction. At session end, important context is automatically extracted to long-term memory.
Claude Code namespaces plugin commands under the plugin name (memorylayer), so they run as /memorylayer:<command>:
| Command | Description |
|---|---|
/memorylayer:status | Check connection and workspace info |
/memorylayer:setup | Guided setup and troubleshooting |
/memorylayer:remember <content> | Quick memory storage |
/memorylayer:recall <query> | Quick memory search |
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
npx claudepluginhub scitrera/memorylayer --plugin memorylayerPlugins from other owners that cover similar ground