Chainmemory logo

Chainmemory

Persistent, verifiable AI memory with semantic search, encrypted storage, project state, and on-chain proofs.

Install Chainmemory

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "chainmemory": {
      "command": "npx",
      "args": [
        "-y",
        "chainmemory-mcp"
      ],
      "env": {
        "CHAINMEMORY_API_KEY": "YOUR_VALUE_HERE"
      }
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Values are written into the snippet above so you can paste it as is. They never leave your browser.

Install not yet sandbox-tested— the server itself is confirmed live (we called its tools/list endpoint). The stdio install command is a separate, ongoing check.

Overview

chainmemory MCP server connects AI agents to the ChainMemory protocol for persistent memories anchored on a blockchain. It supports semantic recall, project organization, portable cross-provider context, and Project Brain state with cited evidence. Memories can be sealed and searched locally, while hashes and anchoring coordinates support independent verification. Use it when an agent needs durable context across sessions or models rather than short-lived conversation history.

Use cases

  • Carry project context between Claude, ChatGPT, Gemini, and other providers
  • Search durable memories by meaning across agent sessions
  • Build evidence-backed project state from atomic memories
  • Prove that a memory or project-state hash is anchored on-chain
  • Protect sensitive memories with locally managed encryption

Key features

  • On-chain memory anchoring and verification proofs
  • Semantic search with local vector processing for sealed memories
  • AES-256-GCM sealed-memory vault with BIP-39 recovery phrase
  • Project Brain state with evidence-linked decisions and risks
  • Cross-provider portable conversation context
  • Archive, tagging, project, audit, and role-contract tools

Tools37

What Chainmemory lets your agent do. Expand a tool for its parameters.

Verified live~6.1k tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

17/17 checks healthy over the last 80d

What it can do

From the 37 tools this server returned when we ran it.

Can delete or modify data · 1Handles credentials · 5Makes network requests · 1Read-only tools · 36
Network at startup4 connections
Files written at startupNone
Install scriptsNone
npm provenanceNot published
Package age200 days
Maintainers1

Observed 2026-11-02 in an isolated sandbox. A description of reach, not a security audit.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 5d ago via OSV.dev · chainmemory-mcp (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

npm downloads517Package downloads in the last 30 days.
Last commit28d agoMost recent push to the default branch.
Tools exposed37Callable tools this server registers over MCP.

How Chainmemory works

What chainmemory does

chainmemory exposes the ChainMemory protocol through MCP, giving agents a persistent memory store whose records can be anchored on-chain and independently verified. It supports ordinary memories, sealed memories, project grouping, cross-provider context, and structured project state.

Memories can capture decisions, learnings, milestones, and other information worth retaining. The server can recall recent entries, search by meaning, retrieve a single entry in full, and provide proofs based on the memory's event hash and on-chain coordinates. Archiving hides a memory from normal listings and injection without removing it from the chain.

Project Brain tools consolidate atomic memories into structured state covering areas such as current focus, decisions, risks, priorities, constraints, environment, and milestones. State versions receive a SHA3-256 state hash and can include cited memory IDs as evidence.

How it works

A normal write costs 0.001 AIC and is synchronized to the chain asynchronously; newly written plain memories may take about 30 seconds to become anchored. Sealed memories are encrypted locally with AES-256-GCM before transmission. Their search vectors are also computed locally, allowing semantic search without exposing the plaintext to the server. The blind vault uses a locally generated 12-word BIP-39 seed phrase. Losing that phrase prevents access to memories sealed with it.

Semantic search combines cosine similarity over cached embeddings with recency and importance. Recent-memory recall and filtered listings return 80-character previews, while semantic search and individual retrieval can return full text. Full retrieval performs an integrity check by comparing a recomputed event hash with the anchored hash.

Project state updates validate operations and evidence references before writing. A cited memory that is not yet resolvable causes the entire update to be rejected. Public verification exposes hashes and chain coordinates rather than memory content, so a verifier can check the result against the relevant contract independently.

Setup and configuration

Configure the MCP server with CHAINMEMORY_API_KEY. CHAINMEMORY_SEED_PHRASE enables local decryption and encrypted writes for the blind vault. The server can generate a fresh phrase locally with chainmemory_new_seed; it is never stored by the server, so it must be recorded securely.

CHAINMEMORY_ALLOW_FULL=1 enables the full project-brief level for the owner's key. Without it, briefs withhold addresses, ports, server paths, and security rules. Full-level requests are logged by ChainMemory. AICHAIN_KEY is only needed for the direct chainmemory_seal contract call, which is irreversible. The local embedding model is stored under ~/.chainmemory/models by default and can be redirected with CHAINMEMORY_MODELS_DIR.

Tools and capabilities

  • Write, recall, search, decrypt, retrieve, archive, and restore memories.
  • Update tags and filter memories by project and archived status.
  • Generate memory proofs and run memory or Project Brain audits.
  • Create projects directly or from built-in templates.
  • Load portable context from other AI providers.
  • Read and update structured project state with evidence citations.
  • Inspect project roles and read owner-signed role contracts.
  • Check identity counters, network statistics, and synchronization status.
  • Quote injection costs before using paid memory injection operations.

Paid operations include memory writes, direct sealing, state updates, memory audits, state audits, and injection. Audit tools support a dry-run mode; the state audit is the most expensive operation and should not be run for payment without explicit approval.

Limitations and notes

Sealed memories cannot be found by content alone; their tags are the way to locate them through filtered listings. Plain-memory hashes become citable only after chain synchronization, whereas sealed memories carry a client-generated hash immediately. get_project_brief is intended for orientation and can redact sensitive infrastructure details; use get_project_state when the complete structured JSON is required before a state update.

Project deletion removes project metadata but leaves memories and their tags intact. Archiving is reversible and does not delete on-chain data. The direct sealing tool requires a wallet private key and permanently seals the memory, so it should not be used as a routine alternative to normal writes.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Chainmemory

chainmemory is an MCP server that connects AI agents to the ChainMemory protocol and blockchain-backed memory store. Its main tools write, recall, search, decrypt, verify, and organize memories, while Project Brain tools manage structured project state with evidence and on-chain hashes.

Configure the server with a ChainMemory API key in your MCP client. Set `CHAINMEMORY_API_KEY` to authenticate, then optionally add `CHAINMEMORY_SEED_PHRASE` for sealed-memory encryption and local decryption.

Yes. Set `CHAINMEMORY_SEED_PHRASE` and pass `sealed: true` to `chainmemory_remember`. The client encrypts the memory before sending it, and `chainmemory_open_sealed` decrypts it locally with the same phrase.

Use `search_memories` for semantic search. It ranks matches using embedding similarity, recency, and importance, and returns full text. With the blind vault configured, the query is vectorized locally and sealed matches are decrypted locally.

Use `get_memory_proof` for a memory or `verify_project_state` for a Project Brain. These return hashes and on-chain coordinates that a third party can check independently without receiving the underlying content.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewChainmemory AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/chainmemory?style=directory)](https://allmcps.com/mcp/chainmemory)
HTML Embed
<a href="https://allmcps.com/mcp/chainmemory"><img src="https://allmcps.com/api/badge/chainmemory?style=directory" alt="Chainmemory on AllMCPs" /></a>