Back to browse
Recall – Persistent Memory for Claude Code via MCP Hooks

Recall – Persistent Memory for Claude Code via MCP Hooks

by elfenleid·Feb 28, 2026·1 point·0 comments

AI Analysis

●●SolidSolve My ProblemShip It

Auto-memory hooks for Claude Code, but context window bloat within sessions remains unsolved.

Strengths
  • Four-hook lifecycle design catches context at critical moments (pre-compaction especially clever)
  • Cross-session memory + semantic search solves the genuine 10-min re-explanation friction
  • Enterprise crypto (AES-256-GCM) and SOC 2 readiness signal production maturity
Weaknesses
  • Claude Code is early; plugin ecosystem adoption unproven, risk of lock-in
  • No Windows/non-Claude agent support; competes with manual .cursorrules which cost zero dollars
Target Audience

Claude Code users, AI-assisted developers working on long-running projects

Similar To

Codebase context tools (Cursor, Continue) · Manual prompt engineering + .cursorrules files

Post Description

Hi HN,

A while back I posted about recall MCP - https://news.ycombinator.com/item?id=45516584 Since then I updated a series of times and received quite a good amount of positive response. I decided to take it a step further and make it an actual product. It has been a super interesting journey.

I built Recall because I was spending 10+ minutes every Claude Code session re-explaining my project. Architecture, conventions, past decisions — all gone after a session restart or context compaction.

Recall is an MCP server that gives Claude Code persistent memory. It works by running four lifecycle hooks:

- session-start: fetches relevant memories and injects them as context - observe: captures key events (git commits, file changes, decisions) silently after Write/Edit/Task operations - pre-compact: saves critical state before Claude's context window gets summarised (this is the most valuable hook — compaction kills nuance) - session-end: records a session summary

Install as a native Claude Code plugin:

/plugin install recall@claude-plugins-official /recall:setup ← connects your API key

The plugin bundles the MCP server config, all 4 hooks, and auto-updates itself in the background. Alternatively, hooks-only install is still available for those who prefer it:

curl -fsSL https://recallmcp.com/install-hooks | bash

Hooks are pure bash + curl. No daemon, no npm packages, no background processes. Every hook exits 0 on errors so it never blocks Claude.

Memory is stored in Redis with semantic search via embeddings (Voyage AI, Cohere, OpenAI, or others). Each tenant gets isolated storage with AES-256-GCM encryption.

Some features that might be interesting to this audience:

1. Native Claude Code plugin — ships as a proper plugin installable with `/plugin install recall@claude-plugins-official`. Bundles MCP server config + all 4 hooks. Auto-updates in the background.

2. Webhook ingestion — route GitHub/Stripe/any webhook into a Claude session. Your AI becomes event-aware.

3. Self-hosted — `curl -fsSL https://install.recallmcp.com | bash` gives you a Docker Compose stack with Redis + Recall. $12/mo license, air-gapped compatible.

4. Team sharing — one Claude learns, all team Claudes know. Workspace-scoped with selective sharing.

Open source (MIT): https://github.com/joseairosa/recall Hosted: https://recallmcp.com (free tier: 500 memories)

Technical details: TypeScript, Express 5, Redis/Valkey adapters, Drizzle ORM for billing/teams on PostgreSQL, StreamableHTTP MCP transport. 16 consolidated MCP tools exposed.

Happy to discuss the architecture, MCP protocol integration, or the memory/embedding strategy.

Similar Projects

Developer Tools●●Solid

Fixing Claude Code's amnesia with persistent memory

Scatter-gather retrieval with prompt caching beats naive vector search for Claude Code memory.

Big BrainSolve My Problem
NBenkovich
132mo ago
Developer Tools●●●Banger

Mindpm – persistent project/task memory for AI coding assistants (MCP)

MCP-native persistent memory prevents re-explaining projects to Claude every session.

Solve My ProblemBig Brain
ukavala
103mo ago