Gives Claude permanent, encrypted memory backed by the ChainMemory blockchain (Chain ID 202604). You get 19 tools: core ops like remember and recall, project tagging with auto-classification, archive/unarchive for hiding memories without deletion, and paid selective inject (0.001 AIC to pull 1-50 memories into context with optimistic confirmation under 500ms). Setup needs just an API key from the faucet. All encryption and memory ops route through the REST API, so no private key juggling unless you want to seal memories on-chain directly. Half of inject fees burn AIC, half go to treasury. Reach for this when you want context that survives across sessions and clients, with verifiable anchoring and cross-platform portability.
Give Claude and any MCP-compatible AI permanent, portable, verifiable memory on the ChainMemory blockchain.
ChainMemory MCP exposes the ChainMemory protocol to any AI agent that speaks the Model Context Protocol. Memories are encrypted client-side, anchored on-chain (Chain ID 202604), and portable across ChatGPT, Claude, Gemini, Perplexity, and any other LLM.
CHAINMEMORY_API_KEYVisit https://faucet.chainmemory.ai and connect a wallet. You receive:
Edit your Claude Desktop config (~/Library/Application Support/Claude/claude_desktop_config.json on macOS, %APPDATA%\Claude\claude_desktop_config.json on Windows):
{
"mcpServers": {
"chainmemory": {
"command": "npx",
"args": ["-y", "chainmemory-mcp"],
"env": {
"CHAINMEMORY_API_KEY": "aic_your_key_here"
}
}
}
}
Restart Claude Desktop. The 19 tools are now available.
In Claude Desktop, ask:
chainmemory_recall is calledchainmemory_rememberinject_memories (uses 0.001 AIC)| Tool | Description |
|---|---|
chainmemory_remember | Write a permanent encrypted memory. Auto-tagged by content. |
chainmemory_recall | Recall the user's recent memories (most recent first) |
list_memories_filtered | Filter by project tag and archived status |
update_memory_tags | Change tags on an existing memory |
archive_memory | Hide a memory from recall (reversible) |
unarchive_memory | Restore an archived memory |
| Tool | Description |
|---|---|
chainmemory_stats | Network stats (AIs, memories, blocks, AIC supply) |
chainmemory_register | Register a new AI identity on-chain |
chainmemory_profile | Get an AI's profile and trust score |
chainmemory_seal | Seal a memory permanently (requires AICHAIN_KEY) |
| Tool | Description |
|---|---|
list_projects | List the user's projects |
create_project | Create a custom project tag with optional auto-tag keywords |
delete_project | Delete a project tag |
list_project_templates | List built-in templates (general, development, blockchain, business, personal, research) |
add_project_from_template | Instantiate a built-in template |
| Tool | Description |
|---|---|
get_my_context | Portable verified context across all platforms (v2.1 feature) |
| Tool | Description |
|---|---|
get_inject_balance | Check AIC balance |
inject_memories | Inject 1-50 memories into current chat context (0.001 AIC, optimistic) |
get_inject_history | History of inject operations |
| Var | Required | Description |
|---|---|---|
CHAINMEMORY_API_KEY | Yes | Your API key from the faucet |
CHAINMEMORY_API_BASE | No | Default https://api.chainmemory.ai |
AICHAIN_KEY | No | Wallet private key — only required by chainmemory_seal |
AICHAIN_RPC | No | Default https://rpc.chainmemory.ai — only for chainmemory_seal |
For most users only CHAINMEMORY_API_KEY is needed.
Selective inject is the only paid operation. The flow:
inject_memories with a list of IDs0x...dEaDget_inject_history shows confirmation statusThe deflationary burn means total AIC supply decreases with usage. Treasury portion funds infrastructure and validator rewards.
┌─────────────────────────────────────────────────────────────┐
│ AI Agent (Claude Desktop, etc) │
└──────────────────┬──────────────────────────────────────────┘
│ MCP stdio
↓
┌─────────────────────────────────────────────────────────────┐
│ chainmemory-mcp v2.2.0 (this package) │
└──────────────────┬──────────────────────────────────────────┘
│ HTTPS + x-api-key
↓
┌─────────────────────────────────────────────────────────────┐
│ api.chainmemory.ai │
│ - per-user encryption (AES-256-GCM, key from API+wallet) │
│ - auto-tag classifier │
│ - SQLite + Merkle proofs │
│ - Optimistic inject (parallel tx) │
└──────────────────┬──────────────────────────────────────────┘
│ JSON-RPC
↓
┌─────────────────────────────────────────────────────────────┐
│ ChainMemory L1 — Chain ID 202604 │
│ - Geth PoA Clique │
│ - V2 memory contract (encrypted on-chain content) │
│ - Daily checkpoint anchoring │
└─────────────────────────────────────────────────────────────┘
MIT
AICHAIN_KEYsecretPrivate key for AICHAIN wallet
AICHAIN_RPCRPC endpoint (default: https://rpc.chainmemory.ai)
io.github.ericm1018/skillfm-llm-cost-optimizer-openai-anthropic-usage
io.github.mikerawsonnz/llm-orchestration-agent
io.github.mikerawsonnz/authenticated-llm-agent
labforgedev/copilot-memory-mcp
csoai-org/agent-prompt-injection-firewall-mcp
io.github.mikerawsonnz/authenticated-multi-llm-agent