Claude Session Continuity MCP Server

1

Add it to Claude Code

Run this in a terminal.

Run in terminal
claude mcp add claude-session-continuity -- npx claude-session-continuity-mcp
README.md

Zero-config session continuity for Claude Code

claude-session-continuity-mcp (v1.12.1)

Zero Re-explanation Session Continuity for Claude Code — Automatic context capture + semantic search + auto error→solution pipeline

The Problem

Every new Claude Code session:

"This is a Next.js 15 project with App Router..."
"We decided to use Server Actions because..."
"Last time we were working on the auth system..."
"The build command is pnpm build..."

5 minutes of context-setting. Every. Single. Time.

The Solution

Fully automatic. Claude Hooks handle everything without manual calls:

# Session start → Auto-loads relevant context + recent session history
# When asking → Auto-injects relevant memories/solutions
# During conversation → Tracks active files + auto-injects error solutions
# On compact → Structured handover context for continuity
# On exit → Extracts commits, decisions, error-fix pairs from transcript
← Auto-output on session start:
# my-app - Session Resumed

📍 **State**: Implementing signup form

## Recent Sessions
### 2026-02-28
**Work**: Completed OAuth integration with Google provider
**Commits**: feat: add OAuth callback handler; fix: redirect URI config
**Decisions**: Use Server Actions instead of API routes

### 2026-02-27
**Work**: Set up authentication foundation
**Next**: Implement signup form validation

## Directives
- 🔴 Always use Zod for form validation
- 📎 Prefer Server Components by default

## Key Memories
- 🎯 Decided on App Router, using Server Actions
- ⚠️ OAuth redirect_uri mismatch → check env file

Zero manual work. Context follows you.


Quick Start

One Command Installation

npm install claude-session-continuity-mcp

That's it! The postinstall script automatically:

  1. Registers MCP server in ~/.claude.json
  2. Installs Claude Hooks in ~/.claude/settings.json

What Gets Installed

MCP Server (in ~/.claude.json):

{
  "mcpServers": {
    "project-manager": {
      "command": "npx",
      "args": ["claude-session-continuity-mcp"]
    }
  }
}

Claude Hooks (in ~/.claude/settings.json):

{
  "hooks": {
    "SessionStart": [{ "hooks": [{ "type": "command", "command": "npm exec -- claude-hook-session-start" }] }],
    "UserPromptSubmit": [{ "hooks": [{ "type": "command", "command": "npm exec -- claude-hook-user-prompt" }] }],
    "PostToolUse": [{ "matcher": "Edit", "hooks": [{ "type": "command", "command": "npm exec -- claude-hook-post-tool" }] }, { "matcher": "Write", "hooks": [{ "type": "command", "command": "npm exec -- claude-hook-post-tool" }] }],
    "PreCompact": [{ "hooks": [{ "type": "command", "command": "npm exec -- claude-hook-pre-compact" }] }],
    "Stop": [{ "hooks": [{ "type": "command", "command": "npm exec -- claude-hook-session-end" }] }]
  }
}

Note (v1.5.0+): Full lifecycle coverage with 5 hooks. Uses npm exec -- which finds local node_modules/.bin first.

Installed Hooks (v1.5.0+)

Hook Command Function
SessionStart claude-hook-session-start Auto-loads project context on session start
UserPromptSubmit claude-hook-user-prompt Auto-injects relevant memories + past reference search
PostToolUse claude-hook-post-tool Tracks active files (Edit, Write) + auto-injects error solutions (Bash)
PreCompact claude-hook-pre-compact Structured handover context before compression
Stop claude-hook-session-end Extracts commits, decisions, error-fix pairs from transcript

Manual Hook Management

# Check hook status
npx claude-session-hooks status

# Reinstall hooks
npx claude-session-hooks install

# Remove hooks
npx claude-session-hooks uninstall

3. Restart Claude Code

After installation, restart Claude Code to activate the hooks.


Features

Feature Description
🤖 Zero Manual Work Claude Hooks automate all context capture/load
🎯 Quality Memory Only (v1.10.0) Only decisions, learnings, errors — no file-change noise
🧠 Semantic Search multilingual-e5-small embedding (94+ languages, 384d)
🌍 Multilingual Korean/English/Japanese + cross-language search (EN→KR, KR→EN)
🔗 Git Integration Commit messages auto-extracted from transcripts
🕸️ Knowledge Graph Memory relations (solves, causes, extends...)
📊 Memory Classification 5 types: observation, decision, learning, error, pattern
Integrated Verification One-click build/test/lint execution
📋 **Task Manag

Configuration

claude_desktop_config.json
{"mcpServers": {"project-manager": {"command": "npx", "args": ["claude-session-continuity-mcp"]}}}

Try it

What was the last decision we made regarding the authentication system?
Summarize the work completed in the last session.
What were the recent error-fix pairs identified in our project?
Resume the session by loading the active project context and recent history.

Frequently Asked Questions

What are the key features of Claude Session Continuity?

Automatic context capture and restoration across Claude Code sessions. Semantic search for memories and past solutions. Git integration for auto-extracting commit messages from transcripts. Knowledge graph for tracking memory relations like causes and solutions. Memory classification into observation, decision, learning, error, and pattern.

What can I use Claude Session Continuity for?

Maintaining project context across multiple days of development without re-explaining the stack. Tracking architectural decisions and their rationale over time. Automatically surfacing previous error-fix pairs when encountering similar bugs. Generating structured handover notes for project continuity.

How do I install Claude Session Continuity?

Install Claude Session Continuity by running: npm install claude-session-continuity-mcp

What MCP clients work with Claude Session Continuity?

Claude Session Continuity works with any MCP-compatible client including Claude Desktop, Claude Code, Cursor, and other editors with MCP support.

Turn this server into reusable context

Keep Claude Session Continuity docs, env vars, and workflow notes in Conare so your agent carries them across sessions.

Need the old visual installer? Open Conare IDE.
Open Conare