/ 目錄 / 演練場 / Memsearch
● 官方 zilliztech ⚡ 即開即用

Memsearch

作者 zilliztech · zilliztech/memsearch

跨 Claude Code、OpenClaw、OpenCode、Codex 的統一語意記憶——Markdown 原始檔案,Milvus 支援的檢索。

Memsearch 是 Zilliz 的持久 agent 記憶外掛/skill。檔案為純 Markdown,你可以讀取/編輯;Milvus 提供語意搜尋層。支援多個 agent 執行環境。

為什麼要用

核心特性

即時演示

實際使用效果

就緒

安裝

選擇你的客戶端

~/Library/Application Support/Claude/claude_desktop_config.json  · Windows: %APPDATA%\Claude\claude_desktop_config.json
{
  "mcpServers": {
    "memsearch-skill": {
      "command": "git",
      "args": [
        "clone",
        "https://github.com/zilliztech/memsearch"
      ],
      "_inferred": true
    }
  }
}

開啟 Claude Desktop → Settings → Developer → Edit Config。儲存後重啟應用。

~/.cursor/mcp.json · .cursor/mcp.json
{
  "mcpServers": {
    "memsearch-skill": {
      "command": "git",
      "args": [
        "clone",
        "https://github.com/zilliztech/memsearch"
      ],
      "_inferred": true
    }
  }
}

Cursor 使用與 Claude Desktop 相同的 mcpServers 格式。專案級設定優先於全域。

VS Code → Cline → MCP Servers → Edit
{
  "mcpServers": {
    "memsearch-skill": {
      "command": "git",
      "args": [
        "clone",
        "https://github.com/zilliztech/memsearch"
      ],
      "_inferred": true
    }
  }
}

點擊 Cline 側欄中的 MCP Servers 圖示,然後選 "Edit Configuration"。

~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "memsearch-skill": {
      "command": "git",
      "args": [
        "clone",
        "https://github.com/zilliztech/memsearch"
      ],
      "_inferred": true
    }
  }
}

格式與 Claude Desktop 相同。重啟 Windsurf 生效。

~/.continue/config.json
{
  "mcpServers": [
    {
      "name": "memsearch-skill",
      "command": "git",
      "args": [
        "clone",
        "https://github.com/zilliztech/memsearch"
      ]
    }
  ]
}

Continue 使用伺服器物件陣列,而非映射。

~/.config/zed/settings.json
{
  "context_servers": {
    "memsearch-skill": {
      "command": {
        "path": "git",
        "args": [
          "clone",
          "https://github.com/zilliztech/memsearch"
        ]
      }
    }
  }
}

加入 context_servers。Zed 儲存後熱重載。

claude mcp add memsearch-skill -- git clone https://github.com/zilliztech/memsearch

一行命令搞定。用 claude mcp list 驗證,claude mcp remove 移除。

使用場景

實戰用法: Memsearch

跨多個程式碼 agent 共享記憶

👤 Claude Code 使用者 ⏱ ~15 min intermediate

何時使用: 你同時使用 Claude Code 和 Codex,並希望有單一記憶來源。

步驟
  1. 安裝
    /plugin install memsearch(或 pip 安裝)。✓ 已複製
    → 外掛啟用
  2. 初始化
    memsearch config init。✓ 已複製
    → 設定已儲存
  3. 使用
    從任何 agent 執行環境 remember/recall。✓ 已複製
    → 共享記憶

結果: 記憶跨 agent 持續——無需重新解釋。

組合

與其他 MCP 搭配,撬動十倍槓桿

memsearch-skill + arscontexta

使用 Ars Contexta 的架構作為 memsearch 來源

結合 memsearch-skill 與 arscontexta:使用 Ars Contexta 的架構作為 memsearch 來源✓ 已複製

工具

此 MCP 暴露的能力

工具輸入參數何時呼叫成本
remember / recall / search (詳見文件) 三種流程 1 次呼叫

成本與限制

運行它的成本

API 配額
本機 + Milvus
每次呼叫 Token 數
召回較小
費用
免費開源
提示
在本機 Docker 中執行 Milvus;個人使用無需雲端

安全

權限、密鑰、影響範圍

憑證儲存: Markdown + Milvus 資料庫
資料出站: 預設為本機 Milvus

故障排查

常見錯誤與修復

召回缺失

重新索引;或縮小區塊大小

替代方案

Memsearch 對比其他方案

替代方案何時用它替代權衡
stash-mcp你需要輕量的 Go 二進位檔無 Milvus 規模

更多

資源

📖 閱讀 GitHub 上的官方 README

🐙 查看未解決的 issue

🔍 瀏覽全部 400+ MCP 伺服器和 Skills