Membase

ai.membase由 membase.ai 发布v1.0.1更新于 Oct 24, 2026

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

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

概览

AI 生成的概览

Membase 是托管式长期记忆层,让助手跨 AI 工具搜索、读取、添加和管理共享记忆、文档与个人资料。

可以做什么
  • 搜索记忆并对其提问
  • 读取用户资料与记忆容器
  • 添加事实、文档、网页以及导入的聊天记录
  • 用容器整理记忆,并删除应遗忘的条目
  • 让 Claude Code、Cursor、Codex、ChatGPT 与 SDK 客户端共用同一份记忆
适用场景
当你希望助手跨会话、跨不同 AI 工具记住事实、决策和文档,而不必每次切换模型或客户端都重新说明背景时使用。
运行要求
通过 streamable HTTP 连接 api.app.membase.com 的远程端点,使用 OAuth 登录。需要 Membase 账户;完整访问需在请求头中提供 MEMBASE_API_KEY 的 Bearer 令牌。清单未声明环境变量或请求头。
安装前请注意
记忆保存在 Membase 账户中,并对所有已连接的 AI 可见,因此添加的内容可能被其他客户端读取。托管连接若不带 Bearer 请求头则为只读。添加、导入和遗忘操作会修改已存数据。Claude 或 ChatGPT 的聊天导出可能包含敏感内容。

安装

在 SourceWeft 中

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

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

交给智能体安装

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

阅读 https://sourceweft.com/mcp/ai.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. Containers keep projects apart; search it, ask it 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.", container="Engineering")m.search("what database is the ledger on?")m.add("Design notes …", container="Engineering", custom_id="design-1")   # a documentm.ask("Which database did we choose for the ledger?")

Every method, its REST route and MCP tool, and the access it needs: SDK reference. 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" --container Engineeringmembase --local search "what did we pick for the ledger?"membase --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 (local only, with its own search and ask) needs unibaseio-membase[media]: see Media memory.

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.

Docs

License

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

来源:README.md,提交 94b2d3e

工具

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

版本历史

2
  1. v1.0.1最新Oct 20, 2026
  2. v1.0.0Oct 14, 2026

评分

已满足适用检查项的 85%

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

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

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

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