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

@lgpearson1771/memory-bank-mcp

v1.0.1

Published

An intelligent MCP server that automatically generates, maintains, and evolves comprehensive memory bank files for any software project

Readme

Memory Bank Generator MCP Server

🧠 Professional Memory Bank Generation for AI-Assisted Development

Comprehensive project documentation that helps AI assistants understand your codebase

Enterprise-ready MCP server with intelligent project analysis

A production-ready MCP server that automatically generates comprehensive memory banks with the use of your AI assistant. Analyze any project and create structured documentation that dramatically improves AI understanding and assistance quality.

🎯 What It Does

  • Deep Project Analysis: Advanced scanning of files, dependencies, patterns, and architecture
  • Intelligent Content Generation: Creates 6 core memory bank files with project-specific content
  • AI Integration Setup: Automatically configures GitHub Copilot and other AI assistants
  • Quality Validation: Ensures professional documentation with comprehensive validation
  • Performance Optimized: Handles projects of any size efficiently (tested up to 500+ files)

🚀 Quick Start

🚀 One-Click Install (Recommended)

For VS Code users, click one of these buttons to automatically configure the MCP server:

📝 Note: These buttons automatically add the npm package configuration to your mcp.json file. If the links don't open VS Code, try right-clicking and selecting "Open link" or use manual setup below.

Installation Options

🌟 Option 1: npm package (Recommended - No local setup required)

The easiest way to use Memory Bank MCP is via npm. The one-click install buttons above will automatically configure this for you, or you can add it manually to your MCP configuration:

VS Code MCP Extension:

{
  "servers": {
    "MemGen MCP": {
      "command": "npx",
      "args": ["@lgpearson1771/memory-bank-mcp@latest"],
      "type": "stdio"
    }
  }
}

Claude Desktop:

{
  "mcpServers": {
    "MemGen MCP": {
      "command": "npx",
      "args": ["@lgpearson1771/memory-bank-mcp@latest"]
    }
  }
}

🛠️ Option 2: Local Development Setup

For development or customization:

git clone https://github.com/lgpearson1771/Memory-Bank-MCP.git
cd Memory-Bank-MCP
npm install
npm run build

Setup for VS Code

Manual Configuration:

Option A: npm package (recommended)

{
  "servers": {
    "MemGen MCP": {
      "command": "npx",
      "args": ["@lgpearson1771/memory-bank-mcp@latest"],
      "type": "stdio"
    }
  }
}

Option B: Local installation

{
  "servers": {
    "MemGen MCP": {
      "command": "node",
      "args": ["<MCP_SERVER_PATH>\\dist\\index.js"],
      "env": {
        "LOG_LEVEL": "info"
      },
      "type": "stdio"
    }
  }
}

For Claude Desktop

  1. Find Claude Desktop's configuration file:

    • Windows: %APPDATA%\Claude\claude_desktop_config.json
    • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  2. Add your MCP server configuration:

    Option A: npm package (recommended)

    {
      "mcpServers": {
        "MemGen MCP": {
          "command": "npx",
          "args": ["@lgpearson1771/memory-bank-mcp@latest"]
        }
      }
    }

    Option B: Local installation

    {
      "mcpServers": {
        "MemGen MCP": {
          "command": "node",
          "args": ["<MCP_SERVER_PATH>\\dist\\index.js"],
          "env": {
            "LOG_LEVEL": "info"
          }
        }
      }
    }
  3. Restart Claude Desktop - Your 6 MCP tools will be available!

Verify Installation

Run Unit Tests:

node tests/unit/validate-tools.js

Run Integration Tests:

node tests/integration/run-all.mjs

Quick Tool Test:

node tests/integration/quick-test.js

You should see: ✅ All tests passed! MCP tools are working correctly.

Documentation

📁 Complete Documentation - All guides, setup instructions, and technical details

Quick Links:

##�🛠️ Available Tools

5 MCP Tools for Memory Bank Management:

  • generate_memory_bank - Creates comprehensive memory banks with full project analysis
  • analyze_project_structure - Deep analysis of project structure, dependencies, and patterns
  • update_memory_bank - Updates existing memory banks with current project state
  • validate_memory_bank - Validates memory bank completeness and AI integration
  • setup_copilot_instructions - Configures AI assistants to use your memory bank

📁 What Gets Created

Memory banks are created in .github/memory-bank/ with these files:

.github/
├── memory-bank/
│   ├── projectbrief.md          # Project overview
│   ├── productContext.md        # Goals and purpose  
│   ├── activeContext.md         # Current work
│   ├── systemPatterns.md        # Architecture
│   ├── techContext.md           # Tech stack
│   └── progress.md              # Status
└── copilot-instructions.md      # Copilot config

Optional: You can request additional files organized in semantic folders like features/, api/, deployment/, etc.

🎯 How It Works

Intelligent Analysis & Generation

Professional Workflow

You: "Generate a memory bank for my project at C:\MyProject"
MCP: Deep Analysis → Content Generation → Memory Bank Creation → AI Integration

Advanced Processing

  • Project Intelligence: Analyzes dependencies, architecture, patterns, and business context
  • Professional Content: Generates enterprise-grade documentation with project-specific details
  • Smart Organization: Creates structured memory banks with comprehensive file organization
  • Automatic Integration: Sets up AI assistants with proper memory bank references
  • Quality Assurance: Validates content quality and completeness

Result: 6 professional memory bank files with detailed project analysis, not generic templates.

💡 Why Use This?

  • Enterprise Quality: Professional documentation suitable for production environments
  • Deep Understanding: AI assistants gain comprehensive knowledge of your project
  • Zero Manual Work: Fully automated generation and AI integration
  • Performance Tested: Handles large projects efficiently (500+ files in <1 second)
  • Production Ready: Comprehensive test coverage with 23 integration tests
  • Universal Compatibility: Works with Claude Desktop, VS Code, and all MCP-compatible tools

🤝 Contributing

This project started at the 2025 Microsoft Hackathon and is now production-ready!

git clone https://github.com/lgpearson1771/Memory-Bank-MCP.git
cd Memory-Bank-MCP
npm install
npm run dev

� More Info


Made with ❤️ for developers who want smarter AI assistants