Command Palette

Search for a command to run...

UnylyUnyly
Browse all

Memmd

FreeNot checked

A shared memory layer for AI agents — one memory.md synced across Claude Desktop, Cursor, Claude Code, OpenAI Codex, and any MCP client.

GitHubEmbed

About

A shared memory layer for AI agents — one memory.md synced across Claude Desktop, Cursor, Claude Code, OpenAI Codex, and any MCP client.

README

English | 한국어

PyPI License Python

memmd-mcp

A shared memory layer for AI agents — one memory.md synced across Claude Desktop, Cursor, Claude Code, OpenAI Codex, and any MCP client. Auto-deduplication, contradiction resolution, and stale cleanup included.

[!TIP] Why memmd?

  • One memory, every client — Claude Desktop, Cursor, Claude Code, OpenAI Codex share the same memory.md
  • Zero external dependencies beyond mcp — no embeddings, no API keys, fully offline
  • Deterministic, rule-based — no LLM calls for memory management
  • Human-readable memory.md — inspect and edit anytime

Features

  • Deduplication — fingerprint + Jaccard similarity merges near-identical entries
  • Contradiction resolution — detects conflicting facts, keeps latest, archives old
  • Structured categories — Work Context · Projects · Personal Preferences · Archive
  • Section-aware recall — filter by category, keyword search with scoring
  • Stale cleanup — auto-archives old, unused entries on summarize()
  • Korean support — category aliases, fact patterns (~는 ~), stopwords

Quick Start

Install and run

uvx memmd-mcp

Add to your MCP client

{
  "mcpServers": {
    "memmd": {
      "command": "uvx",
      "args": ["memmd-mcp"],
      "env": {
        "MEMMD_MEMORY_PATH": "/absolute/path/to/memory.md"
      }
    }
  }
}

[!NOTE] Config location by client:

  • Claude Desktop~/Library/Application Support/Claude/claude_desktop_config.json
  • Claude Code.claude/settings.json or user settings
  • Cursor~/.cursor/mcp.json
  • OpenAI Codex~/.codex/config.toml

Tools

Tool Description
remember(content, category?) Store with auto-dedupe and contradiction merge
recall(query) Search with keyword scoring and category filters
forget(id) Delete by ID
summarize() Category overview + stale entry cleanup

How It Works

remember

  • Dedupes by SHA-1 fingerprint and Jaccard similarity (>0.82)
  • Extracts facts from key: value, key = value, key is value, key는 value
  • On conflict: latest value wins, old entry archived with history

recall

  • Keyword search with token-overlap scoring
  • Filters: category:Projects API token, section:"Work Context" deploy
  • Korean aliases accepted (category:프로젝트)

summarize

  • Per-category summary of recent entries
  • Archives stale entries (default: >120 days, <3 accesses, no recent recall)

memory.md Format

# memory.md

<!-- memmd:version=1 -->

## Work Context
<!-- memmd-entry {...json...} -->
Memory content

## Projects
...

## Personal Preferences
...

## Archive
...

Environment Variables

Variable Default Description
MEMMD_MEMORY_PATH ./memory.md Path to memory file
MEMMD_STALE_DAYS 120 Days before stale cleanup (min: 7)

License

MIT

from github.com/matamong/memmd-mcp

Install Memmd in Claude Desktop, Claude Code & Cursor

Recommended · one command, every IDE
unyly install memmd-mcp

Installs into Claude Desktop, Claude Code, Cursor & VS Code — handles npx, uvx and build-from-source repos for you.

First time? Get the CLI: curl -fsSL https://unyly.org/install | sh

Or configure manually

Run in your terminal:

claude mcp add memmd-mcp -- uvx memmd-mcp

FAQ

Is Memmd MCP free?

Yes, Memmd MCP is free — one-click install via Unyly at no cost.

Does Memmd need an API key?

No, Memmd runs without API keys or environment variables.

Is Memmd hosted or self-hosted?

Self-hosted: the server runs locally on your machine via the install command above.

How do I install Memmd in Claude Desktop, Claude Code or Cursor?

Open Memmd on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.

Related MCPs

Compare Memmd with

Not sure what to pick?

Find your stack in 60 seconds

Author?

Embed badge for your README

Browse similar

All development MCPs