saihm-memory
Provides persistent, client-side-encrypted memory for AI coding assistants via SAIHM, enabling tools to remember, recall, and forget with provable erasure.
README
demo-claude-code
SAIHM memory inside Claude Code, Cursor, and any MCP host.
A tiny MCP server that gives your AI coding assistant a persistent, client-side-encrypted memory it can remember, recall, and forget — backed by SAIHM. The memory is portable across models, non-custodial, and provably erasable.
⭐ Star this repo and share it if it's useful — help every agent get portable, provable memory. Share on X.
What your assistant gets
Four tools — saihm_remember, saihm_recall, saihm_forget, saihm_status — all sealed client-side via @saihm/mcp-server-pro. The endpoint only ever sees ciphertext.
Install
git clone https://github.com/citw2/demo-claude-code
cd demo-claude-code
npm install
Add it to Claude Code
claude mcp add saihm-memory -- node /absolute/path/to/demo-claude-code/server.mjs
Add it to Cursor
Add to ~/.cursor/mcp.json (or a project .cursor/mcp.json):
{
"mcpServers": {
"saihm-memory": {
"command": "node",
"args": ["/absolute/path/to/demo-claude-code/server.mjs"]
}
}
}
Now ask your assistant to remember things — they persist through the session and any model can recall them. Out of the box this uses a local, in-process blind sandbox (memory lasts for the editor session) so you can try it with zero signup.
Durable, hosted memory (recommended)
For memory that follows you across machines and sessions — stored on the real, blind, non-custodial SAIHM endpoint — join SAIHM and add env to the same config:
{
"mcpServers": {
"saihm-memory": {
"command": "node",
"args": ["/absolute/path/to/demo-claude-code/server.mjs"],
"env": {
"SAIHM_ENDPOINT_URL": "https://saihm.coti.global/mcp",
"SAIHM_AUTH_HEADER": "Bearer <your-onboard-JWT>",
"SAIHM_MASTER_SECRET_HEX": "<at least 64 hex chars, generated and held only by you>"
}
}
}
}
Your master secret never leaves your machine; the endpoint stores only ciphertext.
Learn more
Part of the SAIHM demos
- demo-cross-model-memory — one memory across Claude, DeepSeek, Qwen, Kimi, GLM, GPT, with provable erasure.
- All demos + landing page.
- Built on @saihm/mcp-server-pro and @saihm/client-pro.
- Join the protocol: saihm.coti.global/join.
License
Apache-2.0 © SAIHM
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
Neon Database
MCP server for interacting with Neon Management API and databases
E2B
Using MCP to run code via e2b.
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.