ChainMemory
概览
作者提供的说明(英文原文)
Verifiable, portable AI memory. Optional vault: encrypted on your machine, 12 words only you hold.
PopNx MCP 的三大支柱
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
- 用户评价i暂无评价评价功能将在后续阶段与账户功能一起开放
- 我们的基础检查i1 项中通过 1 项依据公开信息检查;尚未扫描代码
- 使用情况i非常新↓ 108/周 · ★ –
它能帮你做什么
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
- 连接方式: 在你的电脑上运行
- 传输方式: stdio
- 分类: 搜索与 AI 记忆
- 你需要填写:CHAINMEMORY_API_KEY, CHAINMEMORY_SEED_PHRASE, AICHAIN_KEY
安装
选择你使用的 AI 应用,然后复制设置。
安装之前
- 基础检查:1 项中通过 1 项
- 在你的电脑上运行,拥有你的用户账户的权限(文件、网络、应用)。
- 需要你自己填写:
CHAINMEMORY_API_KEY,CHAINMEMORY_SEED_PHRASE,CHAINMEMORY_API_BASE,CHAINMEMORY_MODELS_DIR,CHAINMEMORY_ALLOW_FULL,AICHAIN_KEY,AICHAIN_RPC
标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。
你需要
- npm已安装 Node.js(用于 npx 命令)
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"chainmemory": {
"command": "npx",
"args": [
"-y",
"chainmemory-mcp"
],
"env": {
"CHAINMEMORY_API_KEY": "your-value",
"CHAINMEMORY_SEED_PHRASE": "your-value",
"CHAINMEMORY_API_BASE": "your-value",
"CHAINMEMORY_MODELS_DIR": "your-value",
"CHAINMEMORY_ALLOW_FULL": "your-value",
"AICHAIN_KEY": "your-value",
"AICHAIN_RPC": "your-value"
}
}
}
}在终端中运行这条命令
claude mcp add chainmemory --env CHAINMEMORY_API_KEY=your-value --env CHAINMEMORY_SEED_PHRASE=your-value --env CHAINMEMORY_API_BASE=your-value --env CHAINMEMORY_MODELS_DIR=your-value --env CHAINMEMORY_ALLOW_FULL=your-value --env AICHAIN_KEY=your-value --env AICHAIN_RPC=your-value -- npx -y chainmemory-mcp运行前请先填写空着的值。
或者自己复制设置
粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"chainmemory": {
"command": "npx",
"args": [
"-y",
"chainmemory-mcp"
],
"env": {
"CHAINMEMORY_API_KEY": "your-value",
"CHAINMEMORY_SEED_PHRASE": "your-value",
"CHAINMEMORY_API_BASE": "your-value",
"CHAINMEMORY_MODELS_DIR": "your-value",
"CHAINMEMORY_ALLOW_FULL": "your-value",
"AICHAIN_KEY": "your-value",
"AICHAIN_RPC": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
或者自己复制设置
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"chainmemory": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"chainmemory-mcp"
],
"env": {
"CHAINMEMORY_API_KEY": "your-value",
"CHAINMEMORY_SEED_PHRASE": "your-value",
"CHAINMEMORY_API_BASE": "your-value",
"CHAINMEMORY_MODELS_DIR": "your-value",
"CHAINMEMORY_ALLOW_FULL": "your-value",
"AICHAIN_KEY": "your-value",
"AICHAIN_RPC": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
需要你填写的值
- ChainMemory API key. REQUIRED for every tool except chainmemory_seal. Get one at https://faucet.chainmemory.ai
- 12-word BIP-39 phrase for the blind vault. Optional: without it the server works exactly as before. With it, sealed:true encrypts a memory on your machine and computes its search vector here, so seal…
CHAINMEMORY_API_BASEenvAPI base URL (default: https://api.chainmemory.ai)CHAINMEMORY_MODELS_DIRenvFolder for the 45 MB search model used with the blind vault (default: ~/.chainmemory/models). Downloaded once from models.chainmemory.ai and checked against its SHA-256 anchored on ChainMemory's chai…CHAINMEMORY_ALLOW_FULLenvSet to 1 to let get_project_brief return the FULL level (addresses, ports, server paths and security rules) when you ask for it. Leave it empty to keep every brief at the public level, which is safe…- NOT NEEDED for normal use — leave it empty. Only the chainmemory_seal tool reads it, to sign a contract call yourself instead of letting the API anchor the memory (which chainmemory_remember already…
AICHAIN_RPCenvRPC endpoint used only by chainmemory_seal (default: https://rpc.chainmemory.ai). Leave it empty unless you set AICHAIN_KEY.
这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它能做什么
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
基础检查i
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月8日
- ✓ 通过
作者与仓库一致
注册名称已通过 GitHub 账户 chaelynet 验证,该账户拥有此仓库
- … 尚未检查
仍在维护
我们还没有从 GitHub 读取这个仓库
- … 尚未检查
有许可证
我们还没有从 GitHub 读取这个仓库
- – 不适用
端点有响应
它在你的电脑上运行,没有互联网端点
- – 不适用
使用 OAuth 登录
在你的电脑上运行,改用本地设置
- … 尚未检查
工具描述中没有隐藏指令
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与“搜索与 AI 记忆”中的其他服务器比较i
- 星标数多于此分类中其他 5692 个服务器的 0%
- 发布到注册中心的时间比此分类中其他 5692 个服务器的 58% 更新
- 基础检查结果等于或优于此分类中其他 5692 个服务器的 100%
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
常见问题
ChainMemory 安全吗?
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
它需要哪些密钥或代码?
你需要填写:CHAINMEMORY_API_KEY, CHAINMEMORY_SEED_PHRASE, AICHAIN_KEY
它在我的电脑上运行还是在云端?
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
它还在维护吗?
GitHub 仓库最后更新于–,最新版本(2.10.0)于29天前进入注册中心。
哪些应用可以使用它?
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。
有什么可以替代它?
同一分类中有:Context7, Codebase Memory, Exa
替代选择
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:↓ 每周下载量i★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
Codebase Memory
Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.
Exa
Connect AI agents to Exa for web search, content fetching, and multi-step research.
作者的 README
打开 README
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
ChainMemory MCP Server
Cross-model, cryptographically verifiable memory for Claude, ChatGPT, and any AI agent — own your AI's memory and carry it across every model.
ChainMemory MCP exposes the ChainMemory protocol to any AI agent that speaks the Model Context Protocol. Memories are encrypted (AES-256-GCM), anchored on-chain one by one so anyone can verify them, and portable across ChatGPT, Claude, Gemini, Perplexity, and any other LLM. No vendor lock-in, ever.
What's new in v2.10.0
- Full level for `get_project_brief`, only when you allow it. The brief is public by default: safe to paste into any chat, with addresses, ports, server paths and security rules replaced by
[withheld]. Passlevel: "full"to get them too, for work on your own infrastructure. It works only if you addCHAINMEMORY_ALLOW_FULL=1to this MCP server'senv, only with the owner's key (member and project keys are refused by the API), and ChainMemory logs every full-level request: when, which project and version, from which client and how many sensitive lines went out. The brief says so at the top and counts the sensitive lines at the end. - The remote endpoint never offers the full level. It serves third-party clients, so the parameter is not even published there.
- How a project's AIC are safeguarded never appears in a brief, at any level.
- Every request now tells the API which client made it (
chainmemory-mcp stdio|remote), which is what the full-level log records.
To enable it, add the variable next to your API key:
"env": {
"CHAINMEMORY_API_KEY": "aic_your_key_here", "CHAINMEMORY_ALLOW_FULL": "1" }
What's new in v2.9.1
- `get_project_brief` has a task mode. Pass
task: "pri_0015"and the brief is about that one priority: the priority in full, its completion criterion on its own line, the risks it mitigates, everything else in the Brain that mentions it, and every work rule and constraint. A general brief orients; this one is meant to be enough to start the work. It does not move the version remembered for "what changed". - Briefs are safe to paste into any chat. The server now replaces IP addresses, ports, server paths and the owner's security rules with
[withheld], and says how many were withheld in that text, so the agent knows to ask. Before, a large budget could carry a server path or an SSH port into a third-party chat. - The brief says more about what it shows: the full
state_hash, each changed priority-risk link with its previous value, completion criteria never cut, titles in "to review", the owner's work rules, and how many items cite evidence, with the rest marked(no evidence). - Priorities can be linked to risks.
update_project_statedocuments the newmitigatesfield ofadd_priorityand theset_priority_risksop (the grammar is now 30 ops). The brief then shows which priority covers each risk and lists the high risks nobody mitigates. The documented value sets were also corrected: risks can bemitigated, and priorities areactive,doneordropped.
What's new in v2.9.0
- `get_project_brief`: the Project Brain in a few thousand characters, most important first.
get_project_statereturns the whole state as JSON, which on a mature project is long, and an agent opening a session reads it from the top. The brief is plain text built by the server (GET /v1/project/:name/inject) by relevance and within a character budget (default 7,000, from 1,000 to 50,000): what changed since the last version you read, open risks (high first), active priorities, recent decisions with their scope, recent milestones, open questions, each constraint as a one-line rule, and the items that have not been reviewed for more than 30 versions and may no longer be true. It starts with the state's on-chain anchor. Free and read-only. - "What changed" is measured from what you last read. This local server remembers, per project, the last version it gave you, in
~/.chainmemory/brief-since.json. The file is indexed by a hash of your API key and the project name: it contains neither. Passsinceto compare against a specific version. On the remote endpoint nothing is stored, and the comparison is with the previous version. - Headings in English or Spanish (
lang: "es"); the items are returned as they were written. get_project_stateis unchanged, and is still the tool to use beforeupdate_project_state.
What's new in v2.8.1
- The search model downloads on slow connections. The first download (45 MB, only with the blind vault) was cut after 2 minutes in total, so on a slow but working connection the model never arrived and the first sealed memory was saved without its search vector. Now the download is cut only if it receives no data for 60 seconds, however long it takes overall.
What's new in v2.8.0
- Sealed memories are searchable. With the blind vault configured (
CHAINMEMORY_SEED_PHRASE),chainmemory_rememberwithsealed:truenow sends the memory's search vector along with the encrypted blob, computed on your machine. The server can find a memory it cannot read, andsearch_memoriesdecrypts sealed matches locally. - Your queries stay on your machine. With the vault configured,
search_memoriessends the query's vector, not its text, so the text of what you search is never sent to the server nor written to its search log. - No new dependencies. The vector comes from ChainMemory's own engine (tokenizer, model reader and WebAssembly kernel written by ChainMemory), shipped in the package: 80 kB in total. The first time it is needed, the 45 MB search model is downloaded from
models.chainmemory.ai, checked against its SHA-256 anchored on ChainMemory's chain, and stored in~/.chainmemory/models(orCHAINMEMORY_MODELS_DIR); it is checked again every time it is loaded. - Without the vault nothing changes and nothing is downloaded.
What's new in v2.7.1
- Correct version in the MCP handshake. The server announced itself as
2.5.6to every client, whatever package was installed. It now reads the version frompackage.json, so the two cannot drift again. - `quote_inject` reports missing memories correctly — fixed on the API side (2026-09-14), no client change needed. Before, it listed memories it had found as *not found* and told the agent to fix a list that was fine.
get_inject_historyresponses now includememory_numbers, the #N of each injected memory.
What's new in v2.7.0
Tool descriptions rewritten for agents, not for humans. An audit of all 36 found that only 39% said *when* to use them, 25% stated their limits, and two charged without saying so. One of them was plainly wrong.
chainmemory_profilepromisedmemory count,trust scoreandregistration block. None of those fields exist — the API returnschain_memories,local_memories,synced_memories,pending_sync,reputation,ownerandactive. The v2.5.6 release fixed the code that asked for the wrong fields; the description kept advertising them.chainmemory_remember(0.001 AIC) andupdate_project_state(0.05 + 0.005 per op) now state their fee. They are the most used and the most expensive tool respectively.update_project_statenow documents the closed value sets.severityislow,medorhigh— *not*medium, *not*critical. A wrong value costs a rejected op and the fee is charged anyway.get_my_contextandchainmemory_recallboth said "use at conversation start". Now each says when to use it *instead of* the other.- Twelve one-line descriptions gained their cost, their limits and the gotchas that cost a failed call:
delete_projectneeds the numeric id and rejects the slug;add_project_from_templateandlist_project_templatesdeal in ids that cannot be guessed;chainmemory_sealis the only tool requiring a wallet private key.
No behaviour changed: same 36 tools, same endpoints, same fees. What changed is what the agent is told before it chooses.
What's new in v2.6.1
Documentation fix only, no code changes. The blind vault section described the verification step wrongly: GET /v1/memory/ /decrypted does not fail on a sealed memory — it returns 200 with scheme: "sealed" and the encrypted blob. The guarantee is the same (the operator never gets your text) but the observed behaviour was not what we documented. Found by running the first end-to-end test against the live API.
What's new in v2.6.0
Blind vault — memories the server cannot read. Pass sealed: true to chainmemory_remember and the text is encrypted on your own machine before it leaves: AES-256-GCM with a key derived from twelve BIP-39 words that never touch the network. ChainMemory stores an opaque blob and anchors its hash. Same fee as a normal write — privacy costs nothing extra.
chainmemory_new_seedcreates the phrase locally. Shown once, stored nowhere.chainmemory_open_sealedfetches the blob and decrypts it here, not there.- Without
CHAINMEMORY_SEED_PHRASE, everything behaves exactly as in 2.5.6.
One honest limitation: a sealed memory is stored with no searchable text, so it will not appear in search_memories — the server has nothing to index. Its project and tags *are* stored, so list_memories_filtered still finds it by project; you then read the content with chainmemory_open_sealed. Losing full text search is the direct consequence of the server being unable to read it, and there is no way around that which keeps the guarantee. *(Solved in v2.8.0: the search vector is now computed on your machine, so sealed memories are searchable without the server reading them.)*
If you lose the twelve words, the memories sealed with them are gone — for you and for everyone. Write them on paper.
What's new in v2.5.6
Three defects that made tools report confidently wrong things. No new tools.
- `list_project_templates` never listed anything. It read
templates/template_idfrom a response that returnsdefaults/project_id, so it always answered "No templates available" — which meant nobody could learn the id thatadd_project_from_templateneeds. The whole template flow was unreachable. - `chainmemory_profile` got five of eight fields wrong. It read
wallet,memory_count,trust_score,registration_blockandsealed; the API returnsowner,chain_memories/local_memories,reputationandactive. Every profile came back with an empty wallet, zero memories,?reputation andSealed: no, regardless of the real state. It also had no handling for an API key with no registered identity, printingAI Profile #undefined. - `update_project_state` hid the reason when every op was rejected. Rejections were only rendered on the success path, but rejecting *all* ops leaves the state unchanged and takes the other branch — so the reply said
Rejected: 3and nothing else. The only way to find out why was to guess again and pay the fee again.
What's new in v2.5.5
- `audit_memory` and `audit_state` — the two forensic audit endpoints, now reachable from any MCP client. Both accept `dry_run: true`, which returns the identical result without charging: an audit you can run as often as you like, and pay for only when you need the receipt on record.
audit_statecosts 5 AIC in its paid form, so the tools default to the dry run. - Both endpoints were fixed server-side first: t
只显示了开头部分;其余内容请在仓库中阅读