About Memory Eternal
Memory Eternal is an MCP server published by EternalNight996 in the RAG category: 🧠 给 AI 一个可信的第二大脑:本地 SQLite · 先审核再入库 · 不可篡改审计 · 记忆账本。🕷 蜘蛛侠皮肤 · 🔍 自建集 R@5 99.1% / LongMemEval-S 97.2% · 🧩 一个库接入 DSH / Claude Code / Codex / Cursor / 任意 MCP · ⭐ MIT 开源 · 🚀 零依赖开箱即用. Conduid read 6 tools from its source: memory_audit_list, memory_capture, memory_note, memory_recall, memory_revise and memory_stats. No package is published for it, so it installs from a source checkout.
The repository has 234 stars and 28 forks, is licensed MIT, and its last commit was on 2 Dec 2026. The latest release is v0.49.22 (19 Nov 2026): 端点改为 {payBase}/api/pricing(无需鉴权,实测可得 sub-personal 18 / sub-pro 118 / sub-max 399);深链 sku 改为取接口返回值原样使用(sub-memory-* 已停用);解析用 tier 作键、priceFen 权威、透传 caps/backup/periodPlan… It follows v0.49.21 (19 Nov 2026), and the 5 most recent releases go back to v0.49.14 (17 Nov 2026). It passes 4 of the 5 static checks Conduid ran on the repository; it does not pass No dynamic code execution. Its topics include agent-memory, ai-memory, audit-log, context-engineering, deepseek-harness and dsh.
Install
git clone https://github.com/EternalNight996/memory-eternalTools (6)
memory_audit_list只读:列出记忆库里待审核 / 已驳回的卡片(不会批准或驳回任何卡)。返回文本里的「待处理 N 张」永远是匹配总数;limit 只限制列出条数,被截断时会明确写出还有多少张未显示。用于主动提醒用户「有 N 张待审卡」;批准/驳回必须由人在审核中心面板或 CLI(dsh-memory audit approve/reject)显式发起。| Parameter | Type | Description |
|---|---|---|
| limit | number | 列出条数上限,默认 20(最大 500);总数不受它影响 |
| status | string | pending(默认)| rejected | all(= pending + rejected) |
memory_capture把一段值得长期复用的对话/知识沉淀进记忆库。配置了 MEMORY_LLM_* 环境变量时会用 LLM 蒸馏压缩成知识卡;未配置时降级为原文卡。通常由会话结束 hook 自动调用,手动调用用于显式保存重要结论。| Parameter | Type | Description |
|---|---|---|
| source | string | 来源标记,如 session:xxx / claude-code / codex |
| text * | string | 要沉淀的对话文本或知识内容(建议 >120 字符) |
memory_note读写**当前会话的工作区草稿**(session workspace):适合记录"这个任务现在做到哪一步、下一步做什么、已经确认过的临时决策"。它按会话隔离、整篇覆盖、不进入记忆库、不需要审核、也不会被召回。不要把它当长期记忆:跨会话要保留的内容请用 memory_write 提交待审卡。action=replace 覆盖整篇(主用法,建议每次写完当前全貌);append 追加;clear 清空;read 读回当前内容。memory_recall从本地记忆核心(Markdown 知识库)检索相关知识卡。需要项目背景、历史决策、之前讨论过的方案、或领域知识时调用;返回最相关的卡片摘要。也会命中已批准的技能卡:需要某技能时先查这里,再用 skill 工具加载同名技能。用 query 描述要找的内容,支持中文整词与字符片段检索。需要 API key / token / 令牌等**凭证**时也先查这里(查「密钥 目录」):记忆里存的是目录(名字、存放位置、取用命令),**值不在记忆库里**,请按卡片给的本机命令取用,不要直接读凭据文件。| Parameter | Type | Description |
|---|---|---|
| limit | number | 返回卡片数上限,默认 5 |
| query * | string | 检索关键词或自然语言描述,如「数据库选型」「用户偏好」 |
memory_revise提交「审核制修改」:把一张已批准的知识卡复制成待审副本(可改标题/标签/正文),进入审核中心。人工批准后才会覆盖原卡;agent 不能直接改已入库内容,也不能自己批准。用于修正过期/错误的知识 —— 比再写一张新卡更干净(审核界面会标成「修改」,通过即覆盖)。| Parameter | Type | Description |
|---|---|---|
| body | string | 新正文(不改就不传) |
| path * | string | 要修改的原卡 path(memory_recall 结果里的「路径:…」) |
| reason | string | 修改原因,会显示在审核中心 |
| source | string | 来源标记,如 claude-code / codex |
| tags | array | 新标签(不改就不传) |
| title | string | 新标题(不改就不传) |
memory_stats查看记忆库概览:总卡数、分类分布、最近新增、vault 目录路径。Security checks
- ✓README presentThe repository's README runs to about 3.4K words.
- ✓License declaredThe repository declares the MIT license.
- ✓Tests presentA test suite exists in the repository.
- ✓Dependencies pinnedA lockfile pins dependency versions.
- !No dynamic code executionScanned 116 source files and found 18 calls to eval or shell execution, in dsh-tui-plugin/main.js, lib/api.js and lib/watchdog.js among others. Review how tool inputs reach them before granting credentials.
1 check has not been run yet.
Releases
README
The repository's README runs to about 3.4K words, fetched 13 days ago. The original in the repository is authoritative.
Read full README