Open Memex logo

Open Memex

Stores AI coding-agent memories in local Markdown with SQLite search and shares them across editors through MCP.

Install Open Memex

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "open-memex": {
      "command": "npx",
      "args": [
        "-y",
        "open-memex",
        "mcp"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Claude Code command
claude mcp add --transport stdio open-memex -- npx -y open-memex mcp

Run in your terminal. Add --scope project to share it with your team through .mcp.json.

Automated check passed— started and listed 13 tools correctly ().

Overview

open-memex MCP server gives AI coding agents a local memory workflow built around Markdown files and a rebuildable SQLite FTS5 index. Its MCP tools cover memory status, submission, proposals, review promotion, conflict resolution, and pull-request review mapping. Reach for it when several editors need to use the same project and personal memories without sending data to a cloud service. Project memories can move through Git-based review, while personal memories remain on the local machine.

Use cases

  • Share project decisions across Cursor, VS Code, and Claude Code
  • Keep personal coding preferences separate from repository memories
  • Review and publish proposed memories through Git branches and pull requests
  • Resolve conflicting memory files with a three-way merge

Key features

  • Plain Markdown memory storage
  • SQLite FTS5 keyword indexing
  • Project and personal memory scopes
  • Synonym-aware deterministic search
  • Git-based memory review workflow
  • MCP tools for status, promotion, and conflict resolution

Tools13

What Open Memex lets your agent do. Expand a tool for its parameters.

Verified live~4.5k tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

13/13 checks healthy over the last 52d

What it can do

From the 13 tools this server returned when we ran it; 13 declare their own safety hints.

Can delete or modify data · 1Makes changes · 10Makes network requests · 1Read-only tools · 3
Network at startup3 connections
Files written at startup2
Install scriptspostinstall
npm provenanceNot published
Package age66 days
Maintainers1

Observed 2026-12-01 in an isolated sandbox. A description of reach, not a security audit.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 13d ago via OSV.dev · open-memex (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars6Stargazers on the source repository.
npm downloads4.7kPackage downloads in the last 30 days.
Last commit4d agoMost recent push to the default branch.
Availability100%Our rolling endpoint + install checks that succeeded.
Install checkPassedOur sandbox started it and listed its tools.
Tools exposed13Callable tools this server registers over MCP.
Directory activity10 viewsConfig copies, upvotes, and views on AllMCPs.

How Open Memex works

What open-memex does

open-memex provides persistent memory for AI coding agents across editor sessions. Memories are stored as individual Markdown files, with SQLite FTS5 acting as a rebuildable keyword-search index rather than the source of truth. The system supports two scopes: project memories for a repository and personal memories for information about the developer. Personal memories stay on the machine and cannot be shared into a repository.

The server is useful when an agent repeatedly needs the same project decisions, constraints, preferences, or lessons. Multiple supported editors on one machine can read and write the same memory collection instead of maintaining separate stores.

How it works

Agents interact with open-memex through MCP tools. New sessions receive guidance about available memory and pending work, while agents can use the memory tools to manage entries on demand. The MCP path provides workflow tools for editors such as VS Code, Cursor, Claude Code, and Codex-compatible clients.

Project sharing follows a review process rather than automatic publication. Personal memories can be proposed for a project as review candidates, then advanced through review states. Repository changes use a local branch and commit, allowing memory updates to follow a Git-based team workflow. Pull-request state can also be mapped onto the review state of individual memories.

Search is based on the SQLite FTS5 index and a curated synonym map indexed when memories are written. The index can be rebuilt from the Markdown files with the CLI. A derived knowledge graph connects memories through structural relationships such as supersession chains, tags, and explicit mentions.

Setup and configuration

Install the package globally with Node.js 22.14 or newer:

Terminal
npm install -g open-memex
open-memex init

The init command detects supported local editors and configures their connection. It can set up VS Code, Cursor, opencode, or Visual Studio when the project contains a solution file. Restart the editor after initialization. Run open-memex doctor to check the setup.

For a direct MCP configuration, use open-memex mcp --print-config. Claude Code can be connected with:

Terminal
claude mcp add open-memex -- open-memex mcp

Tools and capabilities

The exposed memory workflow includes:

  • memory_status: inspect the sync queue, draft outbox, repository review states, uncommitted files, and the D77 reuse report.
  • memory_submit: curate drafts, apply the deterministic tiering and batch decision, then move selected drafts into the repository memory directory with a local commit.
  • memory_propose: copy personal memories into project scope as candidates for review.
  • memory_promote: move candidates through approved and published states, or reject and resubmit them.
  • memory_resolve: list conflicted memory files and perform a three-way merge.
  • memory_pr_status: relate the branch pull request's GitHub state to memory review states.

Limitations and notes

MCP clients do not provide a hard session-start hook, so the standard MCP path relies on handshake guidance and editor instruction files for initial recall. The native opencode plugin is the path with built-in first-turn injection. Editors on different machines do not synchronize automatically. Sharing project memories requires an explicit review and Git workflow; nothing is shared automatically.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Open Memex

open-memex is an MCP server that connects AI coding agents and editors to local Markdown memories backed by a rebuildable SQLite FTS5 index. Its main tools report status, submit and propose memories, promote or reject candidates, resolve conflicts, and map GitHub pull-request state to memory reviews.

Install it globally with Node.js 22.14 or newer using `npm install -g open-memex`, then run `open-memex init`. The initializer detects supported editors and configures their connection; `open-memex doctor` checks the setup.

Yes, Cursor is supported through MCP. Run `open-memex init --client cursor` to configure it, then restart the editor. Cursor receives the MCP tools and uses guidance for session-start recall rather than a hard session hook.

Editors on the same machine share the same local Markdown memory files and SQLite search index. VS Code, Cursor, Claude Code, and other MCP clients can use the same project and personal scopes; different machines do not synchronize automatically.

Yes, personal memories remain on the local machine and cannot be shared into a repository. Project memories use repository scope and can be proposed, reviewed, and published through the Git-based workflow.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewOpen Memex AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/open-memex?style=directory)](https://allmcps.com/mcp/open-memex)
HTML Embed
<a href="https://allmcps.com/mcp/open-memex"><img src="https://allmcps.com/api/badge/open-memex?style=directory" alt="Open Memex on AllMCPs" /></a>