MemCTX – Autonomous session memory for Claude Code (open source, MIT)
Dev.to AI
•
Generative AI
I built MemCTX to solve a problem I kept hitting with Claude Code - losing context between sessions and having to re-explain my project every time. What it does: Hooks into Claude Code's session lifecycle (start/stop/post-tool-use) Captures every session and s it in a local SQLite database Uses Claude API to auto-generate summaries of each session Injects relevant history into CLAUDE.md at the start of new sessions Includes a dashboard to search, browse, and tag your session history Who it's for: Claude Code users who work on ongoing projects and hate repeating context.