snapshot-mcp-server
Save conversation state, resume work across sessions, and organize multiple snapshots with minimal token overhead.
README
Snapshot MCP Server
A Model Context Protocol (MCP) server for saving and resuming Claude conversations with token-efficient context preservation.
What is this?
A modular snapshot tool that works standalone or integrates with larger memory systems. Save conversation state, resume work across sessions, and organize multiple snapshots with minimal token overhead.
Key features:
- Token-efficient continuation prompts (~20-30% reduction vs raw context)
- Structured or simple context input
- Works with Claude Desktop, Claude Code, Cursor, any MCP client
- Designed for composability with memory/personality systems
Installation
Quick Start (Recommended)
Step 1: Run the installer:
npx @whenmoon-afk/snapshot-mcp-server
Step 2: Restart Claude Desktop (quit and reopen completely)
That's it! The installer automatically configures your Claude Desktop.
Manual Setup
If you prefer to configure manually, add to your Claude Desktop config file:
Config File Location:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json - Linux:
~/.config/Claude/claude_desktop_config.json
Configuration:
<details> <summary><strong>macOS/Linux</strong></summary>
{
"mcpServers": {
"snapshot": {
"command": "npx",
"args": ["-y", "@whenmoon-afk/snapshot-mcp-server"]
}
}
}
</details>
<details> <summary><strong>Windows</strong></summary>
{
"mcpServers": {
"snapshot": {
"command": "cmd",
"args": ["/c", "npx", "-y", "@whenmoon-afk/snapshot-mcp-server"]
}
}
}
Note: Windows requires the cmd /c wrapper to execute npx properly.
</details>
Then restart Claude Desktop.
Usage
Save snapshot:
Save a snapshot with:
- summary: "Built REST API"
- context: "Express server, MongoDB, all CRUD working"
- next_steps: "Add auth"
Resume work:
Load latest snapshot
Named snapshots:
Save snapshot named "v1-complete" with summary: "MVP deployed" and context: "..."
Load snapshot named "v1-complete"
Manage:
List all snapshots
Delete snapshot 5
Features
- Token-efficient prompts - Pre-generated, optimized continuation prompts
- Flexible context - Simple strings or structured objects
- Named snapshots - Save milestones for easy retrieval
- Cross-client - Works with Claude Desktop, Claude Code, Cursor, etc.
- Composable - Integrates with memory/personality systems
- Local storage - Your data stays on your machine (SQLite)
Structured context example:
context: {
files: ["src/auth.ts"],
decisions: ["JWT with 24h expiration"],
blockers: ["Need email verification"],
code_state: { tests_passing: true }
}
Tools
save_snapshot- Save conversation stateload_snapshot- Resume from snapshot (latest, by ID, or by name)list_snapshots- View all snapshotsdelete_snapshot- Remove snapshots
Example Workflow
End of day:
Save a snapshot:
- summary: "Implemented JWT auth"
- context: "Login/signup working, JWT middleware done, tests passing"
- next_steps: "Add password reset"
Next session:
Load latest snapshot
Claude resumes with full context.
Troubleshooting
Tools not showing?
- Restart Claude Desktop completely (quit and reopen)
- Verify config file is correct
- Ensure Node.js 18+ is installed:
node --version
Server issues?
- Reinstall:
npx @whenmoon-afk/snapshot-mcp-server - Check client logs for errors
- Reset: delete config entry and reinstall
Technical Details
Stack: SQLite + TypeScript + MCP SDK 1.0.4 (Node.js 18+)
Database location:
- macOS:
~/.claude-snapshots/snapshots.db - Windows:
%APPDATA%/claude-snapshots/snapshots.db - Linux:
~/.local/share/claude-snapshots/snapshots.db
Development:
git clone https://github.com/WhenMoon-afk/snapshot-mcp-server.git
cd snapshot-mcp-server
npm install
npm run build
License
MIT
Contributing
Issues and PRs welcome! See CHANGELOG.md for version history.
Modular conversation state for AI assistants.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.