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

mem0-mcp

v0.2.0

Published

A dedicated mem0 MCP server with file-backed storage and Ollama embeddings.

Readme

mem0-mcp

A dedicated repository for the mem0 MCP server we developed: file-backed scoped memory records, mandatory checkpoint provenance, and Ollama-based embeddings.

Release notes and migration details live in CHANGELOG.md.

Installation

npm install -g mem0-mcp

Release Highlights (0.2.0)

  • Deterministic memory deduplication through a stable dedupe_key instead of similarity-based soft merging.
  • Config-aware setup_wizard that validates and pulls the configured embedding model instead of assuming one hard-coded model.
  • Abortable Ollama requests with MEM0_OLLAMA_TIMEOUT_MS across health checks and embedding calls.
  • MCP initialize now reports the real package version from package.json.
  • Package metadata is ready for installable distribution, including repository, homepage, and issue tracker links.

Architecture boundary

This repository contains only the mem0 server/runtime surface:

  • src/transport/mcp-server.ts
  • src/adapters/sqlite/sqlite-memory-store.ts
  • src/adapters/ollama/ollama-embedder.ts
  • src/bin/mem0-mcp.ts

Generic MCP transport mechanics are implemented inside this repository under src/transport/, so mem0-mcp can build and install independently without requiring sibling repositories.

Environment

  • MEM0_STORE_PATH (default: ~/.copilot/mem0)
  • OLLAMA_BASE_URL (default: http://127.0.0.1:11434)
  • MEM0_EMBED_MODEL (default: qwen3-embedding:latest)
  • MEM0_OLLAMA_TIMEOUT_MS (default: 10000)

Commands

npm install
npm run typecheck
npm run build
npm test
npm run mem0:mcp

Host Launch Guidance

If an MCP host isolates native modules poorly, prefer launching the server as node <absolute-path>/dist/bin/mem0-mcp.js instead of a symlinked shim. This avoids native module resolution failures around better-sqlite3 in some host runtimes.

Tool surface

  • health
  • memory_store
  • memory_recall
  • memory_search
  • memory_update
  • memory_forget
  • setup_wizard

License

This project is licensed under the Business Source License 1.1 (BSL).

You may use this software for non-commercial and non-production purposes (e.g., development, testing, research, and personal projects) free of charge.

Commercial and production use is strictly prohibited without prior written authorization.

On March 22, 2030 (the Change Date), this license automatically converts to the Apache License, Version 2.0.