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-memo/mcp-client

v0.9.2

Published

MCP client for Agent-Memo.AI cloud memory service. 14 tools: memory, discovery, knowledge graph.

Downloads

222

Readme

@agent-memo/mcp-client

MCP client for Agent-Memo.AI — cloud-based memory management for AI agents. Enables Claude Code, Cursor, Windsurf, and other MCP-compatible tools to store and retrieve persistent memories across conversations.

Quick Start

1. Get Your API Token

  1. Visit agent-memo.ai
  2. Register and login
  3. Copy your API token from the Dashboard

2. Configure MCP Server

Add .mcp.json to your project root (or ~/.claude/.mcp.json for global):

{
  "mcpServers": {
    "agent-memo": {
      "command": "npx",
      "args": ["-y", "@agent-memo/mcp-client"],
      "env": {
        "AGENTMEMO_TOKEN": "your-token-here"
      }
    }
  }
}
  • Project is auto-detected from git remote or directory name
  • Set AGENTMEMO_PROJECT in env to override (e.g. "AGENTMEMO_PROJECT": "my-project")

3. (Optional) Auto-save Hooks

Add to ~/.claude/settings.json to enable auto-save across all projects:

{
  "hooks": {
    "Stop": [{"matcher": "*", "hooks": [{"type": "command", "command": "npx -y @agent-memo/mcp-client --hook save", "timeout": 30}]}],
    "PreCompact": [{"hooks": [{"type": "command", "command": "npx -y @agent-memo/mcp-client --hook precompact", "timeout": 30}]}]
  }
}
  • Stop hook — auto-saves memories every 15 messages
  • PreCompact hook — forces memory save before context compression

VSCode Extension (if npx doesn't work)

Install globally first, then use the direct node path:

npm install -g @agent-memo/mcp-client
{
  "mcpServers": {
    "agent-memo": {
      "command": "node",
      "args": ["<path-to-global-node-modules>/@agent-memo/mcp-client/dist/index.js"],
      "env": {
        "AGENTMEMO_TOKEN": "your-token-here"
      }
    }
  }
}

Find your global install path: npm root -g

Available Tools (14)

Memory (7)

| Tool | Description | |------|-------------| | memory_store | Store a new memory with type, importance, topic, and tags | | memory_recall | Semantic search with topic/type/importance filtering | | memory_overview | Get high-importance memories (quick overview) | | memory_expand | Expand a memory to see child memories for detail | | memory_update | Update content, topic, importance, or tags | | memory_delete | Delete a memory and all its children | | memory_stats | Get statistics (total, by type, by topic) |

Discovery (2)

| Tool | Description | |------|-------------| | memory_list_topics | List all topics with memory counts | | memory_check_duplicate | Check for near-duplicates before storing |

Knowledge Graph (5)

| Tool | Description | |------|-------------| | kg_add | Add a fact (subject → predicate → object) with temporal validity | | kg_query | Query all relationships for an entity | | kg_invalidate | Mark a fact as ended (preserved for history) | | kg_timeline | Get chronological timeline for an entity | | kg_stats | Get KG statistics (entities, facts, top entities) |

Key Features

  • Topic-based filtering — Organize memories by topic for +34% recall accuracy
  • Importance levels (1-4) — Critical memories surface first
  • Temporal validity — Facts have valid_from/valid_to windows
  • Knowledge Graph — Entity-relationship tracking with time-aware queries
  • Duplicate detection — Semantic similarity check before storing
  • Project isolation — Memories auto-scoped to current project
  • Multi-scope — Personal, Project, and Team memory scopes

Memory Types

| Type | Use For | |------|---------| | user | User preferences, profile, work style | | project | Decisions, architecture, context | | feedback | Corrections, what to avoid/repeat | | reference | Links, docs, external resources | | conversation | Session highlights, action items |

Environment Variables

| Variable | Required | Description | |----------|----------|-------------| | AGENTMEMO_TOKEN | Yes | JWT token from agent-memo.ai dashboard | | AGENTMEMO_API_URL | No | API URL (default: https://api.agent-memo.ai) | | AGENTMEMO_PROJECT | No | Override auto-detected project slug |

How It Works

  1. Project auto-detection — Detects your project from git remote URL or directory name
  2. Memories auto-scopedmemory_store defaults to project scope
  3. Search across scopesmemory_recall searches both project and personal memories
  4. Overview loadingmemory_overview returns high-importance memories for conversation startup

Support

License

Proprietary. See agent-memo.ai/terms for terms of service.