Skip to main content
Glama
citw2
by citw2

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 SAIHM on GitHub 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.

Related MCP server: evermemos-mcp-server

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.

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

License

Apache-2.0 © SAIHM

Install Server
A
license - permissive license
A
quality
A
maintenance

Maintenance

Maintainers
Response time
Release cycle
1Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

View all related MCP servers

Related MCP Connectors

  • User-owned memory for AI agents, Copilot, Claude, IDEs, CLIs, and chat apps over remote MCP.

  • Universal memory for AI agents and tools. Save, organize and search context anywhere.

  • Hosted memory for AI agents that learns and forgets — one key across Claude, Cursor & ChatGPT.

View all MCP Connectors

Latest Blog Posts

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/citw2/demo-claude-code'

If you have feedback or need assistance with the MCP directory API, please join our Discord server