Claude Continuity MCP Server
A Model Context Protocol (MCP) server that provides persistent memory and conversation continuity for Claude Desktop and Claude Code. Never lose your project context again when threads hit token limits.
Features
- 🔄 Automatic State Persistence - Saves project context and conversation state
- ⚡ Seamless Restoration - Instantly restore full context when starting new threads
- 🔒 Privacy First - All data stored locally in
~/.claude_states
- 📊 Multi-Project Support - Manage multiple concurrent projects
- 🗂️ Smart Organization - Automatic backup rotation and state management
- 🎯 Zero Configuration - Works immediately after setup
Installation
1. Clone or Download
2. Install Dependencies
3. Configure Claude Desktop
Edit your Claude Desktop configuration:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json
- Windows:
%APPDATA%\Claude\claude_desktop_config.json
- Linux:
~/.config/Claude/claude_desktop_config.json
Add this configuration:
4. Configure Claude Code
Run this command to add globally:
Usage
Available Tools
Tool | Description |
---|---|
save_project_state | Save current project context and state |
load_project_state | Restore saved project context |
list_active_projects | View all tracked projects |
get_project_summary | Get quick overview without loading full state |
delete_project_state | Remove project (with safety confirmation) |
update_project_context | Update just context/metadata |
Example Usage
Save Project State:
Load Project State:
List All Projects:
Data Storage
All project states are stored locally at:
State Structure
Each saved state includes:
Troubleshooting
Server Not Connecting
- Check Python installation:
- Test server directly:
- Check Claude Desktop logs for errors
Permission Issues
Python Path Issues
Update config to use full Python path:
Requirements
- Python 3.8+
- MCP SDK (
pip install mcp
) - Claude Desktop or Claude Code
Project Structure
How It Works
- Automatic Detection: Server monitors conversation for project-related activities
- Smart Saving: Automatically creates backups before overwriting states
- Context Preservation: Maintains files, decisions, issues, and next steps
- Seamless Recovery: Load entire project context with one command
Contributing
Contributions welcome! Please:
- Fork the repository
- Create a feature branch
- Test your changes
- Submit a pull request
License
MIT License - see LICENSE file for details
Author
Created for the Claude community to solve the context loss problem once and for all.
Support
For issues or questions:
- Open an issue on GitHub
- Check existing issues for solutions
Before: 😫 Hit token limit → Lose all context → Re-explain everything
After: 😎 Hit token limit → Start new thread → load_project_state
→ Continue seamlessly
This server cannot be installed
local-only server
The server can only run on the client's local machine because it depends on local resources.
A Model Context Protocol server that provides persistent memory and conversation continuity for Claude Desktop and Claude Code, allowing users to save and restore project context when threads hit token limits.
Related MCP Servers
- -securityFlicense-qualityA Model Context Protocol server for Claude Desktop that provides structured memory management across chat sessions, allowing Claude to maintain context and build a knowledge base within project directories.Last updated -2TypeScript
- AsecurityAlicenseAqualityA collection of Model Context Protocol servers that enable Claude Desktop to provide development assistance capabilities with filesystem, Git, shell command, and web search functionality without incurring API usage costs.Last updated -219TypeScriptMIT License
- AsecurityAlicenseAqualityA Model Context Protocol server that allows Claude Desktop to manage and execute tasks in a queue-based system, supporting planning, execution, and completion phases.Last updated -101,3455TypeScriptMIT License
- AsecurityFlicenseAqualityA Model Context Protocol server that allows integration with Claude Desktop by creating and managing custom tools that can be executed through the MCP framework.Last updated -731TypeScript