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

modular-memory-mcp-server

v0.2.0

Published

A Model Context Protocol server for modular memory management with enhanced features

Readme

Memory Server

基于 modular-mcp-memory 的 MCP 记忆管理服务器。

功能特性

  • 🧠 智能记忆管理: 添加、搜索、更新、删除记忆
  • 🔍 强大搜索: 支持模糊搜索和高级过滤
  • 📊 统计分析: 记忆统计和热门关键词
  • 🏷️ 类型分类: 按类型管理不同种类的记忆
  • 重要性排序: 智能重要性评估和排序
  • 📝 提示模板: 内置记忆总结和分析模板

安装和使用

1. 安装依赖

npm install

2. 构建项目

npm run build

3. 运行服务器

# 直接运行
./build/index.js

# 或者使用 node
node build/index.js

# 使用 MCP Inspector 调试
npm run inspector

4. 环境变量

  • MEMORY_DB_PATH: 数据库文件路径 (默认: mcp_memories.db)

MCP 客户端配置

将以下配置添加到你的 MCP 客户端配置中:

On MacOS: ~/Library/Application Support/Claude/claude_desktop_config.json On Windows: %APPDATA%/Claude/claude_desktop_config.json

{
  "mcpServers": {
    "memory-server": {
      "command": "node",
      "args": ["path/to/memory-server/build/index.js"],
      "env": {
        "MEMORY_DB_PATH": "path/to/your/database.db"
      }
    }
  }
}

可用工具

记忆管理

  • add_memory: 添加新记忆
  • update_memory: 更新现有记忆
  • delete_memory: 删除记忆

搜索功能

  • search_memories: 基础搜索
  • advanced_search: 高级搜索(支持类型和重要性过滤)

分析功能

  • get_important_memories: 获取重要记忆
  • get_memories_by_type: 按类型获取记忆
  • get_popular_keywords: 获取热门关键词
  • get_memory_stats: 系统统计信息

资源

所有记忆都作为资源暴露,使用 memory:// URI 格式:

  • 列出所有记忆: memory://
  • 读取特定记忆: memory:///[memory-id]

提示模板

  • memory_summary: 生成所有记忆的总结
  • important_memories_report: 生成重要记忆分析报告

开发

监听模式

npm run watch

调试

npm run inspector

这将启动 MCP Inspector,可以在浏览器中测试服务器功能。

技术架构

  • 核心库: modular-mcp-memory - 提供记忆管理核心功能
  • 协议: Model Context Protocol (MCP) - 标准化的 AI 工具协议
  • 数据库: SQLite - 轻量级、高性能的本地数据库
  • 语言: TypeScript - 类型安全的开发体验

许可证

与核心项目保持一致的许可证。