
Claude Checkpoint Mcp
io.github.tenleanPublished by GitHub account tenleanv0.1.0Updated Oct 24, 2026
MCP server that checkpoints Claude Code session context to survive crashes and token limits
The publisher's own server: Claude Platform Docs
Overview
Local MCP server that saves a Claude Code session's working state to a JSON checkpoint file and reloads it as a compact resume brief after a crash or context…
- What you can do
- Save a session checkpoint: goal, tasks with statuses, summary, next steps, decisions, annotated files and recent commands, written to a checkpoint file in the project.
- Load a checkpoint as a markdown resume brief or as full JSON, with a fallback to the previous backup if the main file is corrupt.
- Detect drift: the server records git branch, HEAD and content hashes of uncommitted files, then flags only files that actually changed since the save.
- Update an existing checkpoint incrementally by merging tasks, decisions and commands instead of replacing it.
- When to use it
- Useful for long Claude Code sessions where a terminal crash, SSH drop, context-window exhaustion or a clear would otherwise force the assistant to rebuild context by re-reading files and re-running exploration. Also handy for handing a task's state to a fresh session.
- Requirements
- Runs as a local stdio process: Node.js 20+ and a built entry point, or installation as a Claude Code plugin. Git is optional but needed for drift detection. CHECKPOINT_PROJECT_ROOT can set the default project for clients without a current project, such as Claude Desktop; otherwise the project root is passed per call or taken from the client's roots or working directory.
Installation
In SourceWeft
- Open Claude Checkpoint Mcp in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
README
claude-checkpoint-mcp
Save your Claude Code session state locally, so a crash, /clear, or context limit doesn't make Claude rebuild context from scratch.
[License: MIT] [Node.js ≥ 20] [MCP] [M8ven Score]
claude-checkpoint-mcp is a local Model Context Protocol server with two tools:
save_session_checkpointwrites your session's working state to a small JSON file in the project.load_session_checkpointturns that file back into a compact resume brief.
It runs entirely on your machine. Nothing is sent anywhere.
Contents
- Why: stop paying twice for the same context
- How it works
- Installation
- Configuration
- Usage
- Tool reference & examples
- The
.claude-checkpointfile - Security & privacy
- Troubleshooting
- Development
Why: stop paying twice for the same context
A long Claude Code session builds up a lot of context:
- what you're trying to do;
- which approaches already failed;
- which files matter;
- which test is still red.
Several things can wipe that out mid-task:
- a terminal crash, SSH drop, or laptop sleep;
- running out of context window;
- a
/clearto get a fresh window.
The next session starts cold. To get back to where you were, Claude has to rebuild that context:
- Re-reading files to work out what was changed and why. Every file read is input tokens.
- Re-running exploration:
grep,git diff,ls, test runs, all just to rediscover state. - Re-explaining. You retype the goal, the constraints, and the dead ends, or Claude rediscovers the dead ends the hard way.
Each of those turns resends the growing conversation as input, so the cost compounds.
claude-checkpoint-mcp swaps that rebuild for one small, structured read:
The resume brief for a typical session is about 1.2 KB of markdown, a few hundred tokens. The example below is real output at that size.
The biggest saving comes from drift detection. At save time, the server records a content hash for every file with uncommitted changes. On load, it compares those hashes against the working tree and tells Claude exactly which files changed after the checkpoint. Everything else in the brief can be trusted as-is, so Claude re-reads only what it has to.
How it works
- Claude supplies the meaning: the goal, progress, decisions, next steps, and which commands mattered.
- The server supplies the facts: git branch and HEAD, every uncommitted or untracked file with its content hash, and timestamps.
- The server instructions teach Claude when to act. Claude is told to load at the start of a session and to save after milestones, before risky operations, and when the conversation gets long. It doesn't need to be prompted every time.
Installation
Requirements: Node.js 20+ and git. Git is optional, but without it you lose drift detection.
The server entry point is now at dist/index.js.
Configuration
Claude Code
As a plugin (easiest). This repo is also a Claude Code plugin marketplace. You don't need to clone or build anything:
Restart Claude Code, then /mcp should show plugin:claude-checkpoint-mcp:claude-checkpoint as connected.
Manual setup. If you cloned the repo, register the server once for your user account, so it's available in every project:
Use an absolute path. A user-scoped server is launched from whichever project you open Claude Code in. A relative path like
./dist/index.jswould resolve against that project, not this repo."$PWD/dist/index.js"expands to the absolute path when you run the command, which is what gets saved.
Check that it's registered:
Inside a session, /mcp should show checkpoint as connected.
Project-scoped alternative. To share the server with a team through version control, add it to the project's .mcp.json:
Either way, add the checkpoint files to the project's .gitignore, or to your global gitignore:
Claude Desktop (claude_desktop_config.json)
Open the config file:
Add the server under mcpServers, using the absolute path to your local build:
Restart Claude Desktop after saving the file.
Claude Desktop has no notion of a "current project". Use
CHECKPOINT_PROJECT_ROOTto set the default project, or have Claude passprojectRooton each call ("save a checkpoint for /home/me/code/my-app"). See project root resolution.
Other MCP clients
Any MCP client that supports the stdio transport can run the server:
Usage
The server's built-in instructions cover the common cases automatically. You can also ask Claude directly.
Save:
- "Checkpoint our progress."
- "Save a checkpoint before you run the migration."
- "Update the checkpoint. Merge in what we just did."
Resume (in a fresh session):
- "Resume where we left off."
- "Load the checkpoint and continue."
Example resume brief
This is real output from load_session_checkpoint. In the scenario, one file was committed unchanged after the save, and a teammate then edited session.ts:
callback.ts was committed after the save, but its content didn't change, so it isn't flagged. Only session.ts needs to be re-read.
Task markers: [x] done · [~] in progress · [ ] pending · [!] blocked.
Tool reference & examples
save_session_checkpoint
Writes <projectRoot>/.claude-checkpoint.
Full save:
Response (text shown to the model):
Incremental update with merge:
Structured output (structuredContent):
load_session_checkpoint
Read-only. Reads the checkpoint, checks for drift, and returns the brief.
Examples:
Structured output (structuredContent):
If no checkpoint exists, the tool returns found: false with a "nothing to resume" message. That isn't treated as an error.
How the project root is chosen
- The
projectRootargument - The
CHECKPOINT_PROJECT_ROOTenvironment variable - The client's first
file://root, if the client supports MCP roots - The server process's working directory
The path must be absolute and must be an existing directory. Symlinks are resolved. The file is always written at exactly <root>/.claude-checkpoint.
The .claude-checkpoint file
This is plain, versioned JSON, so it's easy to read, diff, or edit by hand. Real example:
Paths are always relative to the project root. The file never stores absolute paths.
Security & privacy
-
Local only. There are no network calls. The server reads git metadata and one file, and writes one file.
-
Secret redaction. The following are replaced with
«redacted»in commands, notes, summaries, tasks and decisions before anything touches disk:*_KEY=,*_TOKEN=,*_SECRET=,*PASSWORD=assignments, includingHeader: valueand JSON formsAuthorization: Bearer …headers- credentials in URLs (
postgres://user:pass@…) --password/--token/--api-key/--secretflags- bare
sk-…,ghp_…,github_pat_…,AKIA…andxox?-…tokens
Redaction is a safety net, not a guarantee, so keep the file out of version control.
-
Owner-only, crash-safe writes. Files are written with mode
0600. Each save writes a temp file, fsyncs it, and renames it into place, so a crash mid-save can't leave a half-written checkpoint. -
Automatic backup. The previous valid checkpoint is kept as
.claude-checkpoint.prev. If the main file is corrupt, load falls back to the backup and says so. A corrupt file never overwrites a good backup. -
Bounded size. Every field has a length cap, and the file is capped at 64 KB (the oldest commands are dropped first), so a checkpoint can't grow into a token sink.
-
No shell. Git runs through
execFilewith a 3-second timeout andGIT_OPTIONAL_LOCKS=0, so it never contends with your own git commands. -
Doesn't touch your config. If the checkpoint isn't git-ignored, the save response warns you. It never edits
.gitignorefor you. -
Safe with parallel tool calls. Tool calls are serialized inside the server, so concurrent
mergesaves can't lose updates.
Troubleshooting
Server logs go to stderr. Stdout is reserved for the MCP protocol.
Development
Built with the official @modelcontextprotocol/sdk and zod.
License
Source: README.md at commit 12b92ff
Tools
0Version history
1- v0.1.0LatestOct 12, 2026
Score
50% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 days25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declared10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts
Other Claude integrations
Claude Platform Docs
com.claude.platformOfficial publisher
Remote MCP server that lets an assistant search and read the Claude Platform documentation and API reference.

Insta Edits for Claude
Published by GitHub account faisalkhanzemi
Bridges Claude Code to Instagram Edits for Mac, keeping the full 274-tool video editor in sync so an assistant can edit Reels.

Claude Checkpoint Mcp
Published by GitHub account daniel-munoz
Local MCP server that saves a Claude Code session's working state to a JSON file in the project and turns it back into a compact resume brief.

Qwen DAP MCP — C/C++ Debugger for Claude Code, Codex & Qwen
Published by GitHub account spk-c
Qwen DAP MCP — C/C++ Debugger for Claude Code, Codex & Qwen's local MCP server; no sign-in required; STDIO; 18 tools.

AVE for Claude Code — Local Video Editing
Published by GitHub account lemberalla
Local AVE timeline editing and exports for Claude Code only. Existing AVE connection required.