Skip to content
MCP server

Saihm MCP

Standards client that gives agents encrypted memory through your own SAIHM operator

Runs locallyStatus and history
Install
Pricing
Open source
Platforms
CLI, self-hosted
Runs
Locally
Version
0.3.17
Listing updated
2 days ago

About Saihm MCP

Saihm MCP is an open-source MCP server for knowledge and memory. It runs locally on your machine and is started by your AI client.

This package is the crypto-free client for people who run or subscribe to a custodial SAIHM operator. It holds no cryptography, storage or protocol runtime of its own; each tool forwards to the operator endpoint you configure with SAIHM_ENDPOINT_URL and an authorization header the operator issues. The README says the hosted service at saihm.net is non-custodial and needs the companion package @saihm/mcp-server-pro instead.

Eight tools cover remembering and recalling memory cells, erasing them, checking storage status, sharing chosen shards with another agent and revoking that access, plus governance propose and vote tools that are off unless the operator enables them. Each carries MCP read-only, destructive and idempotent hints so hosts can gate confirmations.

SAIHM, short for Sovereign AI Horizontal Memory, describes encrypted, signed memory cells that the user owns, with sharing that has expiry and revocation. The hosted service has a one-time free allowance, then Pro at $50 a month, Pro Fast at $250 and Enterprise from $15,000 a month, or pay-as-you-go from $0.05 per recall. This client itself is Apache-2.0.

Install

Run in a terminal

claude mcp add saihm-mcp --env SAIHM_ENDPOINT_URL='<SAIHM_ENDPOINT_URL>' --env SAIHM_AUTH_HEADER='<SAIHM_AUTH_HEADER>' -- npx -y @saihm/mcp-server

Add to claude_desktop_config.json

{
  "mcpServers": {
    "saihm-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@saihm/mcp-server"
      ],
      "env": {
        "SAIHM_ENDPOINT_URL": "<SAIHM_ENDPOINT_URL>",
        "SAIHM_AUTH_HEADER": "<SAIHM_AUTH_HEADER>"
      }
    }
  }
}

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "saihm-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@saihm/mcp-server"
      ],
      "env": {
        "SAIHM_ENDPOINT_URL": "<SAIHM_ENDPOINT_URL>",
        "SAIHM_AUTH_HEADER": "<SAIHM_AUTH_HEADER>"
      }
    }
  }
}

Add to .vscode/mcp.json

{
  "servers": {
    "saihm-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@saihm/mcp-server"
      ],
      "env": {
        "SAIHM_ENDPOINT_URL": "<SAIHM_ENDPOINT_URL>",
        "SAIHM_AUTH_HEADER": "<SAIHM_AUTH_HEADER>"
      }
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "saihm-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@saihm/mcp-server"
      ],
      "env": {
        "SAIHM_ENDPOINT_URL": "<SAIHM_ENDPOINT_URL>",
        "SAIHM_AUTH_HEADER": "<SAIHM_AUTH_HEADER>"
      }
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "saihm-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@saihm/mcp-server"
      ],
      "env": {
        "SAIHM_ENDPOINT_URL": "<SAIHM_ENDPOINT_URL>",
        "SAIHM_AUTH_HEADER": "<SAIHM_AUTH_HEADER>"
      }
    }
  }
}

Configuration

  • SAIHM_ENDPOINT_URLEndpoint URL of the custodial SAIHM operator you run or subscribe to. Not the hosted service at https://saihm.net, which is non-custodial: use @saihm/mcp-server-pro for that.Required
  • SAIHM_AUTH_HEADERAuthorization header (typically 'Bearer <token>') issued by your operator.Required

Tools this server provides (8)

Taken from the project documentation; the running server may differ.

saihm_remember
Store an encrypted memory cell
saihm_recall
Retrieve memories decrypted by the operator
saihm_forget
Erase a memory
saihm_status
Protocol runtime stats and storage tier dashboard
saihm_share
Share chosen memory shards with another agent
saihm_revoke_share
Revoke a share
saihm_governance_propose
Forward a governance proposal
saihm_governance_vote
Forward a governance vote

What it does

Operator-based design
Forwards every tool call to the custodial operator you configure.
Memory tools
Remember, recall, forget and status over encrypted memory cells.
Shareable shards
Share chosen shards with another agent and revoke the grant later.
Tool annotations
Read-only, destructive and idempotent hints let hosts gate confirmations.
Optional governance
Propose and vote tools stay off unless the operator enables them.
Framework adapters
The site lists adapters for LangChain, LlamaIndex, LangGraph, CrewAI and AutoGen.

Good for

  • Give a Claude Code or Cursor agent persistent memory through a self-run operator
  • Share a decision with a second agent for a limited time
  • Erase a stored memory on request
  • Run a fleet of agents on one shared memory

Pricing

Open source, from $50 a month

Client is Apache-2.0; hosted SAIHM has a free allowance, Pro $50/mo, Pro Fast $250/mo, Enterprise from $15,000/mo

Prices change. Check saihm.net before you buy.

Saihm MCP FAQ

Which package do I need for the hosted service?

The README points to @saihm/mcp-server-pro for the non-custodial hosted service.

What do I need to configure?

An operator endpoint URL and an authorization header issued by that operator.

Is the client open source?

Yes, it is Apache-2.0.

What does SAIHM cost?

Free one-time allowance, Pro $50/mo, Pro Fast $250/mo, Enterprise from $15,000/mo, or pay-as-you-go per call.

Is Saihm MCP free?

Yes. Saihm MCP is open source, so you can use and self-host it for free.

How do I add Saihm MCP to Claude Code?

Run this command in your terminal: claude mcp add saihm-mcp --env SAIHM_ENDPOINT_URL='<SAIHM_ENDPOINT_URL>' --env SAIHM_AUTH_HEADER='<SAIHM_AUTH_HEADER>' -- npx -y @saihm/mcp-server

What are the best alternatives to Saihm MCP?

The closest alternatives to Saihm MCP are REA, Codebase Memory, XERJ, Claude Code Ultimate Guide and Nautilus Compass Memory.

Alternatives to Saihm MCP

  1. REA

    MCP server

    CLI and MCP server that lets coding agents reverse engineer apps and binaries

    Runs locally
    • Open source
    • 464K GitHub stars
    • Developer tools
  2. Codebase Memory

    MCP server

    Local MCP server that builds a code knowledge graph for AI coding agents

    Runs locally
    • Open source
    • 48.7K GitHub stars
    • Knowledge and memory
  3. XERJ

    MCP server

    Local search engine for AI agents with cited answers over your code and docs

    Runs locally
    • Open source
    • 19.2K GitHub stars
    • Knowledge and memory
  4. MCP server for searching the Claude Code Ultimate Guide from any MCP client

    Runs locally
    • Open source
    • 6.5K GitHub stars
    • AI models and LLM tooling
  5. Local-first long-term memory layer for AI agents, served over MCP

    Not checked yet
    • 5 tools
    • Remote
    • Open source
    • 1.3K GitHub stars
    • Knowledge and memory
  6. Agent Roast

    MCP server

    Offline review that flags agent changes which weaken tests, assertions or CI

    Runs locally
    • Open source
    • 4 Hacker News points
    • Developer tools