memmd-mcp

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.

Category
Visit Server

README

memmd-mcp

English | 한국어

PyPI License Python

<p align="center"> <img src="assets/memmd-mcp.webp" alt="memmd-mcp" width="600"> </p>

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

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured