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

megg

v1.0.0

Published

MEGG - Memory Enhancement for GenAI Guides

Readme

megg

Git-native, contextual memory infrastructure that lives directly in your codebase.

megg turns stateless AI agents into long-term employees. It provides a standardized way for agents to read, store, and manage context directly within your project's folder structure.

Every session is fresh, but with megg, your agent remembers.

⚡️ Quick Start

1. Install

git clone https://github.com/opencode-experiment/megg.git
cd megg
npm install && npm run build

2. Configure (Claude Desktop / MCP Client)

Add this to your claude_desktop_config.json:

{
  "mcpServers": {
    "megg": {
      "command": "node",
      "args": ["/absolute/path/to/megg/build/index.js"]
    }
  }
}

3. Instruct Your Agent

Add this to your system prompt:

Memory/Context: You have access to megg, a memory tools suite.

  • At session start, call megg.awake() to orient yourself.
  • When entering a new directory, call megg.recall(path).
  • If you make a significant decision, call megg.remember(path, content).

📚 Documentation

  • User Manual: How to structure memory, best practices, and the "Good Employee" philosophy.
  • API Reference: Detailed documentation of the MCP tools (awake, recall, settle, etc.).
  • Design: The core philosophy and architecture.

🏗️ How It Works

megg inserts .megg/ directories at key boundaries in your project (e.g., root, src/, api/).

project/
├── .megg/              # Root memory
│   ├── info.md         # Identity & Rules
│   └── map.md          # Navigation (auto-generated)
├── src/
│   ├── api/
│   │   ├── .megg/      # API memory
│   │   │   ├── info.md
│   │   │   └── decisions.md

When an agent calls recall("src/api"), it receives the full chain of context:

  1. Root info.md (Identity)
  2. Src info.md (General conventions)
  3. API info.md (Specific rules)

This ensures the agent always has the right context for the task at hand.