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

memkit-mcp

v1.0.1

Published

Persistent memory MCP server for AI coding agents

Downloads

228

Readme

memkit-mcp

A local MCP server that gives AI coding agents persistent memory across conversations — scoped per workspace.

Works with any MCP-compatible client:

  • VS Code (GitHub Copilot, Continue, etc.)
  • Cursor
  • Windsurf
  • Claude Desktop
  • Any tool that supports the MCP protocol

Tools

| Tool | Description | |------|-------------| | memory_add | Store a new memory entry (useFile: true saves long content as a .md file) | | memory_read | List all keys + descriptions, or read a specific key | | memory_edit | Update an existing memory | | memory_delete | Remove a memory entry |


Recommended Usage Pattern

Always use the two-step flow:

  1. List first — call memory_read with no key to get all keys + descriptions
  2. Read what's relevant — call memory_read with a specific key to get full content

This keeps context loading fast and focused.

At the start of a conversation, prompt your agent:

"Read my memory list and load anything relevant"

At the end of a conversation:

"Save that we decided to use JWT with refresh token rotation"


Setup

VS Code

Add .vscode/mcp.json to your project:

{
  "servers": {
    "memkit-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": ["-y", "memkit-mcp@latest"],
      "env": {
        "WORKSPACE_FOLDER": "${workspaceFolder}"
      }
    }
  }
}

Cursor

Add to ~/.cursor/mcp.json:

{
  "mcpServers": {
    "memkit-mcp": {
      "command": "npx",
      "args": ["-y", "memkit-mcp@latest"],
      "env": {
        "WORKSPACE_FOLDER": "/absolute/path/to/your/project"
      }
    }
  }
}

Claude Desktop

macOS: ~/Library/Application Support/Claude/claude_desktop_config.json

Windows: %APPDATA%\Claude\claude_desktop_config.json

{
  "mcpServers": {
    "memkit-mcp": {
      "command": "npx",
      "args": ["-y", "memkit-mcp@latest"],
      "env": {
        "WORKSPACE_FOLDER": "/absolute/path/to/your/project"
      }
    }
  }
}

Requires Node.js to be installed on your machine.


Manual (no Node.js / offline)

  1. Clone this repo and build:
npm install
npm run build
  1. Point your MCP config to the built file:
{
  "command": "node",
  "args": ["/absolute/path/to/memkit-mcp/dist/index.js"],
  "env": {
    "WORKSPACE_FOLDER": "/absolute/path/to/your/project"
  }
}

Auto-load memory on every conversation (recommended)

Instead of manually prompting the agent each time, add an agent instructions file to your project so memory loads automatically on every conversation.

VS Code — create .github/copilot-instructions.md:

At the start of every conversation, call memory_read with no key to load
the memory list, then read anything relevant to the current task.

When saving new information, use useFile=true for content longer than a
few sentences.

Cursor / Windsurf — create .cursorrules with the same content:

At the start of every conversation, call memory_read with no key to load
the memory list, then read anything relevant to the current task.

When saving new information, use useFile=true for content longer than a
few sentences.

Where memories are stored

Memories are saved locally to:

<your-project>/.vscode/work-memory.json
<your-project>/.vscode/memory/       <- .md files for long content

Each workspace gets its own memory file — no cross-project leakage.

You can override the default path with an env variable:

"env": {
  "MEMORY_FILE": "/custom/path/memory.json"
}

Example memory entries

{
  "key": "auth-approach",
  "description": "Auth strategy decided for this project",
  "value": "Using JWT with refresh token rotation. Tokens expire in 15min."
}

For long content, use useFile: true:

{
  "key": "architecture",
  "description": "Full system architecture overview",
  "value": "# Architecture\n\nDetailed notes here...",
  "useFile": true
}