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

agent-recall

v0.2.0

Published

Your AI coding assistant forgets everything between sessions. Fix it in one command.

Downloads

193

Readme

agent-recall

Your AI coding assistant forgets everything between sessions. Fix it in one command.

npm License: MIT

Quick Start

npx agent-recall

That's it. Your AI assistant now has persistent memory.

Setup (30 seconds)

Add agent-recall to your AI tool's MCP config:

Claude Desktop

Edit ~/Library/Application Support/Claude/claude_desktop_config.json (Mac) or %APPDATA%\Claude\claude_desktop_config.json (Windows):

{
  "mcpServers": {
    "agent-recall": {
      "command": "npx",
      "args": ["-y", "agent-recall"]
    }
  }
}

Cursor

Edit .cursor/mcp.json in your project root:

{
  "mcpServers": {
    "agent-recall": {
      "command": "npx",
      "args": ["-y", "agent-recall"]
    }
  }
}

Windsurf / Any MCP Client

Same pattern — point the MCP config at npx agent-recall.

Restart your AI tool. Done.

What Your Agent Gets

Six tools that make it remember:

remember — Store anything worth keeping

remember({ content: "The webpack config needs resolve.extensions for .tsx files" })

Auto-categorises — you don't pick a type. The system infers it:

  • "error", "bug", "fix", "crash" → bug
  • "always", "never", "prefer", "must" → decision
  • "config", "setting", "port", "path" → setting
  • "step 1", "then", "workflow" → procedure
  • "prefers", "told me", "corrected" → feedback
  • Everything else → context

recall — Get context for what you're doing

recall({ query: "webpack build errors", max_tokens: 2000 })

Returns the most relevant memories fitted to your token budget. Ranked by text relevance, recency, access frequency, and confidence. This is the killer feature — one call loads exactly what the agent needs.

search — Find something specific

search({ query: "loudnorm", type: "bug" })

forget — Remove outdated memories

forget({ id: "memory-uuid-here" })

save_state — Save working state before session ends

save_state({ summary: "Refactoring auth. Changed files: ... Blocked on: ..." })

load_state — Pick up where you left off

load_state({})

The next session starts with full context of what the previous session was doing.

How It Works

  • SQLite + FTS5 — instant full-text search, zero infrastructure
  • Auto-project detection — reads your git repo name or package.json, scopes memories automatically
  • Token budgetingrecall() fits results to your context window
  • WAL mode — safe for concurrent reads
  • ~/.agent-recall/memory.db — one file, portable, inspectable

No vector database. No embeddings model. No API keys. No cloud.

Why Not...

| Feature | mcp-memory | remember-mcp | agent-recall | |---------|------------|--------------|--------------| | Install | npm + 200MB embeddings | npm | npx (zero install) | | Search | Vector (slow, heavy) | None | FTS5 (instant) | | Token budget | No | No | Yes | | Auto-typing | No | No | Yes | | Session state | No | No | Yes | | Auto-project | No | No | Yes | | Dependencies | 5 + transformer model | 2 | 3 | | Works offline | No (needs model) | Yes | Yes |

CLI

npx agent-recall                    # start MCP server (default)
npx agent-recall search "webpack"   # search from terminal
npx agent-recall recall "auth"      # context-budgeted recall
npx agent-recall stats              # memory count + size

Programmatic API

import { Memory } from "agent-recall";

const mem = new Memory();

mem.remember("Never run migrations on Friday.");
mem.search("migration");
mem.recall("deployment checklist", { max_tokens: 2000 });

mem.saveState("Deploying v2.1. Database migrated. Waiting on CDN invalidation.");
mem.loadState(); // Next session picks up here

Memory Types

| Type | Auto-detected when content contains | Example | |------|-------------------------------------|---------| | bug | error, fix, crash, fail | "CSS grid breaks in Safari 16" | | decision | always, never, prefer, must | "Never use any in TypeScript" | | setting | config, port, version, path | "API runs on port 3001 in dev" | | procedure | step, first, then, workflow | "Deploy: build → test → push → tag" | | feedback | prefers, told me, corrected | "User prefers functional components" | | context | (default) | "This repo uses pnpm monorepo" | | session | (via save_state) | Working state between sessions |

Knowledge Packs

Pre-built memories that make your agent instantly smarter. Install domain expertise in one command.

npx agent-recall install @packs/ffmpeg
npx agent-recall install @packs/youtube-api
npx agent-recall install @packs/python-audio

| Pack | Memories | Covers | |------|----------|--------| | @packs/ffmpeg | 12 | loudnorm, amix, concat, zoompan, sample rates | | @packs/youtube-api | 10 | Shorts, scheduling, comments, OAuth, playlists | | @packs/python-audio | 10 | TTS, Chatterbox, Demucs, CUDA, sample rates |

Your agent calls recall("loudnorm issue") and instantly gets the fix — without you ever debugging it.

Create your own: See agent-recall-packs for the format and contributing guide.

Works Great With AgentScore

@agentscore-xyz/mcp-server lets your AI check the trust score of other AI agents. Pair it with agent-recall and your agent checks trust once, remembers it across sessions:

  1. Agent calls check_agent_trust("EmberFoundry") → gets a 0-100 trust score
  2. Agent calls remember("EmberFoundry: trust score 14/100, UNVERIFIED band") → stored locally
  3. Next session: recall("EmberFoundry trust") → instant, no network call
{
  "mcpServers": {
    "memory": {
      "command": "npx",
      "args": ["-y", "agent-recall"]
    },
    "agentscore": {
      "command": "npx",
      "args": ["-y", "@agentscore-xyz/mcp-server"]
    }
  }
}

Two tools, clean separation. Memory stays local, trust scoring stays in the cloud.

License

MIT