CS claude-session-copilot
MCP server

Session memory for Claude Code.

Captures decisions, timelines, and patterns across sessions. Makes context recoverable after /compact — no more lost reasoning.

Install

npx @mcptoolshop/claude-session-copilot

.mcp.json

{ "mcpServers": { "session-copilot": { "command": "npx", "args": ["-y", "@mcptoolshop/claude-session-copilot"] } } }

Resume

/copilot:resume # Loads latest snapshot + decisions

Features

Everything your sessions forget, copilot remembers.

Decision log

Record what you chose, why, and what you rejected. Decisions survive /compact and session boundaries.

Auto-timeline

PostToolUse hooks auto-record Bash results, file edits, and task changes. No manual logging needed.

Pattern detection

Alerts on repeated failures, file churn, and long sessions without snapshots. Catches problems before you do.

7 Tools

MCP tools for session continuity.

Tool
Purpose
copilot.decision
Log a decision (what, why, alternatives rejected)
copilot.snapshot
Save session state for continuity
copilot.resume
Load latest snapshot + decisions for a new session
copilot.timeline_event
Record a timeline event
copilot.query
Search decisions, timeline, and snapshots
copilot.pulse
Project health dashboard
copilot.forget
Prune old data

Usage

Skills (Claude Code)

# Pick up where the last session left off
/copilot:resume

# Save state before /compact
/copilot:snapshot

# Review the decision log
/copilot:decisions

# Project health dashboard
/copilot:pulse

PostToolUse hooks

# Auto-records after:
# Bash → detects build/test pass/fail
# Write → records file creation
# Edit  → records file modification
# TodoWrite → records task state changes

# No setup needed — hooks fire
# automatically in Claude Code

Claude Code Only

Architecturally dependent on Claude Code primitives.

PostToolUse hooks

Auto-timeline depends on hooks that fire after Bash, Write, Edit, and TodoWrite. No other MCP client has this.

Skills + CLAUDE.md

Slash commands (/copilot:resume) and context injection via CLAUDE.md are Claude Code exclusives.

Resource notifications

Live dashboards (copilot://pulse, copilot://timeline) rely on resource notification polling.