# Spomory

> Spomory is an open-source MCP server for knowledge and memory. Explainable graph-retrieval memory engine with an RL-trained management policy. It can run locally on your machine or as a hosted remote server.

- **Kind:** MCP server
- **Pricing:** Open source
- **Repository:** https://github.com/yliuai/spomory
- **MCP Registry name:** io.github.lyf-wxy/spomory
- **Categories:** knowledge and memory
- **Listing updated:** 2026-11-13

## About

Explainable graph-retrieval memory engine with an RL-trained management policy.

## Install

### Claude Code (Terminal)

```sh
claude mcp add --transport http spomory https://api.yliuai.com/mcp
```

### Claude Desktop (Settings → Connectors → Add custom connector)

```sh
https://api.yliuai.com/mcp
```

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

```json
{
  "mcpServers": {
    "spomory": {
      "url": "https://api.yliuai.com/mcp"
    }
  }
}
```

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

```json
{
  "servers": {
    "spomory": {
      "type": "http",
      "url": "https://api.yliuai.com/mcp"
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "spomory": {
      "serverUrl": "https://api.yliuai.com/mcp"
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "spomory": {
      "type": "http",
      "url": "https://api.yliuai.com/mcp"
    }
  }
}
```

## FAQ

### Is Spomory free?

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

### How do I add Spomory to Claude Code?

Run this command in your terminal: claude mcp add --transport http spomory https://api.yliuai.com/mcp

### What are the best alternatives to Spomory?

The closest alternatives to Spomory are Codebase Memory, XERJ, Claude Code Ultimate Guide, Nautilus Compass Memory and note1.

## Alternatives

- [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.
- [note1](https://ai-powered.com/mcp/note1): note1 is an MCP server for productivity.
- [MedXpert 图书馆连接器（通用版）](https://ai-powered.com/mcp/medxpert): MedXpert 图书馆连接器（通用版） is an open-source MCP server for knowledge and memory.
- [Context Nest](https://ai-powered.com/mcp/context-nest): Context Nest is a freemium MCP server for knowledge and memory.
- [Agent Yurt](https://ai-powered.com/mcp/agent-yurt): Agent Yurt is a free MCP server for knowledge and memory.

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