Claude Thread Continuity

Claude Thread Continuity

Persistent MCP server that saves and restores project state to maintain Claude thread continuity.

58
Stars
7
Forks
1
Releases

Overview

Claude Thread Continuity MCP Server is a local, privacy-first MCP server designed to preserve Claude conversation context across sessions. It automatically saves project state during conversations when files are created or modified, when technical decisions are made, when milestones are reached, and as a fallback every 10 messages, then restores the full context when a new thread starts. On load, it reconstitutes decisions, modified files, progress, and summaries so users can resume exactly where they left off. The 1.1 update adds the Anti-Fragmentation System, which uses fuzzy name matching with a 70% similarity threshold to detect similar projects, issues validation warnings with consolidation suggestions, and offers a force override for genuine differences, all with configurable thresholds. Data is stored locally at ~/.claude_states/ with per-project directories containing current_state.json and backup files (rotating to keep the last five). Exposed commands include save_project_state, load_project_state, list_active_projects, get_project_summary, validate_project_name, and auto_save_checkpoint, supporting zero-configuration operation and multi-project workflows.

Details

Owner
peless
Language
Python
License
MIT License
Updated
2025-12-07

Features

Automatic State Persistence

Auto-saves project context during conversations to preserve state across messages and sessions.

Seamless Restoration

Instantly restore full context when starting new Claude threads.

Smart Validation

Prevents project fragmentation with intelligent name checking and similarity analysis.

Privacy First

All data stored locally on your machine to protect privacy.

Zero Configuration

Works invisibly once set up, requiring minimal setup.

Smart Triggers

Auto-saves on file changes, decisions, milestones.

Multi-Project Support

Manage multiple concurrent projects within a single MCP server.

Anti-Fragmentation System

Intelligent validation to prevent fragmentation using fuzzy name matching, warnings, force override, and configurable thresholds.

Audience

Claude usersMaintain conversation and project context across multiple threads and sessions.
DevelopersIntegrate persistent state saving and restoration for complex multi-project workflows.
ResearchersKeep study progress and decisions linked across study sessions consistently.

Tags

persistencecontext-continuityClaudeMCP-servermulti-projectlocal-storageprivacyvalidationanti-fragmentation