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-memory-bridge

v1.0.2

Published

MCP server for Mem0 self-hosted memory — connect Claude Code / any MCP client to a Mem0 REST API

Readme

mem0-memory-bridge

Mem0 记忆服务的 MCP Server。把 Claude Code / 任意 MCP 客户端接到你的 Mem0 自托管实例(REST API),实现跨会话长期记忆。

环境变量

| 变量 | 说明 | 默认 | |---|---|---| | MEM0_BASE_URL | Mem0 API 完整地址(优先级最高) | — | | MEM0_HOST | Mem0 服务器 IP | 127.0.0.1 | | MEM0_PORT | Mem0 API 端口 | 18888 | | MEM0_API_KEY | Mem0 API Key(m0sk_ 开头,必填) | — |

快速开始

IP + 端口方式

claude mcp add mem0 --scope user --transport stdio \
  -e MEM0_API_KEY='m0sk_你的key' \
  -e MEM0_HOST='<Mem0服务器IP>' \
  -e MEM0_PORT='8888' \
  -- npx -y mem0-memory-bridge

完整 URL 方式

claude mcp add mem0 --scope user --transport stdio \
  -e MEM0_BASE_URL='http://<Mem0服务器IP>:8888' \
  -e MEM0_API_KEY='m0sk_你的key' \
  -- npx -y mem0-memory-bridge

配置后重启 Claude Code 即可使用。接入前请确保 Mem0 的 API 端口对当前机器可达,并做好安全组/防火墙限制。

工具

| 工具 | 说明 | |---|---| | mem0_add | 存入对话/事实,自动提取记忆 | | mem0_search | 语义搜索召回记忆 | | mem0_list_memories | 列出记忆 | | mem0_get_memory | 单条记忆详情 | | mem0_update_memory | 更新记忆 | | mem0_delete_memory | 删除单条记忆 | | mem0_clear_memories | 清空记忆 | | mem0_memory_history | 记忆变更历史 | | mem0_list_entities | 列出记忆实体 |

记忆空间由 user_id / agent_id 隔离:同一 user_id 共享记忆,不同则隔离。

License

MIT