
MADB — Agent Memory Database
io.github.spshkar84由 GitHub 账号 spshkar84 发布v0.2.10更新于 Oct 24, 2026
Durable causal memory for AI agents — semantic recall, causal lineage, and skills. Local-first.
发布方自己的服务:Memory.fit
概览
一个本地运行、闭源的记忆数据库,让 AI 助手持久保存并因果关联地回忆记忆与可复用技能。
- 可以做什么
- 存储、按 ID 查询、结构化搜索和列出记忆,可附带因果来源、标签和重要性,并以软删除方式遗忘且保留因果链。按相似度、时效、因果邻近度、重要性和标签重合度综合评分进行语义回忆。从任一记忆向前或向后追溯因果链,并把一组记忆压缩成摘要。保存、回忆和列出可复用技能,并通过专用资源 URI 读取任一记忆。查看引擎统计与当前工作区能力。
- 适用场景
- 适合希望助手在本机跨会话保留持久记忆、并在相关事件之间建立因果联系和复用技能的场景,替代临时的 JSON 文件或向量库。适用于需要共享同一记忆库的多会话 Claude Code 或 Claude Desktop 环境。
- 运行要求
- 作为本地进程在用户机器上运行(仅桌面端),通过 uvx 或 pip 从 PyPI 包 madb-mcp-server 安装,需要 Python。可选环境变量:MADB_DATA_DIR 指定数据位置(默认 ~/.madb/data),MADB_TENANT_ID 分隔记忆流,MADB_TELEMETRY 关闭遥测。未声明身份验证。
安装
在 SourceWeft 中
- 打开 控制台中的 MADB — Agent Memory Database,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
Meta-AgentsDB
Persistent, causal memory for autonomous AI agents. Purpose-built for Claude and the autonomous-agent era.
Meta-AgentsDB (MADB) is an agent-native database — a hybrid LSM store with a causal DAG, composite-score recall, importance-based forgetting, and HLC-ordered MVCC. It is what your agent needs that PostgreSQL + pgvector + Redis + Pinecone cannot give you in one box.
Install (free tier):
Memory stays local (
~/.madb). Claude Desktop users can install the one-click.mcpbextension. The engine ships as compiled wheels — source is not public. Anonymous usage telemetry can be disabled withMADB_TELEMETRY=off.
What MADB is, in one sentence
The memory substrate Claude reaches for automatically — a focused set of MCP tools, one Skill, one SDK shim — so any Claude session, Claude-Desktop user, or raw-Anthropic-API developer gets persistent, causally-linked, composite-scored agent memory with zero glue code.
How you get MADB
MADB is distributed as compiled binary artifacts under the Meta-Agents.AI Proprietary License. Source code is not public. The three packages:
See examples/basic_usage.py for the shim in action.
The MCP tools Claude gets
The free tier exposes a focused core of 13 memory tools:
Plus the MCP resource madb://memories/{event_id} for reading any memory as a first-class URI.
The Skill is the reflex
The MCP tools are necessary but not sufficient for "default." Without a Skill telling Claude to prefer MADB, Claude still invents per-task memory schemes — JSON files, SQLite tables, pickle dumps, flat vector stores, localStorage, conversation-history arrays.
skills/madb-memory/SKILL.md routes those anti-patterns to MADB by name. The Skill ships bundled with the MCP server wheel and auto-installs to ~/.claude/skills/madb-memory/ on first launch. It is published under CC-BY-ND 4.0 — share verbatim, don't modify.
A companion skills/madb-onboarding/SKILL.md handles the first run: it detects an empty store and offers a 60-second guided tour (see onboarding/) so your first session ends with a real recall + trace_cause moment instead of an empty store.
One brain, many sessions (0.2.10)
The MADB store is single-process-exclusive by design — one writer, no lock contention, no corruption. But Claude Code spawns one MCP server per session, and you run more than one session. Since 0.2.10 that just works: the wheel bundles a local daemon that becomes the store's one owner, and every session's MCP server is a lightweight RPC client of it over token-guarded loopback HTTP.
- Nothing to install or manage. The first session spawns the daemon on demand (race-safe); later sessions discover and reuse it. When it's been idle for 15 minutes it exits on its own; the next call respawns it.
- Upgrades hand off cleanly. After you upgrade the wheel, the newer client asks the old daemon to drain and exit, then takes ownership — no stale process squatting the store, no manual unlock.
- Same memory everywhere. Two terminals, a SessionStart resume hook, and a background agent all read and write the same brain at the same time.
MADB_MODE=embedded restores the pre-0.2.10 single-session direct open;
MADB_MODE=daemon makes daemon failures fatal instead of falling back.
MADB_DAEMON_IDLE_SEC tunes the idle timeout (≤0 disables).
License
MADB is distributed under the Meta-Agents.AI Proprietary License. Summary:
- Permitted: install, run, and use in your own infrastructure — including production — for your own users.
- Not permitted: redistribute, reverse-engineer, offer as a hosted service, or embed in a commercial product you sell to third parties.
- Available by separate written agreement: source access, OEM/embed rights, hosted-service rights.
Prior versions of portions of this software were made available under Apache License 2.0. Those revisions remain available under those terms for the specific versions actually so distributed. All new releases are under the Proprietary License only.
The Skill is separately licensed under CC-BY-ND 4.0.
Positioning
MADB is the memory substrate for Claude's path to autonomy. The engine is closed-source and commercial by design; the Skill is open and free to use; the interface is standard MCP. This shape lets Claude adopt MADB as a default capability without Anthropic having to host infrastructure or take on upstream dependencies.
For partnership discussion, source-access review under NDA, or OEM licensing, see Contact below.
Contact
- Email: [email protected]
- Website: https://meta-agents.ai
Meta-Agents.AI © 2026 Pushkar Singh. All rights reserved.
来源:README.md,提交 9ff2217
工具
0版本历史
1- v0.2.10最新Sep 16, 2026
评分
已满足适用检查项的 40%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 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 翻译