Cross-AI · Local-first · v0.3

Every AI you use.
One memory you own.

A local MCP that captures every word of your AI conversations on this machine — Claude Code, Cowork, OpenClaw, Cursor, Telegram — into one searchable index.

⚡ Install in 60 seconds

Copy the prompt → paste into Claude Code, Cursor, Cline, Continue or Zed → AI installs everything itself.

↓ or install manually

MIT · Survives provider bans by design · No cloud · No API keys

We solve two problems at once

Context is scattered

You discuss something important in one AI, continue in another, and a month later it just disappears.

Access is fragile

В феврале 2026 Anthropic одним указом отключил всех юзеров OpenClaw. В мае — целые компании overnight. Country policy блокирует компании с >50% владения RU/CN/IR/KP. IP проверяется на каждый запрос — VPN не спасает.

And even without bans, AI forgets every session.

Already banned?

Memex pulls your history back from local files.

Claude Code писал каждую сессию на твой диск в ~/.claude/projects/. Когда отключают API — файлы остаются. Memex вытащит их обратно и отдаст через MCP любому локально доступному AI — Llama, Qwen, или Claude через другой аккаунт.

Your year of work isn't lost. Just the access channel.

How it works

One folder. One database. Any agent can ask.

~/.claude/projects/ ← Claude Code sessions ~/Library/.../local-agent-mode ← Cowork sessions (incl. subagents) ~/.memex/inbox/ ← Telegram exports drop here memex-sync daemon · FSEvents · ~1.5s debounce ~/.memex/staging/ ← atomic tmp writes chokidar inbox watcher parser Claude JSONL / Cowork / Cursor / Obsidian / Telegram JSON SQLite + FTS5 ~/.memex/data/memex.db · UNIQUE(msg_id) dedup MCP server stdio JSON-RPC · 11 tools · proactive instructions any client: • Claude Code → ~/.claude/config.json • Cursor → ~/.cursor/mcp.json • Cline · Continue · Zed · ... your agent calls memex_overview() at session start, then memex_search() on every topic the user references — no prompting needed

Five gaps in native AI memory

Even ChatGPT Memory, Claude Memory (Pro/Max) and CLAUDE.md leave structural holes. memex closes all five.

Native AI memory
memex
Hard-walled per-project silos. Silos are useful by default — but Claude Memory locks them shut. When you actually need to recall a decision from a neighbouring project, there's no escape hatch. anthropics/claude-code #36561, #39195
Project-aware, not siloed. memex_search takes an optional project filter — by default it can search wide, when you scope it, it stays inside. The boundary is your choice on every query.
No bridge between Anthropic's own products. Web Claude can't see your Code sessions. Code can't see Cowork.
All Anthropic products + Cowork subagents — one searchable index.
No cross-AI memory by design. ChatGPT, Cursor, Cline, Continue, Zed, Telegram AI bots — every provider keeps its own silo.
Any MCP-compatible client reads the same memex memory through 11 standard tools.
Tied to one machine. Claude Code's history lives in ~/.claude/projects/ on whichever laptop you used. anthropics/claude-code #25739
Plain SQLite file. Sync via iCloud / Syncthing / rsync / git-annex — your choice.
Account dies → memory dies. Anthropic banned multiple orgs without warning in April 2026. Lose access — lose Memory + Projects + history. HN #47853021 · April 2026
The SQLite file on your laptop doesn't depend on any provider. Yours by architecture — not policy.

What it gives you

🔄

Live auto-capture

Daemon watches your Claude Code and Cowork directories via FSEvents. Every new session captured within ~1.5 seconds.

🎯

Proactive recall

Server-side instructions teach any connecting agent to call memex first — for any topic, name, or decision the user references.

🧠

Cross-session, cross-agent

Discussion in Cowork? Cursor sees it. Conversation in Claude Code? Continue can read it. Telegram chat with your AI bot? All searchable.

🌳

Subagent-aware

Cowork sessions spawn helper subagents. Their transcripts captured separately and linked to parent.

🔒

Survives any ban

Anthropic decides when Claude Memory disappears. memex doesn't. The SQLite file on your laptop doesn't care about TOS updates.

Two pieces, opt-in

MCP server (passive memory) installs with npm. Auto-capture daemon (live updates) installs separately. You decide.

Across devices

Memex lives on one machine — daemon catches local files, SQLite builds locally, MCP serves locally. Three patterns for multi-device today.

☁️

1. Sync the SQLite file

~/.memex/data/memex.db — обычный файл. Реплицируй через iCloud, Syncthing, rsync или git-annex. Daemon пишет на основной машине; остальные читают тот же файл через свой локальный memex MCP-сервер. Один writer, много readers — работает сегодня.

💻

2. Memex on each device

Установи memex отдельно на каждый ноут. Каждый строит свой корпус из локальных файлов. Нет синка, нет конфликтов — но память не унифицирована. Просто, надёжно, без облака.

📱

3. Mobile via Telegram bot

В roadmap'е (код написан). Пересылаешь сообщения или пишешь мысли в @memex_bot с телефона → бот пишет их как JSON в ~/.memex/inbox/ основной машины → индексируется автоматически. Голосовухи транскрибируются через Nexara API. Memex на телефоне не нужен.

iCloud sync setup (macOS)

Перемести memex data-директорию в iCloud-папку и укажи memex'у на неё:

# Option A — symlink ~/.memex/data into iCloud Drive
mv ~/.memex/data ~/Library/Mobile\ Documents/com~apple~CloudDocs/memex/data
ln -s ~/Library/Mobile\ Documents/com~apple~CloudDocs/memex/data ~/.memex/data

# Option B — point memex at iCloud path via env var
export MEMEX_DIR="$HOME/Library/Mobile Documents/com~apple~CloudDocs/memex"

Только один writer. Auto-capture daemon (memex-sync) запускай ровно на одной машине. Остальные устройства читают синхронизированный файл через свой локальный memex MCP-сервер — на них daemon не запускай. Параллельные writer'ы через filesystem sync могут корраптнуть WAL.

Roadmap (v0.5+): built-in multi-device CRDT sync without iCloud workarounds. Remote MCP over HTTPS+OAuth for VPS / cloud agents.

Privacy & Security

One file with all your AI conversations — sounds scarier than it is. Honest breakdown.

🔐

What memex does / doesn't

✅ Живёт только на твоей машине, никуда не звонит, без API-ключей, без network access. OS-level права на файлы — читает только твой user. ❌ Не шифрует БД, не редактирует секреты которые ты вставлял в чаты с AI, нет пароля на сам memex.

📦

Doesn't add risk — concentrates it

Твоя AI-история уже на диске в plain text — Claude Code JSONL, Cursor state.vscdb, Cowork-файлы, Obsidian markdown, Telegram local DB. Memex консолидирует их в один SQLite-файл. Те же данные, в одном месте вместо пяти. Attack surface не растёт — растёт видимость.

🛡️

Top recommendation: FileVault

На macOS: System Settings → Privacy & Security → FileVault → Turn On. Шифрует весь диск AES-256 на уровне OS. Без твоего пароля диск нечитаем — закрывает ~80% реалистичных угроз (украденный ноут, кража backup, malware без root). На Linux то же делает LUKS. Сделай это прежде чем волноваться про app-level шифрование.

We don't compete with the leaders

The memory market in 2026 is large and divided. Each product is good at its own thing.

memex Mem0 claude-mem ChatGPT Memory Anthropic Memory
Audience AI power user, own archive Devs building AI agents Solo dev in Claude Code Every ChatGPT user Every Claude user
What's stored Verbatim (raw) Extracted facts AI-compressed obs Vendor-controlled Filesystem
Where On your laptop Cloud / complex self-host On your laptop Vendor's cloud Vendor's cloud
Sources 5 (incl. Telegram) AI chats only Claude Code only ChatGPT only Claude only
API key needed Not needed + billing Not needed bundled bundled
Recovery after ban Reads from disk if cloud ~ Claude Code only
Cost $0 forever $19–249/mo $0 bundled bundled
Open source MIT Apache 2.0 MIT

When to choose what:

  • Mem0 — if you're building an AI agent for your users and need memory infrastructure
  • claude-mem — if you live in Claude Code and want it to remember projects between sessions
  • ChatGPT Memory / Anthropic Memory — if you only use one vendor and trust the cloud
  • memex — if you're at the intersection: multiple AI tools, no cloud, no subscription, archive must survive any scenario
And one more thing —

memex is MIT-licensed and not VC-funded. The code on GitHub IS the product — forkable, runnable forever, and impossible to quietly kill via acquihire.

Rewind/Limitless got bought by Meta and shut down their Mac app on December 19, 2025. Local-first tools die when their owners cash out.

Memex can't — there's no central owner to buy.

Install

Two paths. Pick the one that fits.

🤖 Easiest

Let your AI install memex for you

Already chatting with a CLI agent (Claude Code / Cursor / Cline / Continue / Zed) on your laptop? It installs memex in 2 minutes — clones the repo, wires the MCP config, turns on auto-capture. Web agents (ChatGPT, Claude.ai) can't do this — for them, use the manual install below.

Then paste into your AI agent's chat.
Install memex on this machine. Memex is a local-first AI memory tool — it captures my AI conversations across Claude Code, Cowork (including subagents), Cursor, Obsidian, and Telegram exports into a searchable SQLite index that any MCP-compatible agent can query through 11 standard tools. Repo: https://github.com/parallelclaw/memex-mvp

⚠ Prerequisite: this prompt only works if you are running INSIDE an AI agent that has direct access to my laptop's shell (terminal) — i.e. one of: Claude Code (CLI), Cursor, Cline, Continue, or Zed. Web-based agents (ChatGPT in browser, Claude.ai web, Claude Desktop without tools, etc.) cannot execute git/npm/file operations on my machine — for those, point me to the manual install at https://memex.parallelclaw.ai/#quickstart instead. If you are NOT a CLI-based agent with shell access, stop now and tell me to use the manual install path.

Do these five steps in order. Show each command before you run it. Stop and ask if anything fails or looks wrong.

1. Clone and install
   - Suggest a parent directory (default: ~/Documents). Confirm with me.
   - cd into that directory
   - git clone https://github.com/parallelclaw/memex-mvp
   - cd memex-mvp
   - npm install
   Verify: server.js exists; npm install completed without fatal errors.

2. Wire memex into my MCP client
   - You're running inside one of: Claude Code, Cursor, Cline, Continue, Zed.
     Tell me which one you've inferred and which config file you'll edit.
     Common locations:
       Claude Code  → ~/.claude/config.json (or platform-specific equivalent)
       Cursor       → ~/.cursor/mcp.json
       Cline        → VS Code settings.json (cline.mcpServers)
       Continue     → ~/.continue/config.json
       Zed          → ~/.config/zed/settings.json (context_servers)
     If unclear, ask me.
   - Read the existing config (if present). Show me a diff before saving.
   - First, get the ABSOLUTE path to the node binary — GUI apps (Cursor, Cline, Claude Desktop) on macOS often don't inherit shell PATH, so a bare "command": "node" fails with `spawn node ENOENT`. Especially true for nvm users (node lives at ~/.nvm/versions/node/<ver>/bin/node). Run:
     which node
     Capture that path. If it's a shim (e.g. ~/.asdf/shims/node) — also run `realpath $(which node)` to resolve to the real binary.
   - MERGE this entry into mcpServers — never overwrite other servers I have:
     {
       "mcpServers": {
         "memex": {
           "command": "<absolute node path from which node>",
           "args": ["<absolute path to memex-mvp/server.js>"]
         }
       }
     }
     Both paths must be absolute. Get the memex-mvp path from `pwd` inside the cloned directory.
   - If the config file doesn't exist, create the parent directory and write a minimal valid file with just memex.
   Verify: re-read the file after save; confirm memex entry is present and both `command` and `args[0]` are absolute paths.

3. Turn on live auto-capture (recommended)
   - From the memex-mvp directory: npx memex-sync install
   - Then npx memex-sync status — should print "daemon installed", "running (PID …)", "watching N sessions".
   Verify: status output shows a non-zero PID.

4. Backfill existing history (recommended on first install)
   - The daemon only catches NEW sessions going forward. To index everything already on disk, run:
     npx memex-sync scan
   - This walks ~/.claude/projects/, Cowork sessions, Cursor state.vscdb, and any configured Obsidian vaults once, ingesting whatever exists.
   - Optionally also: npx memex-sync backfill-projects — tags older conversations with their project_path so memex_list_projects works on them.
   Verify: after scan, npx memex-sync status shows a non-zero "ingested" count.

5. Tell me what to do next
   - Tell me to fully quit and reopen the MCP client (Cmd+Q on macOS) so it picks up the new memex tools.
   - After restart, suggest I try any of these:
     • "show me what memex has in memory" — triggers memex_overview
     • "what projects has memex captured" — triggers memex_list_projects
     • "search memex for [recent topic I worked on]" — triggers memex_search
   These confirm everything works end-to-end.

Safety rules — read these before starting:
- If `node` or `npm` aren't installed, stop and tell me to install Node.js (recommend nvm.sh). Don't try to install Node yourself.
- Never run rm, sudo, or anything destructive without explicit confirmation from me.
- Show every command before running it. If I say "no" or "stop", halt and explain.
- If a step fails, do NOT auto-retry or auto-fix — tell me what failed and ask how to proceed.
- When editing my MCP config, always preserve existing entries. If you can't merge cleanly, abort and tell me.

Begin by greeting me, asking which directory to clone into, and confirming which MCP client I'm using.
Установи memex на этой машине. Memex — это local-first AI memory tool: захватывает мои разговоры с AI в Claude Code, Cowork (включая субагентов), Cursor, Obsidian и Telegram-экспорты в поисковый SQLite-индекс, доступный любому MCP-совместимому агенту через 11 стандартных тулзов. Репо: https://github.com/parallelclaw/memex-mvp

⚠ Условие: этот промпт работает только если ты запущен ВНУТРИ AI-агента с прямым доступом к терминалу моего ноутбука — то есть Claude Code (CLI), Cursor, Cline, Continue или Zed. Web-агенты (ChatGPT в браузере, Claude.ai web, Claude Desktop без тулзов и т.п.) не могут выполнять git/npm/файловые операции на моей машине — для них направь меня к ручной установке на https://memex.parallelclaw.ai/#quickstart. Если ты НЕ CLI-агент с доступом к shell — остановись прямо сейчас и скажи мне использовать manual install.

Сделай эти пять шагов по порядку. Показывай каждую команду перед запуском. Останавливайся и спрашивай если что-то падает или выглядит не так.

1. Клонирование и установка
   - Предложи parent-директорию (по умолчанию: ~/Documents). Подтверди со мной.
   - cd в эту директорию
   - git clone https://github.com/parallelclaw/memex-mvp
   - cd memex-mvp
   - npm install
   Проверь: server.js существует; npm install прошёл без фатальных ошибок.

2. Подключи memex к моему MCP-клиенту
   - Ты запущен в одном из: Claude Code, Cursor, Cline, Continue, Zed.
     Скажи в каком ты и какой config-файл будешь править.
     Стандартные локации:
       Claude Code  → ~/.claude/config.json (или platform-specific эквивалент)
       Cursor       → ~/.cursor/mcp.json
       Cline        → VS Code settings.json (cline.mcpServers)
       Continue     → ~/.continue/config.json
       Zed          → ~/.config/zed/settings.json (context_servers)
     Если неясно — спроси меня.
   - Прочитай существующий config (если есть). Покажи мне diff перед сохранением.
   - Сначала определи АБСОЛЮТНЫЙ путь к node-бинарнику — GUI-приложения (Cursor, Cline, Claude Desktop) на macOS часто не наследуют PATH из shell'а, поэтому голое "command": "node" падает с `spawn node ENOENT`. Особенно если node поставлен через nvm (живёт в ~/.nvm/versions/node/<ver>/bin/node). Запусти:
     which node
     Запомни этот путь. Если это shim (например ~/.asdf/shims/node) — дополнительно выполни `realpath $(which node)` чтобы получить реальный бинарник.
   - СМЕРДЖИ эту запись в mcpServers — никогда не перетирай другие серверы которые у меня есть:
     {
       "mcpServers": {
         "memex": {
           "command": "<абсолютный путь к node из which node>",
           "args": ["<абсолютный путь к memex-mvp/server.js>"]
         }
       }
     }
     Оба пути должны быть абсолютными. Путь к memex-mvp получи через `pwd` внутри склонированной директории.
   - Если config-файла нет — создай parent-директорию и запиши минимальный валидный файл только с memex.
   Проверь: перечитай файл после сохранения; убедись что memex-запись на месте и оба пути (`command` и `args[0]`) абсолютные.

3. Включи live auto-capture (рекомендуется)
   - Из директории memex-mvp: npx memex-sync install
   - Потом npx memex-sync status — должен напечатать "daemon installed", "running (PID …)", "watching N sessions".
   Проверь: status показывает не-нулевой PID.

4. Backfill существующей истории (рекомендуется при первой установке)
   - Daemon ловит только НОВЫЕ сессии. Чтобы проиндексировать всё что уже на диске:
     npx memex-sync scan
   - Это один раз обходит ~/.claude/projects/, Cowork-сессии, Cursor state.vscdb, и любые сконфигурированные Obsidian-vaults, ингестируя что есть.
   - Опционально также: npx memex-sync backfill-projects — простит project_path старым conversation'ам чтобы memex_list_projects работал и на них.
   Проверь: после scan npx memex-sync status показывает не-нулевой "ingested" счётчик.

5. Скажи мне что делать дальше
   - Скажи мне полностью закрыть и переоткрыть MCP-клиент (Cmd+Q на macOS) чтобы он подхватил новые memex-тулзы.
   - После рестарта предложи попробовать любое из:
     • «покажи что memex видит в моей истории» — вызовет memex_overview
     • «какие проекты memex захватил» — вызовет memex_list_projects
     • «найди в memex [недавняя тема]» — вызовет memex_search
   Это подтверждает что всё работает end-to-end.

Правила безопасности — прочитай перед началом:
- Если `node` или `npm` не установлены — остановись и скажи мне поставить Node.js (рекомендую nvm.sh). Не пытайся ставить Node сам.
- Никогда не запускай rm, sudo или что-либо деструктивное без явного подтверждения от меня.
- Показывай каждую команду перед запуском. Если я говорю «нет» или «стоп» — останавливайся и объясняй.
- Если шаг падает — НЕ авто-ретрай, НЕ авто-фикс. Скажи что упало и спроси как продолжать.
- При редактировании моего MCP-config'a всегда сохраняй существующие записи. Если не можешь смерджить чисто — прерывайся и говори мне.

Начни с приветствия, спроси в какую директорию клонировать, и подтверди в каком MCP-клиенте я тебя запустил.
— or do it yourself —

Manual install — 4 steps, ~5 minutes

Each step shows where it happens. You only do this once.

📟 Terminal

1. Install memex

git clone https://github.com/parallelclaw/memex-mvp
cd memex-mvp
npm install

The third command prints a lot of text — that's normal, wait until it finishes.

📝 Text editor

2. Tell Claude Code where memex lives

Still in Terminal, get two absolute paths — memex location and your node binary location:

pwd          # → your-memex-path
which node   # → your-node-path

Open ~/.claude/config.json and paste — replace both placeholders with the actual paths:

{
  "mcpServers": {
    "memex": {
      "command": "your-node-path",
      "args": ["your-memex-path/server.js"]
    }
  }
}

Why absolute node path? GUI apps (Cursor, Cline, Claude Desktop) on macOS often don't see your shell PATH, so a bare "node" fails with spawn node ENOENT — especially with nvm. Always use the path from which node. Cursor, Cline, Continue, Zed have similar config files — same JSON shape.

📟 Terminal

3. Turn on auto-capture

npx memex-sync install

Small background process — catches every new Claude Code / Cowork session within ~1.5 seconds. Install once, forget it.

📟 Terminal

4. Verify

npx memex-sync status

Should print daemon running (PID …), watching N sessions. Restart the MCP client (Cmd+Q + reopen). Ask: «show me what memex has in memory» — that triggers memex_overview.

A year from now, you'll thank yourself.

Install → GitHub ★