session-indexer brings per-project semantic memory to Claude Code via local SQLite
A developer has released session-indexer, an open-source Go tool that indexes Claude Code session transcripts into a per-project SQLite database stored within the project's own directory. The tool uses two lifecycle hooks to automatically mine transcripts at session end and inject relevant context at session start, deriving search queries from git branch names and recent commit messages. When Ollama and the bge-m3 model are available, retrieval is ranked by cosine similarity over multilingual embeddings; otherwise, the tool falls back to FTS5 keyword search with no additional configuration required. Unlike centralized memory tools, session-indexer isolates each project's data, so a corrupted database affects only that project and can be rebuilt from existing transcripts. The tool ships as a single static binary with no CGO dependency and is available via standard Go installation.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in