Hindsight Shared Memory

•

Provide a local, persistent shared memory server for Claude Code and MCP-compatible agents with zero API keys required.

Hindsight Shared Memory delivers an always-on, local memory server that enables Claude Code and other MCP clients to retain and recall project context across sessions. Binding securely to localhost, it uses local ONNX embeddings, FlashRank reranking, and an embedded PostgreSQL instance to maintain private, per-repository knowledge banks. It leverages your existing Claude Code login for fact extraction without needing third-party API keys, automatically tracking component maps, coding conventions, and architectural decisions.

Key Features

01Zero API key requirement leveraging existing Claude Code authentication for fact extraction
02Local-first architecture bound strictly to localhost with embedded Postgres and ONNX models
03Automatic memory injection at session start and fact retention upon session completion
04Lightweight background daemon management using launchd on macOS and systemd on Linux
05Built-in control plane web UI and selective MCP endpoint tools for cross-client memory access
060 GitHub stars

Use Cases

01Retaining architectural decisions and coding conventions across multiple Claude Code sessions
02Sharing a unified project memory bank across different coding agents working on the same repository
03Managing and inspecting local project context via a dedicated web control plane UI