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
Related MCP server: Claude TypeScript MCP Servers
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.jsonWindows:
%APPDATA%\Claude\claude_desktop_config.jsonLinux:
~/.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 current project context and state |
| Restore saved project context |
| View all tracked projects |
| Get quick overview without loading full state |
| Remove project (with safety confirmation) |
| 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