All apps
LiveDeveloper ToolsOpen source

Membrain

One memory, every AI.

Membrain icon

§01 — About

Membrain is a self-hosted memory ledger for you and your AI agents. You write to it from a paper-and-ink web UI; Claude, Cursor and any MCP client read and write the same store, so what one agent remembers, all of them know. Everything lives in a single SQLite file on your machine. Hybrid semantic plus keyword search runs on a local embedding model, a local Ollama (or any cloud key) organizes the store into topics, drafts titles and distills dropped PDFs into reviewed entries, and every AI edit is staged for your approval before it touches the ledger. No accounts, no cloud, no telemetry.

§02 — Features

8 included

  • 01

    Shared memory over MCP: eight tools including a one-call session-start digest

  • 02

    Hybrid recall: sqlite-vec + FTS5 with reciprocal rank fusion and a recency boost

  • 03

    Local-first AI via Ollama, or paste a key for OpenAI, Claude, OpenRouter and NVIDIA

  • 04

    Every AI change staged for review; imports become candidate entries you approve

  • 05

    Knowledge map of the people, projects and tools in your store

  • 06

    Manages agent skills on disk and imports pre-existing agent memory, hash-tracked

  • 07

    Snapshot on every boot plus portable JSON export and import

  • 08

    One command install: npx membrain-mcp opens the ledger in your browser

§03 — Built with

Node.jsTypeScriptFastifySQLitesqlite-vecMCPReactOllama