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

memoclaw

v1.8.5

Published

MemoClaw CLI - Memory-as-a-Service for AI agents. 1000 free calls, then x402 micropayments.

Readme

MemoClaw CLI

Memory-as-a-Service for AI agents. 1000 free calls per wallet, then x402 micropayments ($0.001/call USDC on Base).

Install

npm install -g memoclaw

Setup

export MEMOCLAW_PRIVATE_KEY=0x...  # Your wallet private key

Quick Start

# Store a memory
memoclaw store "learned that user prefers dark mode" --importance 0.8 --tags ui,preferences

# Recall memories by similarity
memoclaw recall "user preferences" --limit 5

# List all memories (pretty table)
memoclaw list

# Interactive browser
memoclaw browse

Commands

Core

memoclaw store "content"              # Store a memory (also accepts stdin)
memoclaw recall "query"               # Search by semantic similarity
memoclaw list                         # List memories in a table
memoclaw get <id>                     # Get a single memory
memoclaw update <id> --importance 0.9 # Update a memory
memoclaw delete <id>                  # Delete a memory
memoclaw count                        # Quick count (pipe-friendly)

AI Features

memoclaw ingest --text "Meeting notes..."  # Auto-extract memories from text
cat transcript.txt | memoclaw ingest       # Pipe text to ingest
memoclaw extract "The deadline is March 15th"
memoclaw consolidate --dry-run             # Merge similar memories
memoclaw suggested --category stale        # Review suggested memories

Relations

memoclaw relations list <memory-id>
memoclaw relations create <memory-id> <target-id> related_to
memoclaw relations delete <memory-id> <relation-id>
memoclaw graph <id>                        # ASCII tree visualization

Valid relation types: related_to, derived_from, contradicts, supersedes, supports

Bulk Operations

memoclaw export > backup.json              # Export all memories
memoclaw export --namespace project1 > p1.json
memoclaw import --file backup.json         # Import from file
cat backup.json | memoclaw import          # Import from stdin
memoclaw purge --force                     # Delete ALL memories
memoclaw purge --namespace old --force     # Delete namespace

Account & Config

memoclaw status                            # Free tier remaining
memoclaw stats                             # Memory statistics
memoclaw config show                       # Show configuration
memoclaw config check                      # Validate setup

Interactive Browser

memoclaw browse                            # REPL for exploring memories
memoclaw browse --namespace project1

Inside the browser: list, get <id>, recall <query>, store <text>, delete <id>, stats, next, prev, quit

Shell Completions

eval "$(memoclaw completions bash)"
eval "$(memoclaw completions zsh)"
memoclaw completions fish > ~/.config/fish/completions/memoclaw.fish

Global Options

| Flag | Short | Description | |------|-------|-------------| | --json | -j | Machine-readable JSON output | | --quiet | -q | Suppress non-essential output | | --namespace <name> | -n | Filter/set namespace | | --limit <n> | -l | Limit results | | --tags <a,b> | -t | Comma-separated tags | | --raw | | Content only (for piping) | | --force | | Skip confirmation prompts | | --timeout <sec> | | Request timeout (default: 30) | | --help | -h | Show help | | --version | -v | Show version |

Flags can be combined: memoclaw list -jq -n myns -l 5

Piping

echo "meeting notes" | memoclaw store
echo "long text" | memoclaw ingest
memoclaw recall "query" --raw | head -1
memoclaw export | jq '.memories | length'
memoclaw count  # outputs just the number

Environment Variables

| Variable | Required | Description | |----------|----------|-------------| | MEMOCLAW_PRIVATE_KEY | Yes | Wallet private key for auth + payments | | MEMOCLAW_URL | No | API endpoint (default: https://api.memoclaw.com) | | NO_COLOR | No | Disable colored output | | DEBUG | No | Enable debug logging |

Free Tier

Every wallet gets 1000 free API calls. After that, x402 micropayments kick in automatically — $0.001/call in USDC on Base. No signup, no API keys, just your wallet.

Links

License

MIT