Membase

com.membase由 membase.com 发布官方发布者v1.0.1更新于 Nov 7, 2026

Long-term memory for you and your AIs: search memories, read the profile, add facts and documents.

已验证Streamable HTTP可网页运行知识与记忆AI 与机器学习

概览

AI 生成的概览

Membase 是托管式长期记忆层,让 AI 助手搜索已存记忆、读取用户画像,并添加可在多个工具间共享的事实与文档。

可以做什么
  • 搜索记忆并针对记忆内容提问
  • 添加事实、文档、网页以及导入的聊天记录
  • 读取用户画像事实,列出密钥可访问的记忆
  • 按项目组织记忆,并删除应当遗忘的条目
  • 在本地版本中导入并搜索照片、视频等媒体
适用场景
适合在多个模型或编程工具之间切换时,让它们共享同一批事实、项目笔记和文档,不必反复解释背景。也适合需要一个可被助手查询的个人或项目记忆库的场景。
运行要求
通过 streamable HTTP 连接 api.app.membase.com 远程端点,使用 OAuth 登录,需要 Membase 账户。托管连接也可使用 Bearer API 密钥(MEMBASE_API_KEY)获得读写权限。本地与媒体版本为 Python 包,需要 Python 3.10+(本地版为 3.12/3.13),本地版还需 OPENAI_API_KEY。
安装前请注意
托管连接不带密钥时仅登录且为只读,写入需要具备写入目标的密钥。添加记忆会把事实、文档和聊天记录发送到 Membase 服务器。删除需要显式确认;密钥可访问多个记忆时需用 MEMBASE_WRITE_TARGET 指定写入位置。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Membase,将其添加到工作区。
  2. 连接 所需的 凭据。它们会被私密存储,绝不会在公开页面上展示。
  3. 为需要使用其工具的对话启用该服务。

Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。

交给智能体安装

把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。

阅读 https://sourceweft.com/mcp/com.membase%2Fmembase/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。

查看智能体所依据的安装指南

其他 MCP 客户端

把它添加到你客户端的 mcpServers 配置中。 客户端会在首次连接时完成 OAuth 登录。

{
  "mcpServers": {
    "membase": {
      "type": "http",
      "url": "https://api.app.membase.com/mcp-http"
    }
  }
}

README

[Membase]

Membase

One memory. Every AI. Only yours.
Teach it once. Every AI remembers.

[PyPI] [npm] [MIT]

Website · Docs · Web app · Discord · X

[Add sources, manage one memory, use it from every AI and app]

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.

  • Add. Facts, documents, web pages and chat exports from Claude or ChatGPT go into one memory.
  • Manage. Memories keep projects apart; search them, ask them questions, forget what should go.
  • Use. Your code, Claude Code, Cursor, Codex and ChatGPT read the same memory through the SDK or MCP.

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].

Write once, read from any AI

[Your app writes a memory; any AI reads it, here Claude Code]

Recordings: Python SDK (57 s) · Claude Code (1 min 33 s). The answer above is illustrative.

Accuracy

[LoCoMo 93.1%, LongMemEval_S 92.6%, DMR 92.2%]

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

Quickstart

[Hosted, local in process, or local over HTTP]

bash
pip install unibaseio-membase              # hosted · Python 3.10+ · needs MEMBASE_API_KEYpip install 'unibaseio-membase[local]'     # local  · Python 3.12 or 3.13 · needs OPENAI_API_KEYpip install 'unibaseio-membase[media]'     # local + photos, videos and audionpm install @unibaseio/membase              # TypeScript · Node 18+npm install -g @unibaseio/membase-cli       # the `membase` command (hosted) without Python
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 factm.search("what database is the ledger on?")                    # {"items": [...], "partial": [...]}m.add("Design notes …", custom_id="design-1")                   # a documentm.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.

Command line

bash
membase --local add "We picked Postgres for the ledger"membase --local search "what did we pick for the ledger?"membase --local memories listmembase --local ask "Which database is the ledger on?"membase --local import ~/Downloads/claude-export.json     # Claude, ChatGPT, markdown or JSON chatsmembase --local agent ingest trace.json --agent codermembase --local agent search "fix flaky deploy" --agent codermembase --local media add ~/Movies/trip.mp4                # shots, speech and speakersmembase --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.

MCP

[MCP clients, hosted or local server, same tools]

bash
claude mcp add membase -- membase --local mcp                                   # localclaude 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):

bash
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.

Docs

License

MIT; see LICENSE. unibaseio-membase[local] also installs unibaseio-membase-core, the compiled engine, under its own Unibase license.

来源:README.md,提交 ae41a32

工具

0
该服务器需要登录,因此 SourceWeft 无法在没有账号的情况下读取其工具,也未收录。已连接账号所能看到的内容可能因账号及其权限而异。

版本历史

1
  1. v1.0.1最新Nov 7, 2026

评分

已满足适用检查项的 85%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通必需25 分
  • 已声明认证方式必需10 分
  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分

其他 Membase 集成