Recall

io.github.RecallWorks由 GitHub 账号 RecallWorks 发布v0.5.2更新于 Oct 24, 2026

Open-source MCP memory server. Persistent, searchable, tiered memory across sessions.

已验证STDIO仅桌面知识与记忆开发者工具

概览

AI 生成的概览

Recall 是一个本地开源 MCP 记忆服务器,让 AI 助手在多次会话之间拥有持久、可搜索的记忆。

可以做什么
Recall 把记忆、决策、检查点和反模式保存到磁盘,并允许助手之后进行语义检索。它可以为文件和文档建立索引以实现本地 RAG,返回答案及其来源片段,并能从只追加的产物重建向量索引。它还提供 claim、release、who_has、handoff、pulse_others 等协调原语,供多个代理共享同一存储。
适用场景
当你希望助手在会话之间记住项目背景、约定和决策,又不想使用托管记忆服务时,适合使用。它也适合多个代理同时处理同一代码库、需要建议性锁和交接的团队。单用户可以不使用协调工具。
运行要求
作为本地 stdio MCP 服务器运行,从 PyPI 安装(pip install ai-recallworks[mcp])并在 MCP 客户端中配置。默认不需要 API 密钥或外部服务,嵌入在本地离线运行。可选的 Docker/HTTP 部署使用 API_KEY 环境变量和 X-API-Key 请求头,也可通过环境变量配置 OpenAI 或 Ollama 嵌入与摘要模型。
安装前请注意
记忆写入本机的 ~/.recall/,因此存储的内容会持久保留并可能被索引。HTTP 部署示例使用 API_KEY 和 X-API-Key,暴露服务前请更换占位值。forget 是软归档,删除的记忆可以被恢复而非彻底清除。可选的 OpenAI 或 Ollama 嵌入会把内容发送给这些服务。项目处于 alpha 阶段,可能出现破坏性变更。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Recall,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

Recall™

A better memory server for AI agents — works for one, scales to many. Local, free, zero-config, MCP-native. Your data stays on your machine.

[Tests] [Docker] [PyPI] [npm] [License: MIT] [Python 3.11+] [MCP] [Container]

Quickstart · vs. mem0/Letta/Zep · Multi-agent · Recall Pro → · Book a demo

Without a memory server, every Claude / Copilot / Cursor conversation starts cold. You re-explain the codebase, the conventions, the decisions, the gotchas — every time. Recall fixes that.

Start here: what Recall does for one developer, one AI

Install it once, point your MCP client at it, and your AI now:

  • Remembers across sessions — "what did we decide about the auth flow last week?" returns the actual decision, not a hallucination
  • Indexes your code and docs — index_file + recall = local semantic RAG over your repo
  • Cites where the answer came from — answer returns text plus the chunks it pulled from
  • Builds project knowledge — every checkpoint, reflect, and anti_pattern becomes searchable later
  • Survives restarts — append-only artifacts on disk, vector store rebuildable from them

One pip install, one config block, done. No API key. No external service. No per-token bill. MIT license. This is what 95% of users will ever use Recall for.


How is this different from mem0 / Letta / Zep?

Recall does the same job they do — persistent memory across AI sessions, semantic recall, "remember what the user said last week." The difference is where and how:

mem0 / Letta / ZepRecall
Where memory livesTheir cloudYour ~/.recall/
API key requiredYesNo
CostPer-token / monthly SaaSFree
EmbeddingsTheir serviceLocal ONNX (offline)
Network callsEvery recallZero
Air-gappableNoYes
MCP-nativeWrapper or SDKBuilt on MCP
Multi-agent coordinationNone6 primitives

If you're happy paying a hosted memory provider per token, those are great products and you don't need Recall. If you'd rather your AI's memory live on your laptop or your own server, free and offline, that's what Recall is for.


Scaling up: coordination when you run more than one agent

The same install that gives one developer a personal AI memory also works as a shared brain when more than one agent talks to it. Two Copilot windows. A planner + executor pair. Three Claude instances dividing up a refactor. A pre-commit agent and a code-review agent on the same PR. They all remember and recall from the same store.

That introduces a new problem none of the hosted memory services have even tried to solve: agents stepping on each other. Agent A starts refactoring src/auth.py. Agent B, in another window, rewrites the same file with no idea A is mid-edit. Whoever saves last wins. The other agent's work is gone.

Recall ships six MCP primitives that turn parallel agents from a clobber-fest into a coordinated team:

ToolWhat it does
claim(resource, agent)Soft-lock a file/table/URL with an auto-expiring TTL
release(resource, agent)Drop the lock (soft-archive — audit trail survives)
who_has(resource)"Is anyone editing src/foo.py right now?"
claims()All active locks across all agents
handoff(to_agent, ...)Explicit work transfer with intent + files + context
pulse_others(self_agent)The N most recent checkpoints from agents other than you

Claims are advisory (like git locks) — Recall doesn't physically stop a second agent from writing, but every well-behaved client checks first. TTLs prevent a crashed agent from freezing a resource forever. Releases soft-archive (per the project-wide delete=archive rule) so the audit trail of who held what when survives.

If you're a single user, these tools just sit there unused. If you ever scale up to multiple agents, they're already there.

text
   ┌──────────────┐                           ┌──────────────┐   │  Agent a3f7  │      claim(file, ttl)     │  Agent b1c4  │   │  Claude #1   │ ───────────┐  ┌─────────► │  Claude #2   │   └──────┬───────┘            ▼  │           └──────┬───────┘          │              ┌────────┴───────┐          │          │   remember   │     Recall     │   pulse  │          ├────────────► │ • shared memory│ ◄────────┤          │              │ • claims/locks │          │          │   handoff    │ • handoffs     │  handoff │          ├────────────► │ • who_has      │ ◄────────┤          │              └────────────────┘          │          ▼                                          ▼       22 MCP tools — Copilot, Claude, Cursor, custom

22 MCP tools total — 16 memory tools every user gets, plus the 6 coordination primitives that activate when you scale up.


One-line install (Claude Desktop, VS Code, Cursor)

Recall ships as a stdio MCP server. Zero config — no API keys, no Docker, no ports. Memory lives in ~/.recall/.

bash
pip install "ai-recallworks[mcp]"

Then add Recall to your MCP client config:

Claude Desktop (~/Library/Application Support/Claude/claude_desktop_config.json on macOS, %APPDATA%\Claude\claude_desktop_config.json on Windows):

json
{  "mcpServers": {    "recall": {      "command": "recall-mcp"    }  }}

VS Code (mcp.json in your workspace or user settings):

json
{  "servers": {    "recall": {      "command": "recall-mcp"    }  }}

Restart the client. Your agent now has persistent memory across sessions. Embeddings run fully offline (Chroma's bundled all-MiniLM-L6-v2). Upgrade to Ollama / OpenAI / Voyage embeddings via env vars when you want.


Five-minute install (HTTP / multi-user / team)

1. Run the server:

bash
docker run -d --name recall \  -p 8787:8787 \  -e API_KEY=changeme \  -v recall-data:/data \  ghcr.io/recallworks/recall:latest

2. Talk to it — pick your stack:

bash
# Raw HTTP (any language)curl -H "X-API-Key: changeme" \     -H "Content-Type: application/json" \     -d '{"content":"first memory","tags":"hello"}' \     http://localhost:8787/tool/remember
python
# Python (use requests/httpx — no SDK pkg needed)import requestsh = {"X-API-Key": "changeme", "Content-Type": "application/json"}requests.post("http://localhost:8787/tool/remember", headers=h,              json={"content": "first memory", "tags": "hello"})print(requests.post("http://localhost:8787/tool/recall", headers=h,                    json={"query": "memory"}).json()["result"])
ts
// TypeScript / JavaScript (Node 18+, Bun, Deno, browser)npm install @recallworks/recall-client
import { RecallClient } from "@recallworks/recall-client";const c = new RecallClient({ baseUrl: "http://localhost:8787", apiKey: "changeme" });await c.remember("first memory", { tags: "hello" });console.log((await c.recall("memory")).result);

Full walkthrough: docs/quickstart.md.


What you get

  • 13 tools — remember, recall, reflect, anti_pattern, checkpoint, pulse, session_close, index_file, reindex, snapshot_index, memory_stats, forget, maintenance.
  • Two transports — plain HTTP (POST /tool/{name}) and MCP over SSE. Drop into Copilot, Claude Code, Cursor, or any MCP client.
  • Bring your own models — pluggable embedder (default / OpenAI / Ollama) and summarizer (noop / OpenAI / Ollama). Run fully offline, fully on-prem, or against your own Azure-OpenAI tenant. See docs/byo-models.md.
  • Durable by default — ephemeral live store with auto-snapshot to disk; container restarts come up whole.
  • Append-only artifacts — every write also lands as a .md file. If the vector store ever burns down, reindex rebuilds it from the artifacts.
  • forget is soft-archive — guardrail wired into the OSS code itself, not bolted on as policy. Memory you delete can be recovered.

How it's different

RecallMem0 / Letta / Zep
License (core)MITmixed; SaaS-first
Self-hostone docker runvaries, often non-trivial
BYO embedderdefault / OpenAI / Ollama (env var)usually fixed
BYO LLMnoop / OpenAI / Ollama (env var)usually fixed
Storage modelappend-only artifacts + vector index, rebuildablelive DB only
deletesoft-archive by designhard delete
Tool surface13 opinionated tools (memory + workflow)embedding + retrieval primitives
MCP-nativeyes, plus plain HTTPpartial / via wrapper
Ops modelsingle binary, single containermulti-service stack

If you want a managed service, see Recall Cloud below. If you want a brain you fully own, this OSS core is enough.


Repo layout

PathWhat
src/recall/OSS server (MIT)
src/recall/tools/One module per tool
src/recall/transport/HTTP + MCP/SSE adapters
docker/single-tenant/Reference Dockerfile + compose
tests/pytest suite (no Docker required)
docs/Quickstart, conventions, architecture
enterprise/Multi-tenant, SSO, control plane (BSL)

Conventions

These are the practices that make the tools pay off. Pick what fits.

  • Cold-start ritual — opening protocol every session should run.
  • Branding — signed-edit headers so you can trace which agent touched which file when.

Status

Alpha. The code in src/recall/ is extracted from a hosted production brain that has served thousands of sessions, then sanitized of org-specific paths, extensions, and tenant data. Expect breaking changes before 1.0; pin the image tag.


Contributing

Yes — please read CONTRIBUTING.md first. We accept bug fixes, new Store backends, doc improvements, and anti-pattern entries. We don't accept architectural rewrites without prior discussion.

Security issues: see SECURITY.md.


License

  • src/recall/, clients/, docker/single-tenant/, docs/, examples/ — MIT (LICENSE)
  • enterprise/ — BSL 1.1, 5-seat additional-use grant, converts to MIT after 3 years (LICENSE-COMMERCIAL.md)

Recall Open Source vs. Recall Pro vs. Hosted

CapabilityOSS (this repo)Recall ProRecall Cloud
Single-tenant Docker image✅✅n/a (hosted)
13 memory tools, MCP + HTTP✅✅✅
BYO embedder + LLM✅✅✅
Append-only artifacts + auto-snapshot✅✅✅
Multi-tenant, SSO, RBAC—✅✅
Audit log + retention policy—✅✅
Cross-session entity graph—✅✅
PII sanitization pipeline—✅✅
Snapshot replication / DR—✅✅
Vendor support + SLAcommunitybusiness hours24×7
Hosted on our infra——✅
Pricingfreefrom $99/mo per nodefrom $0.10 per 1k tools

Recall Pro ships from the enterprise/ tree under a Business Source License — source-available, 5-seat free Additional Use Grant, converts to MIT after 3 years. Buy a license and the enterprise/ modules light up alongside your OSS install.

Recall Cloud is the hosted multi-tenant version. Same tools, no infra. Reach out for early-access pricing.

➡️ Talk to sales: [email protected] · Book a 20-min walkthrough: https://recall.works/demo


Vertical builds powered by Recall

Recall is the engine. We ship turn-key vertical brains on top of it:

  • IceWhisperer — the memory + workflow brain for ICE Mortgage Technology / Encompass shops. Pre-loaded SDK index, settings recipes, plugin audits, drift detection. Pilots from $250/mo.

If you want a vertical brain for your industry, we'll build it. Email [email protected].


Maintainers

Reach the maintainers at [email protected]. Issues and PRs welcome on GitHub.

来源:README.md,提交 cf6895c

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

1
  1. v0.5.2最新Sep 16, 2026

评分

已满足适用检查项的 50%

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

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

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

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