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

claude-memory-mcp

v1.0.1

Published

Persistent memory system for Claude Code CLI using Obsidian-compatible markdown

Readme

Claude Memory MCP

A persistent memory system for Claude Code CLI that stores memories in an Obsidian-compatible markdown vault.

Disclaimer

THIS SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Use at your own risk. The authors are not responsible for any data loss, corruption, or other issues that may arise from using this software.

Installation

npx claude-memory-mcp init

Usage

Initialize a vault in your project

npx claude-memory-mcp init

This creates:

  • .claude-memory/ - The vault directory
  • .mcp.json - MCP server configuration
  • CLAUDE.md - Instructions for Claude

Bootstrap with initial context

npx claude-memory-mcp bootstrap

Interactive prompts to populate your vault with project info, tech stack, and decisions.

Check vault health

npx claude-memory-mcp doctor

MCP Server Configuration

The init command automatically creates the correct .mcp.json for your platform.

Windows (requires cmd wrapper):

{
  "mcpServers": {
    "memory": {
      "command": "cmd",
      "args": ["/c", "npx", "-y", "claude-memory-mcp", "serve", "--vault", ".claude-memory"]
    }
  }
}

macOS/Linux:

{
  "mcpServers": {
    "memory": {
      "command": "npx",
      "args": ["-y", "claude-memory-mcp", "serve", "--vault", ".claude-memory"]
    }
  }
}

Features

  • 21 MCP tools for Claude to read/write memories
  • Obsidian-compatible markdown with YAML front matter
  • 8 memory types: decision, pattern, standard, concept, error, troubleshooting, question, session
  • Automatic context loading at session start
  • Wikilinks for cross-referencing memories
  • Supersession tracking for architectural decisions

Memory Types

| Type | Purpose | |------|---------| | decision | Architectural Decision Records (ADRs) | | pattern | Reusable code patterns | | standard | Coding standards and conventions | | concept | Domain concepts and explanations | | error | Error solutions and fixes | | troubleshooting | Debugging guides | | question | Open questions to investigate | | session | Session summaries |

Viewing in Obsidian

The .claude-memory vault is fully compatible with Obsidian:

  1. Open Obsidian
  2. Click "Open folder as vault"
  3. Select the .claude-memory folder in your project
  4. Enable "Properties view" in Settings > Editor to see YAML front matter as a table

The vault structure:

.claude-memory/
├── memories/
│   ├── decisions/
│   ├── patterns/
│   ├── standards/
│   ├── concepts/
│   ├── errors/
│   ├── troubleshootings/
│   ├── questions/
│   └── sessions/
├── _templates/
└── _archive/

Example Prompts

Test the memory system with these prompts in Claude Code:

Saving memories:

  • "Save a decision: We're using PostgreSQL for the database because of ACID compliance"
  • "Save a pattern for retry logic with exponential backoff"
  • "Save a coding standard: All functions must have JSDoc comments"
  • "I just fixed a bug where JSON.parse failed on undefined input - save this error"

Retrieving memories:

  • "What decisions have we made?"
  • "Show me all saved patterns"
  • "Search memories for 'database'"
  • "What's the context for this project?"

Session management:

  • "Start a new session"
  • "End session with summary: implemented user authentication"

Maintenance:

  • "Show vault status"
  • "Archive the old session memories"

Troubleshooting

MCP server not connecting

  1. Verify .mcp.json exists in your project root
  2. Check the configuration:
    {
      "mcpServers": {
        "memory": {
          "command": "npx",
          "args": ["-y", "claude-memory-mcp", "serve", "--vault", ".claude-memory"]
        }
      }
    }
  3. Restart Claude Code after changes to .mcp.json

"Vault not found" error

Run npx claude-memory-mcp init in your project directory to create the vault.

Memories not showing in Obsidian

  • Make sure you opened the .claude-memory folder directly as a vault
  • Check that files exist in .claude-memory/memories/ subdirectories
  • Refresh the file explorer in Obsidian (click away and back)

Bootstrap fails with "Invalid tech tag format"

Tech tags must be lowercase alphanumeric with hyphens only. Use:

  • react, typescript, postgresql (comma-separated)
  • dotnet-core (hyphens, not spaces)

Doctor shows validation errors

Run npx claude-memory-mcp doctor to see specific issues. Common fixes:

  • Missing required fields: Edit the memory file to add summary, type, or id
  • Invalid enum values: Check that type, status, confidence use valid values

Permission errors on Windows

Run your terminal as Administrator, or check that the project folder isn't read-only.

License

MIT License - See LICENSE for details.