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 整合