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

@ura-dev/memorybank

v1.0.0

Published

Persistent cross-session memory for AI agents — MCP server + CLI

Readme

memorybank

Persistent cross-session memory for AI agents. Your AI agent forgets everything between sessions — memorybank fixes that.

Works with any MCP-compatible AI tool: Claude Code, Cursor, Windsurf, and more.

Quick Start

# Use directly with npx (zero install)
npx @ura-dev/memorybank --help

# Or install globally
npm install -g @ura-dev/memorybank

As MCP Server

Add to your Claude Code config (~/.claude/settings.json):

{
  "mcpServers": {
    "memorybank": {
      "command": "npx",
      "args": ["-y", "@ura-dev/memorybank", "memorybank-mcp"]
    }
  }
}

Or in Cursor/VS Code (.cursor/mcp.json):

{
  "mcpServers": {
    "memorybank": {
      "command": "npx",
      "args": ["-y", "@ura-dev/memorybank", "memorybank-mcp"]
    }
  }
}

MCP Tools

| Tool | Description | |------|-------------| | memory_store | Save a new memory (user, project, feedback, reference, custom) | | memory_recall | Retrieve the most relevant memories for a query | | memory_list | List all memories, filter by type or tag | | memory_get | Get a specific memory by ID | | memory_update | Update an existing memory | | memory_delete | Delete a memory | | memory_search | Full-text search across all memories | | memory_stats | Statistics about stored memories |

CLI Usage

# Store a memory
memorybank store user "team-lead" "User is the team lead for the backend services team"

# Recall relevant memories
memorybank recall "user role"

# Search
memorybank search "TypeScript"

# List all memories
memorybank list
memorybank list --type=feedback

# Get a specific memory
memorybank get abc123def456

# Delete
memorybank delete abc123def456

# Stats
memorybank stats

# Use namespaces for project isolation
memorybank store project "api-rewrite" "Migrating from REST to GraphQL" --namespace=myproject

Memory Types

  • user — About the person: role, preferences, expertise
  • project — About the work: goals, decisions, architecture
  • feedback — Corrections and validated approaches
  • reference — Pointers to external resources
  • custom — Anything else

How It Works

  • Zero dependencies — uses only Node.js built-in modules
  • File-based storage — each memory is a markdown file with YAML frontmatter
  • Auto-indexed — fast lookups via maintained index
  • Namespaced — separate memory banks per project
  • Secure — path traversal protection, input validation

Storage location: ~/.memorybank/ (override with MEMORYBANK_DIR env var)

Programmatic API

const mb = require('@ura-dev/memorybank');

// Store
const { id } = mb.store({ name: 'api key location', type: 'reference', content: 'API keys are in .env.local' });

// Recall
const memories = mb.recall('api keys');

// Search
const results = mb.search('TypeScript');

Why memorybank?

AI coding agents are powerful but stateless. Every new session starts from zero. memorybank gives your agent persistent memory:

  • Remembers your preferences across sessions
  • Tracks project decisions so the agent doesn't re-ask
  • Stores corrections so mistakes aren't repeated
  • Saves references to external resources

Think of it as a knowledge base that your AI agent builds and queries automatically.

License

MIT