
Delx Memory
io.github.davidmosiah由 GitHub 账号 davidmosiah 发布v0.2.3更新于 Oct 24, 2026
Local-first persistent memory MCP: shared SQLite key/value store, searchable, TTL-aware, secret-safe
发布方自己的服务:Memory.fit
概览
本地优先的记忆服务器,为任意 MCP 客户端提供共享、可搜索的 SQLite 键值存储,让上下文跨会话、跨工具保留。
- 可以做什么
- 会话启动与存储检查:恢复简报、就绪状态、统计、能力与数据清单,以及面向代理的安装约定。读取记忆:按前缀、标签或时间列出键,读取单个键或最多 50 个批量键,并用 bm25 排序做全文搜索。写入记忆:在单个事务中新增或更新一个键或最多 50 个键,需显式用户意图标志。删除记忆:删除单个键或某个标签下的全部键。导出存储为 JSON、JSONL 或 Markdown。
- 适用场景
- 适合希望偏好、项目笔记或交接上下文在新对话中保留,并在同一台机器的不同 MCP 客户端之间共享,同时不把数据发送到云端记忆服务的情况。它是带全文搜索的键值存储,不是向量数据库,也不是密钥管理器。
- 运行要求
- 通过 npm 包 delx-memory 以 stdio 在本地运行(需要 Node.js 与 npx,或全局安装)。可选 HTTP 模式使用 DELX_MEMORY_TRANSPORT、DELX_MEMORY_HOST、DELX_MEMORY_PORT 和 DELX_MEMORY_ALLOWED_ORIGIN。SQLite 文件位置可用 DELX_MEMORY_PATH 设置,默认位于用户主目录下的点文件。未声明需要账号或 API 密钥。
安装
在 SourceWeft 中
- 打开 控制台中的 Delx Memory,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
delx-memory
Local-first persistent memory MCP server. One shared SQLite store any MCP-speaking agent (Claude Desktop, Cursor, Hermes, OpenClaw, Codex) can read and write — so context survives across sessions AND across tools.
[npm version] [GitHub Release] [npm downloads] [status: beta] [license: MIT] [node: >=20] [Verified Release Index]
Why
Every chat client has its own ephemeral context. Quit the tab → preferences gone. Switch from Claude Desktop to Cursor → starting from scratch. Pin a side project in Hermes → invisible to the next agent.
delx-memory is a tiny MCP server that exposes a single shared SQLite file as a key/value memory layer. Any client that speaks MCP can read and write the same memory file → real continuity, real cross-tool context.
- 15 tools — discovery + handoff + batch ops + FTS5 search + mutations gated by intent.
- SQLite at
~/.delx-memory/db.sqlite(0700 dir, 0600 file). - Secret-blocking: refuses to store credential-shaped keys or values.
- TTL support (lazy expiry on read).
- Tags + prefix filters + FTS5 full-text search (bm25 ranking, stemming, diacritic folding; LIKE fallback if FTS5 is unavailable).
- Mutations require
explicit_user_intent: trueso over-eager agents can't silently rewrite your context. - Zero telemetry. Zero phone-home. The file is yours.
Multi-agent namespaces
Keys are stored as namespace::key. Omit the env var for a single global store (default).
Footprint / lightweight mode
- Default transport is
lite: tools-only MCP over stdio without loading the MCP SDK (biggest RSS win for always-on agents). - Full SDK surface (prompts + resources):
delx-memory --sdkorDELX_MEMORY_TRANSPORT=sdk. - Optional HTTP:
delx-memory --http(Express + SDK; still loopback by default). DELX_MEMORY_LEAN=1applies to the SDK path only (skip prompts/resources).doctor --jsonreportsrss_kb. Dominant remaining cost is Node + nativebetter-sqlite3(no embeddings).
Community measurements (custom transport vs SDK) pointed at the SDK tree as the main overhead — see issue #7.
Install + run
The doctor command checks Node version, DB writability, and file permissions, then prints next steps.
HTTP (v2 stateless)
Default is stdio. Optional Streamable HTTP — no session id, JSON responses, loopback only:
Env: DELX_MEMORY_HOST, DELX_MEMORY_PORT, DELX_MEMORY_TRANSPORT=http.
Wire it into your MCP client
Claude Desktop
Add to ~/Library/Application Support/Claude/claude_desktop_config.json (macOS):
Then restart Claude Desktop. See examples/claude-desktop.json.
Cursor
Add to ~/.cursor/mcp.json. See examples/cursor.json.
Hermes
See examples/hermes.md.
OpenClaw
See examples/openclaw.md.
Codex CLI
See examples/codex.toml.
What makes it different (honest)
Not a vector DB. Not a second brain SaaS. Local continuity for agents that already have a model.
Tools (15)
Session start
Reads
Mutations (require explicit_user_intent: true)
Every mutation refuses to run unless the caller passes explicit_user_intent: true. The intent: an agent that decides on its own to update memory must show its work. The user can see the flag in the tool call and reject it if they didn't ask.
Privacy contract (read this)
delx-memory is NOT a secrets manager. Use macOS Keychain / gnome-keyring / Windows Credential Manager for those.
What we refuse to store:
- Keys matching:
oauth,token,secret,password,cookie,refresh,api_key,api-key,apikey,bearer,credential,session_id(case-insensitive). - Values matching credential shapes:
- JWT tokens (
eyJ…) Bearer <token>headers- Stripe
sk_live_…/sk_test_… - Slack
xoxb-…/xoxp-…/ etc. - GitHub
github_pat_…/ghp_…/gho_…/ghs_…/ghr_… - OpenAI / Anthropic
sk-…(with realistic length) - AWS access keys
AKIA… Authorization: <scheme> <token>strings
- JWT tokens (
- Nested objects are walked recursively — a nested field named
refresh_token(even with an empty value) is rejected.
What stays local:
- The DB file lives at
~/.delx-memory/db.sqlite. - Directory is created with mode
0700; file with mode0600. (Best effort on Windows / WSL / non-POSIX filesystems.) - Nothing is uploaded. No telemetry. No phone-home.
What we do NOT promise:
- Other users of the same machine (root, your
sudo-using housemate) can read the file. Use full-disk encryption (FileVault, BitLocker, LUKS) if that matters. - TTL is best-effort. Expired rows are deleted lazily on next read; SQLite doesn't
VACUUMautomatically, so freed pages may sit on disk. For sensitive ephemera, treat the DB file like any other unencrypted dotfile. - No durability promise. Back up
~/.delx-memory/db.sqlitelike any other dotfile if you care about losing it.
Example session
Storage layout
CLI
Environment
Development
See AGENTS.md for repo conventions, SECURITY.md for the security model and reporting policy, and CONTRIBUTING.md for PR rules.
License
MIT © 2026 David Batista. Code of Conduct.
Skill or MCP
Same package, two doors. MCP registers tools on stdio/HTTP. The skill can drive the same tools through the CLI when the client has no MCP:
Copy skill/SKILL.md into your agent skills dir.
来源:README.md,提交 71db5b6
工具
0版本历史
1- v0.2.3最新Sep 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 翻译