Gives Claude persistent memory across sessions and projects through a local SQLite database with vector search. Hooks automatically capture context from markdown files, user prompts, and session transcripts without manual save calls. Exposes memory_sync, memory_search, memory_save, and slash commands like /nan-forget for loading past context. Uses sqlite-vec for semantic retrieval with a three-stage pipeline (recognition, recall, association) and decay scoring that weighs recency against confidence. Setup runs through npx with Ollama for local embeddings. Works with Claude Desktop via MCP hooks and other tools like Codex through a REST API on localhost:3456. Everything stays on your machine in ~/.nan-forget/memories.db.
claude mcp add --transport stdio nanmesh-nan-forget uvx nan-forget