How I gave Claude, Cursor and Codex one shared memory in plain Markdown A student developer built Keepfold, an open-source local memory layer that lets AI apps including Claude Desktop, Claude Code, Codex CLI, Gemini CLI, Cursor, VS Code, Windsurf and LM Studio share a single folder of Markdown notes over MCP. The system stores notes and JSONL events as the source of truth in a git-backed Obsidian vault, with SQLite FTS5 plus local embeddings for search and derived study levels recomputed from the event log. The developer reports 15 GitHub releases in the first ten days and wraps note text in tags to blunt prompt injection, while acknowledging the defense does not make injection impossible. Every AI chat I opened started from zero, and every app started from zero again. I'm a student, I use several AI apps every day, and I kept re-explaining my projects, my stack and my decisions to each of them. So I built Keepfold: one memory folder on my own PC that all of them read from and add to, through MCP. This post is how it works, what broke while shipping it alone, and where other tools are the better choice. You install it, pick a folder and connect your AI apps one click each for Claude Desktop, Claude Code, Codex CLI, Gemini CLI, Cursor, VS Code, Windsurf, Antigravity and LM Studio . From then on: Here is what an AI app actually gets. In the sample vault, a made-up student types "Add a save command to my text adventure game". Before the model answers, Keepfold adds this shortened : Related - text-adventure — A small terminal game: rooms in a dict, one function per command. - functions — Functions - loops — Loops So the model starts out knowing how the game is built. With your own vault, the lines you pinned "Python 3.12, type hints, uv only" and the preferences that fit the message come first. Claude Code, Codex, Gemini CLI ── hook ──┐ Claude Desktop, Cursor, VS Code ── MCP ──┤ ▼ keepfold stdio MCP server │ ▼ vault: one folder, in git, opens in Obsidian Markdown notes + JSONL events = source of truth │ ┌──────────────────────┴───────────────┐ ▼ ▼ search: SQLite FTS5 levels, plan, dashboard: + local embeddings derived, rebuilt on demand A few choices that shaped everything else: keepfold undo