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 🙏

© 2025 – Pkg Stats / Ryan Hefner

@neko0721/memory-bank-mcp

v1.0.3

Published

A guided Memory Bank MCP plugin for AI-assisted development with persistent project context

Downloads

190

Readme

Memory Bank MCP

A guided Memory Bank plugin for AI-assisted development

CN

Memory Bank MCP is a Model Context Protocol (MCP) plugin that helps AI assistants maintain persistent project context through structured markdown files. It provides a systematic approach to tracking project goals, decisions, progress, and patterns through guided instructions rather than direct operations.

Features

  • Guided Operations: Provides instructions for AI assistants to perform operations themselves
  • Structured Context Management: Organize project information across 5 core files
  • Intelligent Guidance: Step-by-step instructions for initialization and updates
  • Flexible Updates: Smart update guidance based on different change types
  • Cross-Platform Support: Automatic path normalization for Windows/macOS/Linux

MCP Configuration

Using the published npm package:

{
  "mcpServers": {
    "memory-bank": {
      "command": "npx",
      "args": ["@neko0721/memory-bank-mcp"],
      "timeout": 600
    }
  }
}

Quick Start

  1. Initialize Memory Bank

    Use init-memory-bank to create the memory-bank directory and core files
  2. Read Memory Bank

    Use get-memory-bank-info to view all Memory Bank content
  3. Update Memory Bank

    Use update-memory-bank to get guidance on updating specific files

Core Files

1. productContext.md (Product Context)

  • High-level project overview
  • Goals and key features
  • Overall architecture
  • Automatically incorporates projectBrief.md if available

2. activeContext.md (Active Context)

  • Current work status
  • Recent changes
  • Open questions and issues
  • Focus areas

3. progress.md (Progress)

  • Task tracking in checklist format
  • Completed, current, and planned tasks
  • Progress timeline

4. decisionLog.md (Decision Log)

  • Architectural and implementation decisions
  • Rationale and implications
  • Decision history

5. systemPatterns.md (System Patterns)

  • Recurring patterns and standards
  • Coding conventions
  • Architectural patterns
  • Testing strategies

Usage Guidelines

For AI Assistants

  1. Start Every Session: Check if memory-bank directory exists, then use get-memory-bank-info to understand project state
  2. Initialize When Needed: Use init-memory-bank for new projects
  3. Read Context: Use get-memory-bank-info to understand project state
  4. Update Guidance: Use update-memory-bank to get update instructions
  5. Follow Instructions: Execute the provided guidance to maintain Memory Bank

Update Triggers

  • Architecture Changes: Major structural decisions
  • Feature Completion: New features or capabilities
  • Bug Fixes: Significant issue resolutions
  • Refactoring: Code structure improvements
  • Decisions: Any important technical choices
  • Progress Updates: Task status changes

Tool Reference

init-memory-bank

Initializes Memory Bank with all core files.

Parameters:

  • rootPath: Project root directory path
  • force (optional): Force re-initialization

Returns: Created files list and next steps guidance

get-memory-bank-info

Reads and returns all Memory Bank content (similar to codelf's get-project-info).

Parameters:

  • rootPath: Project root directory path

Returns: Formatted Memory Bank content for AI context

update-memory-bank

Provides guidance for updating Memory Bank files.

Parameters:

  • rootPath: Project root directory path
  • changeType: Type of change (architecture/feature/bugfix/refactor/decision/progress)
  • description: Brief description of the change

Returns: Detailed update instructions with templates and timestamps

Integration Tips

Cursor Setup

Add to Settings → Rules → User Rules:

Before starting any task, check if memory-bank directory exists in the project. If not, run the MCP command init-memory-bank.
Use the MCP command get-memory-bank-info to read Memory Bank content at session start.
After completing tasks or conversations, you must use the MCP command update-memory-bank to update Memory Bank content.
Follow the MCP guidance to maintain Memory Bank files.

Windsurf Setup

Add to Settings → Cascade → Memories and Rules → Global Rules:

Before starting any task, check if memory-bank directory exists in the project. If not, run the MCP command init-memory-bank.
Use the MCP command get-memory-bank-info to read Memory Bank content at session start.
After completing tasks or conversations, you must use the MCP command update-memory-bank to update Memory Bank content.
Follow the MCP guidance to maintain Memory Bank files.

Contributing

Contributions are welcome! Please feel free to submit issues or pull requests.

License

MIT

Acknowledgments

Inspired by the SPARC methodology and codelf.