claude-checkpoint-mcp
v0.1.0MCP server that checkpoints Claude Code session context to survive crashes and token limits
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
save_session_checkpoint Save session checkpoint
Save the current session's goal, progress, touched files and recent commands to a .claude-checkpoint file in the project, so a new session can resume after a crash, /clear, or context limit without re-exploring. Call after finishing a milestone, before risky operations, and when the conversation is getting long. Git branch, HEAD and uncommitted files are captured automatically.
| Parameter | Type | Description |
|---|---|---|
goal * | string | The primary objective of the session, in one or two sentences. |
decisions | array | Key decisions, constraints, and dead ends to avoid repeating. |
mode | string | replace: overwrite the checkpoint. merge: update the existing one, appending commands, decisions and files. |
modifiedFiles | array | Files you changed, with an optional note. Uncommitted git changes are detected automatically; list files here to annotate them or to include committed ones. |
nextSteps | array | Concrete next actions, in order, for whoever resumes. |
projectRoot | string | Absolute path of the project. Defaults to the client's workspace root or the server's working directory. |
recentCommands | array | Recent significant terminal commands (builds, tests, migrations), oldest first, with exit codes and a short note on the outcome. Secrets are redacted automatically. |
summary | string | Where things stand: what works, what is broken, what you were in the middle of. |
tasks | array | Sub-goals with their status. In merge mode, tasks with the same description are updated. |
load_session_checkpoint Load session checkpoint
Load the project's .claude-checkpoint and return a compact brief of the previous session's goal, progress, next steps, touched files and recent commands, plus which files changed since it was saved. Call at the start of a session or when the user asks to resume.
| Parameter | Type | Description |
|---|---|---|
format | string | brief: compact markdown for resuming (recommended). full: the complete checkpoint JSON. |
projectRoot | string | Absolute path of the project. Defaults to the client's workspace root or the server's working directory. |