Claude Memory
Provides long-term memory for Claude Code sessions through hybrid search, utilizing PostgreSQL with pgvector and pg_bigm for efficient retrieval.
Claude Memory addresses the critical limitation of Claude Code forgetting everything between sessions. It acts as a persistent memory system, allowing Claude Code to recall past design decisions, recurring bug causes, and user preferences without repeated explanations. Unlike file-based memory, it uses a PostgreSQL database with hybrid search capabilities (keyword and vector similarity), automatically saving and de-duplicating session content while allowing for structured organization with tags and project scopes.
主な機能
01Local-first operation with all components running in Docker containers
02Automatic duplicate exclusion for highly similar memories (cosine similarity >= 0.95)
03Hybrid search combining keyword (pg_bigm) and vector similarity (pgvector) with time decay
04Automatic memory creation by splitting conversations into Q&A pairs at session end
05Multilingual support for both Japanese and English search queries
060 GitHub stars
ユースケース
01Remembering important design decisions across development sessions
02Preventing repeated investigation of the same bug causes
03Recalling specific user preferences like code style or review criteria