
Store and retrieve entities, relations and observations in a persistent local knowledge graph.

Membase provides one memory for AI agents that code, AI tools and apps can share, accessed through the Python and TypeScript clients, a command line, and an MCP server available locally or hosted.
Membase memory layer with a local and hosted MCP server is cataloged as an MCP server attributed to unibaseio. Membase provides one memory for AI agents that code, AI tools and apps can share, accessed through the Python and TypeScript clients, a command line, and an MCP server available locally or hosted. It is categorized under ai agents-models. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.
Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.
Catalog license label: MIT. Check the source repository's current license and terms before using, modifying or distributing this software.
Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.
No reviewed records to display. This does not establish that upstream lacks this capability.
No reviewed records to display. This does not establish that upstream lacks this capability.
No reviewed records to display. This does not establish that upstream lacks this capability.
Email delivery is not connected. This page does not collect email addresses or create subscriptions.
Browse the registry for current listings instead.
Reviews for Membase memory layer with a local and hosted MCP server are not available yet
Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.
The connection signs the user in and is read-only.
Yes, memories can be stored on your machine with the local installation option, and local memory answers the same routes with the same shapes.
README.md · 59100235fa91 · Fetched 2026-11-13 09:54:01 UTC
Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.
Showing the last retrieved documentation snapshot; check the source for current changes.
One memory. Every AI. Only yours.
Teach it once. Every AI remembers.
Website · Docs · Web app · Discord · X
Membase is the memory layer for AI agents. It keeps one memory for everything you and your agents know, and every AI you use reads it. You stop re-explaining yourself each time you switch models or tools.
This repository is the developer side: Python and TypeScript clients, the membase command line
and an MCP server. The memory lives in your Membase account, which the
web app and browser extension also fill, or on your machine with
unibaseio-membase[local].
Recordings: Python SDK (57 s) · Claude Code (1 min 33 s). The answer above is illustrative.
93.1% on LoCoMo, 92.6% on LongMemEval_S and 92.2% on DMR, using about 3× fewer tokens than the full history on LoCoMo and 11× fewer on LongMemEval_S. Method and results: membase.com/research
pip install unibaseio-membase # hosted · Python 3.10+ · needs MEMBASE_API_KEY
pip install 'unibaseio-membase[local]' # local · Python 3.12 or 3.13 · needs OPENAI_API_KEY
pip install 'unibaseio-membase[media]' # local + photos, videos and audio
npm install @unibaseio/membase # TypeScript · Node 18+
npm install -g @unibaseio/membase-cli # the `membase` command (hosted) without Python
from membase import Membase
m = Membase() # hosted
# m = Membase(local=True) # local, in ~/.membase
m.memories.add("We picked Postgres for the ledger service.") # a fact
m.search("what database is the ledger on?") # {"items": [...], "partial": [...]}
m.add("Design notes …", custom_id="design-1") # a document
m.profile_facts.list() # who the user is (Your profile ticked)
m.capabilities() # what this key may do, and the rules
No call names a Memory: reads cover every Memory the key reaches, and writes land in its write
target (a key that reaches several Memories and has none is refused with WriteTargetRequiredError).
Ids are typed (mem_… a fact, doc_… a document, med_… a photo or video), lists are
{items, has_more, partial}, and a removal without confirm=True raises ConfirmationRequiredError.
Local memory answers the same routes with the same shapes.
Every method, its REST route and MCP tool, and the access it needs: SDK reference.
Upgrading from 0.3: see the changelog.
The Python package is unibaseio-membase (import membase); membase on PyPI is unrelated.
membase --local add "We picked Postgres for the ledger"
membase --local search "what did we pick for the ledger?"
membase --local memories list
membase --local ask "Which database is the ledger on?"
membase --local import ~/Downloads/claude-export.json # Claude, ChatGPT, markdown or JSON chats
membase --local agent ingest trace.json --agent coder
membase --local agent search "fix flaky deploy" --agent coder
membase --local media add ~/Movies/trip.mp4 # shots, speech and speakers
membase --local media search "someone skiing" # any language
Without --local (or --store DIR, both before the command) commands use the hosted API; agent,
import and serve need unibaseio-membase[local], and media add and media ask (local only)
need unibaseio-membase[media]: see Media memory. A local store
with several Memories writes where MEMBASE_WRITE_TARGET names.
claude mcp add membase -- membase --local mcp # local
claude mcp add --transport http membase https://api.app.membase.com/mcp-http \
--header "Authorization: Bearer $MEMBASE_API_KEY" # hosted
Hosted without the header, the connection signs you in and is read-only. Setup for Claude, ChatGPT, Cursor, Codex and other clients: Connect your AI.
Gemini CLI, as an extension (it signs you in on first use; /mcp auth membase signs in again):
gemini extensions install https://github.com/unibaseio/membase
Cline: add the server to cline_mcp_settings.json; llms-install.md has the
entry, with and without a developer key.
membase serve, settingsMIT; see LICENSE. unibaseio-membase[local] also
installs unibaseio-membase-core, the compiled engine, under its own Unibase license.
Claim this server with your GitHub account to request manual ownership verification.
Link to the catalog listing for Membase memory layer with a local and hosted MCP server from your README. This badge does not certify ownership, compatibility or security.
[](https://awesome-mcp.com/servers/membase-mcp)Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.
Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.
No reviewed package or image identity; download statistics are not listed yet.
Alternative and complementary servers in the same category

Store and retrieve entities, relations and observations in a persistent local knowledge graph.

Organize problem solving into revisable, branching thought steps through an MCP tool.

Query-aware context compression with an MCP plugin for coding agents, plus Python and HTTP interfaces for reducing the context sent to a language model.