ChainMemory MCP
Enables portable, cryptographically verifiable memory that can be used across different AI models including Perplexity.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@ChainMemory MCPSave this decision: switching to Postgres for the next sprint"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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 at rest (AES-256-GCM, per-user), verifiable with Merkle proofs, and portable across ChatGPT, Claude, Gemini, Perplexity, and any other LLM. No vendor lock-in, ever.
What's new in v2.5
Project Brain —
get_project_stateconsolidates your atomic memories into a structured, versioned, verifiable project state (decisions, risks, constraints, metrics, and environment: where and how you work), and delivers active role contracts with it in a single callVerifiable Role Contracts (VRC) — human-signed role contracts for AI agents:
get_role_contract(read the contract),assume_role(open an audited Role Session),release_role(close with a summary)24 tools total — memory ops, projects, Project Brain, roles, selective inject
Related MCP server: LogicMem MCP Server
Quick start
1. Get an API key
Visit https://faucet.chainmemory.ai. You receive an API key (aic_...) and a starter balance of AIC. ChainMemory collects no personal data — your key is your identity.
2. Add to Claude Desktop
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 24 tools are now available.
3. Try it
"What do you remember about my projects?" →
chainmemory_recall"Save this decision: switching to Postgres for the next sprint" →
chainmemory_remember"Load the project state for my-app" →
get_project_state(Brain + active role contracts)"Assume the architect role for my-app" →
assume_role(audited Role Session)
All 24 tools
Memory ops (6)
Tool | Description |
| Write a permanent encrypted memory. Auto-tagged by content. |
| Recall the user's recent memories (most recent first) |
| Filter by project tag and archived status |
| Change tags on an existing memory |
| Hide a memory from recall (reversible) |
| Restore an archived memory |
Project Brain (2)
Tool | Description |
| Consolidated, verifiable project state + active role contracts (state_hash, anchored on-chain) |
| Propose structured ops (29-op grammar, incl. environment); server validates, builds, hashes, persists |
Verifiable Role Contracts (3)
Tool | Description |
| Read a role's contract: purpose, rules with checks and severity, working protocol |
| Open an audited Role Session under an active contract (pins contract + Brain hashes), and delivers the owner declared working environment |
| Close a Role Session with a summary of work done and pending |
Projects (5)
Tool | Description |
| List the user's projects |
| Create a custom project tag with optional auto-tag keywords |
| Delete a project tag |
| List built-in templates |
| Instantiate a built-in template |
Identity & stats (4)
Tool | Description |
| Network stats (AIs, memories, blocks, AIC supply) |
| Register a new AI identity on-chain |
| Get an AI's profile and trust score |
| Seal a memory permanently (requires |
Cross-platform context (1)
Tool | Description |
| Portable verified context across all platforms |
Selective inject — paid (3)
Tool | Description |
| Check AIC balance |
| Inject 1-50 memories into current chat context (0.001 AIC, optimistic) |
| History of inject operations |
Environment variables
Var | Required | Description |
| Yes | Your API key from the faucet |
| No | Default |
| No | Wallet private key — only required by |
| No | Default |
For most users only CHAINMEMORY_API_KEY is needed.
How selective inject works
User (or AI) calls
inject_memorieswith a list of IDsBackend checks balance (≥ 0.001 AIC required)
Optimistic response (<500ms): plaintexts returned immediately, transactions queued
Background: 50% of the fee goes to the ecosystem treasury, 50% is burned
get_inject_historyshows confirmation status
Architecture
┌─────────────────────────────────────────────────────────────┐
│ AI Agent (Claude Desktop, ChatGPT, any MCP client) │
└──────────────────┬──────────────────────────────────────────┘
│ MCP stdio
↓
┌─────────────────────────────────────────────────────────────┐
│ chainmemory-mcp v2.5 (this package) │
└──────────────────┬──────────────────────────────────────────┘
│ HTTPS + x-api-key
↓
┌─────────────────────────────────────────────────────────────┐
│ api.chainmemory.ai │
│ - per-user encryption at rest (AES-256-GCM) │
│ - Project Brain (deterministic builder + state_hash) │
│ - Role contracts + audited Role Sessions │
│ - SQLite + Merkle proofs │
└──────────────────┬──────────────────────────────────────────┘
│ JSON-RPC
↓
┌─────────────────────────────────────────────────────────────┐
│ ChainMemory L1 — Chain ID 202604 │
│ - Geth PoA Clique, 3 validators │
│ - Memory contract + daily checkpoint anchoring │
│ - Project State anchoring (public verification) │
└─────────────────────────────────────────────────────────────┘License
MIT
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/chaelynet/chainmemory-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server