# Saihm MCP

> Saihm MCP is an open-source MCP server for knowledge and memory. Standards client that gives agents encrypted memory through your own SAIHM operator. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Starting price:** $50 a month
- **Platforms:** CLI, self-hosted
- **Website:** https://saihm.net
- **Repository:** https://github.com/saihm-admin/saihm-mcp
- **MCP Registry name:** io.github.SAIHM-Admin/saihm-mcp
- **Categories:** knowledge and memory, security
- **Listing updated:** 2026-11-15

## About

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.

## Features

- **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

## Install

### Claude Code (Terminal)

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

### Claude Desktop (claude_desktop_config.json)

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

### Cursor (~/.cursor/mcp.json)

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

### VS Code (.vscode/mcp.json)

```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>"
      }
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

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

### Other clients (your client's MCP settings (most use this shape))

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

## Tools

- `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

## 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

- [REA](https://ai-powered.com/mcp/rea): REA is an open-source MCP server for developer tools.
- [Codebase Memory](https://ai-powered.com/mcp/codebase-memory): Codebase Memory is an open-source MCP server for knowledge and memory.
- [XERJ](https://ai-powered.com/mcp/xerj): XERJ is an open-source MCP server for knowledge and memory.
- [Claude Code Ultimate Guide](https://ai-powered.com/mcp/claude-code-ultimate-guide): Claude Code Ultimate Guide is an open-source MCP server for ai models and llm tooling.
- [Nautilus Compass Memory](https://ai-powered.com/mcp/nautilus-compass-memory): Nautilus Compass Memory is an open-source MCP server for knowledge and memory.
- [Agent Roast](https://ai-powered.com/mcp/agent-roast): Agent Roast is an open-source MCP server for developer tools.
- [Midplane](https://ai-powered.com/mcp/midplane): Midplane is an open-source MCP server for databases.
- [Leash](https://ai-powered.com/mcp/leash): Leash is a free MCP server for security.

---
Source: https://ai-powered.com/mcp/saihm-mcp
