Membase
One memory that Claude Code, Cursor, Codex, ChatGPT and your own agents read and write over MCP or an SDK.
by Membase · Built this? Edit this page on GitHub
In short
Membase keeps one memory that several AI tools and your own code can use. You add material: notes, files, Notion pages, chats saved by its browser extension, or facts and documents sent through its API. Each Memory, a named space for one topic, has an instruction saying what to keep, and a model reads new material in a run, on request or on a schedule, and keeps what the instruction asks for. Claude Code, Cursor, Codex, ChatGPT and other apps then search it over MCP, and your code through the SDKs. A local version answers the same API from your own machine.
Who it’s for
People who use several AI tools and want them to share one memory, and developers adding memory to their own agents and apps.
What it remembers
Standing facts drawn from your notes, files and chats, the documents themselves, and a profile of statements about you (name, role, lasting preferences). Locally, also photos, videos and audio.
- Memory lives
- Membase's cloud, or your own machine
- API keys
- A Membase account with a model for it (your own provider key, or a Claude or ChatGPT subscription); locally, your own model key (OpenAI by default)
- Works with
- Claude Code, Cursor, Codex, ChatGPT, Claude, Gemini CLI, Python & TypeScript SDKs, LangChain, Google ADK, Haystack, Strands Agents, Microsoft Agent Framework, Dify
- License
- Partly open sourceMIT for the SDKs, CLI and MCP server; the memory engine is a compiled package
- Price
- Free plan (1 GB, 50 assistant chat turns); Standard $9 and Pro $19 a month for more storage and no chat cap. Local: free, with your own model key.
Under the hood
- Who writes memories
- In the app, a model reads each Memory's new material in a run and keeps what its instruction asks for, and the assistant records profile facts as you chat. Your code, or an AI with a write key, can also save a fact or a document. Locally, a model splits each conversation by topic and writes timestamped episodes.
- Where they're kept
- In your account's own store on Membase's servers, split into Memories by topic. Locally, SQLite and FAISS files in ~/.membase.
- How they're found
- One search covers every Memory a key may read. Locally, keyword and vector search are fused by rank, then a model picks the evidence and can ask up to three rounds of follow-up queries.
- Extra AI calls
- Yes: model calls to learn new material and in each search (locally, one to three decider rounds per search), plus embeddings.
How it works
- 1Add materialNotes, files, Notion pages, saved chats, or facts and documents from the API.
- 2A run learns itA model reads what's new and keeps what the Memory's instruction asks for.
- 3SearchAn AI tool or your code searches every Memory it may read.
- 4Passages come backEach one names the Memory it came from.
What stands out
- One memory for many AI tools: each connected app gets a switch per Memory, so you choose what it can read.
- Each Memory has its own plain-language instruction for what to keep. Over your chats, it keeps what you asked, decided and adopted rather than a log of what the AI said.
- Search names the Memory each passage came from, and reports a Memory that didn't answer or was cut off by the limit.
- Publishes results it ran itself for the local engine on LoCoMo, LongMemEval_S and DMR, with a public harness.
What it doesn’t do
- Nothing fades and nothing comes back on its own: memory stays until you forget it, and it's read when an AI or your code searches.
- The docs describe no step that merges repeats or settles a contradiction between two memories. You correct an item yourself with Edit or Forget.
- New material isn't searchable the moment it's added: a run has to learn it first.
- Apps that connect by signing in can only read. Writing needs a developer key.
- The SDKs, CLI and MCP server are open source, but the memory engine ships compiled and the hosted service is closed.
Measured against human memory
0 built, 4 partly, 7 not of the Field Guide’s 11 mechanisms
Encoding
Salience
Decides what's worth keeping, and how much, as a memory is written.
A model keeps what each Memory's instruction asks for, written as a filter on your material. There's no importance score. source
Emotion
Gives memories written with feeling more weight.
No emotional weighting.
Storage
Forgetting
Lets unused memories fade over time on its own.
Nothing fades. A memory stays until you forget it or delete its Memory.
Interference
When a new memory closely matches an old one, notices and lets the newer one win.
The docs describe no step that spots a newer memory contradicting an older one.
Retrieval
Retrieval
Remembering something makes that memory stronger.
Being found in a search doesn't change a memory.
Association
Links memories, so recalling one brings its neighbours.
Memories aren't linked to each other. Each search finds passages on its own.
Prospective
Brings a memory back at the right time without being asked.
Nothing comes back on its own. Memory is read when an AI or your code searches it.
Transformation
Consolidation
Reworks memories between sessions: strengthening, merging, reorganising.
Runs read new material into a Memory. The docs don't describe them reworking what's already kept.
Reconsolidation
Corrects a memory when it's contradicted, and keeps what it used to say.
You can correct any item with Edit and the correction is kept, but keeping what it used to say isn't documented. source
Gist
Turns many specific moments into general knowledge.
A Memory over your chats keeps standing facts (what you asked, decided, adopted) drawn from many conversations, but as part of learning them, not a separate step. source
Schemas
Forms beliefs about people and projects, and weighs new facts against them.
A profile keeps standing statements about you (name, role, lasting preferences), each marked with where it came from, but new facts aren't weighed against it. source
Not every system is trying to be a human memory, so a hollow dot isn’t a flaw. It just says what the system doesn’t do. What the mechanisms are.
Membase’s makers haven’t shared what they’re building next, so only today shows here. Makers can add their roadmap the same way they correct an entry.
Compare Membase with the others, side by sideQuestions
- Who is Membase for?
People who use several AI tools and want them to share one memory, and developers adding memory to their own agents and apps.
- Where does Membase keep its memories?
Membase's cloud, or your own machine. In your account's own store on Membase's servers, split into Memories by topic. Locally, SQLite and FAISS files in ~/.membase.
- Does Membase forget?
Forgetting: not built. Nothing fades. A memory stays until you forget it or delete its Memory.
- Does Membase correct a memory when it turns out to be wrong?
Reconsolidation: a little (hosted app). You can correct any item with Edit and the correction is kept, but keeping what it used to say isn't documented. source
- Is Membase open source?
Partly open source. License: MIT for the SDKs, CLI and MCP server; the memory engine is a compiled package. Code: github.com/unibaseio/membase.
- Does Membase work with Claude Code?
Yes. Works with: Claude Code, Cursor, Codex, ChatGPT, Claude, Gemini CLI, Python & TypeScript SDKs, LangChain, Google ADK, Haystack, Strands Agents, Microsoft Agent Framework, Dify.
- Does Membase need an API key?
API keys: A Membase account with a model for it (your own provider key, or a Claude or ChatGPT subscription); locally, your own model key (OpenAI by default).
- How much does Membase cost?
Price: Free plan (1 GB, 50 assistant chat turns); Standard $9 and Pro $19 a month for more storage and no chat cap. Local: free, with your own model key.