Claude Code session

Memctx

Autonomous session memory for Claude Code. Never lose context, never repeat yourself. AI-powered summaries, searchable history, and automatic context injection. npm install -g memctx

26 stars 9 forksSessions & history Source

Install

Install
npm install -g memctx

Found in the project README. Check it for setup steps after installing.

From source
git clone https://github.com/bbhunterpk-ux/memctx.git

From the README

MemCTX

Autonomous Session Memory & Context Handoff for Claude Code
*Never repeat yourself. Your AI pair programmer, now with world-class memory.*

🚀 Quick Start •
✨ Features •
🏗️ Architecture •
💻 CLI Commands

⚡ The Problem vs The Solution

MemCTX transforms Claude Code into a context-aware development companion by automatically capturing, analyzing, and intelligently injecting your development history. Think of it as giving Claude a photographic memory of your entire project journey.

✨ Key Features

🧠 World-Class Memory
Automatically captures every Claude Code session, extracting gamification metrics like Aha! moments, Divergence, and Flow State.

🤖 Explicit AI Handoffs
Claude analyzes each session and passes it on. The next session gets explicit START HERE markers, Open Rabbit Holes, Tech Debt, and Architectural Drift.

🏗️ Knowledge Graph Architecture
Unifies your context into a persistent graph database. Extracts complex file-function relationships in a single optimized pass.

📊 Beautiful React Dashboard
Modern, responsive UI visualizing session telemetry, tool usage, and your node/edge graph layout in seconds.

⚡ Incremental Snapshots & Privacy-First
Long sessions are safely chunked via hybrid 10-turn / 5-minute triggers. Everything runs locally via SQLite. The global daemon operates efficiently out of the way on port 9999.

🚀 Quick Start

1. Installation

2. Setup (30 seconds)
You're all set! MemCTX is now silently backing up and injecting context behind the scenes. Start a session by running claude.

🏗️ How It Works

1. Initialization: memctx start boots the local daemon.
2. Seamless Hooks: MemCTX injects directly into Claude Code via ~/.claude/settings.json.
3. Session Start: MemCTX computes past context, open tech debt, and immediate next steps,…
Read the full README on GitHub

Details

Language
TypeScript
License
MIT
Last updated
3 November 2026
Topics
ai-assistantanthropic-claudeclaudeclaude-aiclaude-codeclaude-code-pluginclaude-skillsclicontext-managementcontext-management-systemdeveloper-toolsmemory-system

FAQ

What is Memctx?

Autonomous session memory for Claude Code. Never lose context, never repeat yourself. AI-powered summaries, searchable history, and automatic context injection. npm install -g memctx It is a session for Claude Code, from bbhunterpk-ux/memctx on GitHub.

How do I install Memctx?

Run npm install -g memctx, then follow the setup in the README.

Is Memctx popular?

bbhunterpk-ux/memctx has 26 GitHub stars and 9 forks. It was last updated on 3 November 2026.

More sessions & history

Browse the most popular Claude Code mods, all sessions & history, or the skills and MCP server directories.