npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@ahmedshaikh/checkpoint-mcp

v0.1.0

Published

Agent-native working-tree checkpoints as an MCP server — snapshot the project before a risky change and restore it exactly if things go wrong. Git-independent, captures tracked + untracked files.

Readme

checkpoint

An undo button for agents. Snapshot a project's working tree before a risky change; if it goes wrong, restore it exactly. Git-independent, captures tracked and untracked files.

checkpoint("before refactor")   →  cp_lz9k_a1  (142 files)
… big multi-file edit …
verify()                        →  ok: false
restore("before refactor")      →  reverted everything, clean slate

Why

Agents make sweeping multi-file changes constantly, with no real undo. Git exists, but agents use it inconsistently and it doesn't cleanly capture untracked files. checkpoint is a dead-simple safety primitive: one call before, one call to roll back. It pairs with verify — checkpoint → edit → verify → restore if it broke.

Tools

  • checkpoint(label?) — snapshot now; returns an id + label.
  • restore(checkpoint) — make the working tree match a checkpoint exactly (revert modified, recreate deleted, remove created-since). Destructive by design.
  • diff_checkpoint(checkpoint) — what changed since (added/modified/deleted), no restore.
  • list_checkpoints() · drop_checkpoint(checkpoint)

How it works

Copies in-scope files into a store outside the project (~/.agent-checkpoints/<root>/<id>/) with a content-hash manifest. Restore is exact: it overlays the snapshot and removes anything created since. Excludes node_modules, .git, build dirs, and files > 5 MB.

Setup

npm install
npm test
claude mcp add checkpoint -e CHECKPOINT_ROOT=/path/to/project -- node /abs/path/checkpoint/dist/server.js
# or CLI: agent-checkpoint checkpoint "before X" | restore <id> | diff <id> | list

Honest limits

  • Copy-based, so a checkpoint is a full snapshot of in-scope files (fine for source trees; excludes the heavy dirs). Not deduplicated across checkpoints.
  • restore is destructive on purpose — it removes files created since the checkpoint. That's the point, but know it before calling.
  • Empty directories left by removed files aren't pruned.