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

memento-memory

v1.0.0

Published

Persistent semantic memory for Claude Code — auto-captures context, survives compaction, zero-config recall

Readme

npm version CI License: AGPL-3.0 Docs

Memento

Persistent semantic memory for AI coding agents. Save, recall, and search context across sessions — even after autocompact.

Works with Claude Code, OpenCode, Cursor, and Windsurf. Runs entirely on your machine — no cloud, no API keys, no data leaving your computer.

Quick Start

npx memento-memory setup

That's it. Your next session will automatically capture and recall context.

Requires Node.js >= 20. See Installation Guide for all methods and IDE-specific setup.

Features

  • Auto-capture — hooks silently capture every meaningful tool call in the background
  • Survives compaction — memories persist even when the context window is compressed
  • Semantic recall — find relevant context by meaning, not exact keywords
  • Hybrid search — vector (cosine similarity) + keyword (BM25), weighted scoring
  • Smart memory — contradiction detection, importance scoring, entity extraction, relationship tracking
  • 17 MCP tools — save, recall, search, forget, list, health, export, import, migrate, session management, project indexing, profiling, compaction, and more
  • Cross-project search — find knowledge across all your projects
  • Auto-tagging — heuristic classification (code, decision, error, architecture, config, dependency, todo)
  • Sensitive data redaction — API keys, tokens, passwords stripped before storage
  • Local-first — works offline with local embeddings (all-MiniLM-L6-v2), zero config
  • Browser-compatible — runs in browsers and extensions via IndexedDB + fetch-based embeddings
  • HTTP API + Graph UI — REST endpoints and D3 visualization of your memory graph

How It Works

Session active → PostToolUse hook captures context → queue
Session ends   → Stop hook triggers pipeline:
                 redact → tag → chunk → dedup → embed → store
Next session   → memory_recall restores context automatically

See How It Works for the full architecture walkthrough.

Documentation

sanathshetty444.github.io/memento

Development

npm install && npm run build   # Build
npm test                       # Run tests
npm run lint                   # Lint
npx tsc --noEmit               # Type-check

Contributing

Contributions welcome! See the Contributing Guide.

License

AGPL-3.0