
RE-call MCP Memory Server
io.github.GiulioDER由 GitHub 账号 GiulioDER 发布v0.14.0更新于 Nov 3, 2026
Agent memory on your own Postgres that flags superseded facts and abstains instead of guessing.
发布方自己的服务:Memory.fit
概览
本地 stdio MCP 服务器,为助手提供基于 SQLite 或 PostgreSQL 的持久记忆,附带可信判定、失效标记,并在无把握时拒答而非猜测。
- 可以做什么
- 以稠密向量与关键词混合检索已索引的记忆,返回判定、置信度与来源
- 对过期或未通过校准信任门槛的结果标记为已取代或直接拒答
- 执行显式推理查询,可选有界图扩展与受引用约束的回答
- 经来源控制器把已审核的结构化事实写入只追加的事实账本
- 在 Lite 的 SQLite 模式下自动或按需刷新变更的笔记文件
- 适用场景
- 适合需要长期、可审计的项目笔记或文档记忆,并且希望助手对无法支撑的问题拒答或标注,而不是返回最相近文本的场景。可用于单机单项目的 Lite 模式,或自建 PostgreSQL 加 pgvector 的共享多租户服务。
- 运行要求
- 以 stdio 本地运行,从 PyPI 包 recall-rag 通过 uvx 安装;README 指出 Lite 仅存在于源码构建,已发布的 wheel 尚未包含。需要 RECALL_SERVING_DSN 提供 PostgreSQL 服务 DSN,以及与被索引语料一致的 RECALL_EMBEDDER、RECALL_TABLE 和 RECALL_TENANT。PostgreSQL 路径需 pgvector,Lite 无需数据库服务器。需 Python 3.11 或更高版本。
安装
在 SourceWeft 中
- 打开 控制台中的 RE-call MCP Memory Server,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
[RE-call: memory that knows when not to guess]
Memory that abstains instead of guessing.
RE-call is agent memory in a local SQLite file or your own PostgreSQL with pgvector. Each result carries a verdict,
confidence, and provenance, while unsupported questions are refused instead of answered by the
nearest match.
[CI] [PyPI version] [License: AGPL-3.0] [Python 3.11+] [PostgreSQL + pgvector]
What it is · For agents · How it works · Start with Lite · Install and integrate
What is RE-call
RE-call is agent memory in a local SQLite file or your own PostgreSQL database. It indexes source documents and keeps validity, lineage, confidence, and provenance attached to every result.
Vector search returns nearby text. RE-call also checks whether that text is current, supported, and
trustworthy enough for the query. A superseded claim is marked superseded; a result that does not
clear the calibrated trust gate becomes ABSTAIN with a reason. Declared supersession makes the current memory win
over stale but similar memory.
The default path uses local embeddings plus hybrid dense and keyword retrieval. PostgreSQL uses
its full text search; Lite uses SQLite FTS5. It needs no memory-layer LLM call. Additional retrieval,
reasoning, and structured-fact modules are optional.
For the agent reading this, RE-call for agents explains the experience loop and how to use persistent memory as a trustworthy past rather than an unverified scratchpad.
How it works
On PostgreSQL, RE-call builds an immutable, calibrated generation and serves queries against that pinned generation. Lite binds calibration to its single-file corpus. Every search, including the reasoning and fact paths, goes through trusted search and the trust gate.
The diagram is interactive on the project site:
click any box to see the source lines it describes. A
step by step view of one recall_search call
follows a single search through its refusal, abstention and answer paths. Both are generated from
the sources in docs/diagrams.
Text version of the diagram, with each box linked to its file
Solid arrows are the default path. Dashed arrows are opt in or reasoning only: the reranker, graph expansion, and the answer provider. Each box links to the file that implements it.
Ordinary recall search follows the direct path. Explicit reasoning accepts graph_expansion:
auto is the default and resolves to bounded one hop expansion for every nonempty query; off
keeps direct retrieval only; one-hop forces the graph path. The CLI uses
--graph-expansion auto|off|one-hop; the MCP tool uses graph_expansion="auto"|"off"|"one_hop".
Graph neighbors are generation bound, direct candidates remain first, and expanded candidates must
clear the same trust boundary before they can support a cited answer.
The opt in choices attach to different points in the system:
For details, see the architecture writeup, provenance controller, and API reference.
Quickstart
For one project's memory on your machine, start with RE-call Lite. It stores memory in
.recall/memory.db, refreshes changed memos automatically, and needs no Docker or database server.
Install the source build first: Lite is in the repository; the published 0.14.0 PyPI wheel
predates it. Follow the Lite installation guide
to create an environment and install the source, then run this from your own project with an
existing folder of notes:
Setup indexes the notes, attempts automatic calibration, and registers Claude Code for this project. Inspect the calibration and registration results, use the printed doctor command, and restart the client. Strict trust stays enabled; a corpus that cannot certify will refuse trusted answers. For other MCP clients, use manual Lite wiring.
Try the PostgreSQL demo
Prerequisites: Python 3.11 or newer, Docker, and a Docker installation able to run PostgreSQL with pgvector.
The demo starts a throwaway database, indexes a small corpus included in the package, and runs three searches. It includes a normal answer, a stale claim that is returned as superseded, and a question that is refused. The demo uses development trust and changes no personal files.
Remove the demo database when finished:
Already have PostgreSQL with pgvector? Use recall quickstart --existing-dsn <dsn> instead. The
demo is intentionally separate from a real install and is not calibrated for your data.
Install and integrate
Local, with no database server and no Docker
Use the Lite source installation, then run from the project whose notes you want to index:
Setup creates .recall/memory.db, attempts automatic calibration, and registers Claude Code for
this project. Use the printed doctor and read-only dashboard commands, and add .recall/ to
.gitignore. For CLI or manual client wiring, add --no-register.
The MCP server refreshes changed memos automatically. To check or refresh explicitly:
Use the same memo root and embedder as setup. The CLI does not read the MCP client's environment; apply setup's printed settings before CLI searches or doctor. Strict trust remains enabled, and successful indexing alone does not guarantee certification.
The Lite guide covers other clients, source updates, backup and restore, refresh budgets, and queued writes. Keep the file on a local disk. Lite uses exact cosine search and SQLite keyword retrieval; results can differ from PostgreSQL. Generations, multi-tenant serving, and authentication require PostgreSQL. See the API for trust and retrieval limits.
With PostgreSQL
For your own corpus, provide PostgreSQL with pgvector and run the guided setup wizard after
installing recall-rag[fastembed]:
It applies the schema, asks for the embedder and retrieval options, indexes the corpus, offers calibration, and registers the selected agent integration. When the wizard asks whether to calibrate, use a labeled query file that refers to the corpus you are installing. Calibration fitted to the bundled demo is only an example, not a certification for your data. The schema uses an ordered SQL migration path and pre-tenancy tables are migrated in place.
For Docker, an existing database, headless provisioning, manual calibration, and troubleshooting, see docs/INSTALLATION.md and docs/WIZARD.md.
Choose an integration
Claude Code
Inside Claude Code, install the plugin after installing the Python package:
The plugin supplies the MCP server, memory search skill, and lifecycle hooks. Lite setup already
registers a project server; the plugin is optional. If you add it, configure its Database DSN with
the SQLite DSN printed by setup and avoid enabling duplicate servers for the same memory. The
plugin's server does not refresh memos by itself; run recall lite refresh yourself or keep the
server setup registers.
For PostgreSQL, run recall setup against the project and database Claude should use.
Details are in plugin/README.md.
Codex
For Lite, use manual MCP wiring: recall setup --lite only
registers Claude Code. For PostgreSQL, run recall setup from the project. When Codex is detected,
setup installs the Codex MCP server,
plugin bundle, memory and session skills, and hooks into the user configuration. Restart Codex afterward. The
Codex and Claude Code integrations share the same memo format and trust layer. See
docs/CODEX_RECALL_INTEGRATION.md.
Claude Agent SDK
The SDK integration runs the same tools in process and does not start an MCP server:
See docs/USING_WITH_AGENT_SDK.md for the complete example and write-tool boundaries.
LangChain and LlamaIndex
Both adapters use the same trusted retrieval path. If trust abstains, they return no document by default, and returned documents retain verdict, confidence, cosine, and supersession metadata. See docs/API.md for the supported classes and methods.
If an install is not working
For Lite, first apply the environment printed by setup so doctor inspects the SQLite store. For PostgreSQL, the doctor checks the interpreter, console scripts, embedder, Docker, database, pgvector, schema, configured table and tenant, calibration, and agent registration. It changes nothing and prints the repair command for each problem.
Product surface
RE-call is not a hosted memory service, dashboard, or automatic truth extractor. It does not rewrite corpus metadata from an agent's inference. Reasoning is opt in, citation constrained, and review aware. See docs/PRODUCTION.md for deployment boundaries.
Read next
Published numbers are tied to committed artifacts, and the claim gate checks them in CI. Benchmark interpretation and limits belong in docs/EVIDENCE.md, not in this overview.
Citation
If you describe RE-call in a paper, post, talk, or README of your own, cite the project and credit Giulio D'Erme. Use CITATION.cff as the canonical citation source.
License
RE-call is open source under the GNU Affero General Public License v3.0 (AGPL-3.0). You may use, study, modify, and share it, commercially as well, on the AGPL's conditions: if you distribute RE-call or a work based on it, or let users interact with a modified version over a network, you must make the corresponding source available under the same license. When those conditions do not fit, for example a closed source product or a proprietary hosted service, a commercial license is available from the copyright holder. See COMMERCIAL_LICENSE.md for the boundary between the two and for the terms of earlier releases, and preserve NOTICE when redistributing the software. Contributions are accepted under the Contributor License Agreement.
来源:README.md,提交 d030990
工具
0版本历史
2- v0.14.0最新Sep 25, 2026
- v0.13.0Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分
其他 Memory 集成

Memory.fit
fit.memory官方发布者
托管式 Memory.fit 服务器,让 AI 读取你的训练、睡眠、恢复与饮食数据,并写回每周计划、每日目标和饮食计划。
pg.ddx.io: the PostgreSQL community's memory
io.ddx.pg官方发布者
pg.ddx.io: the PostgreSQL community's memory 的托管 MCP 服务,由 pg.ddx.io 发布;无需登录;Streamable HTTP;29 个工具。
var.gg Naming Memory
gg.var官方发布者
远程 MCP 服务器,可根据领域概念推荐并检索韩、日、中、越、英多语言的代码标识符名称,并提供 ERD 结构查询。

Counterparts
ai.counterparts
面向 Claude Code 与 Claude Desktop 的本地优先长期记忆:助手自行写下关于你和项目的笔记,并在之后的会话中回忆起来。

LAHZE - Persian AI Memory Platform
由 GitHub 账号 pedramgholizadeh 发布
以波斯语为先的地理记忆平台:发现地点,起草并发布仅限波斯语的记忆。AI 翻译