# OmniMem [Health: Active]

**Category:** 🧠 Knowledge & Memory  
**Repository:** https://github.com/richarvey/OmniMem  
**GitHub Stars:** 109  
**Views:** 0  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/omnimem

## Description
Self-hosted semantic memory for AI agents, served over MCP. Persistent sessions, experience scoring, a graveyard for dead ends and skills compiled from what worked, plus knowledge from the RSS feeds you read. One Rust binary on SQLite: a tray app for macOS, Windows and Linux, or a server.

## Claude Desktop Quick Installation
No generated config for this server: it installs through its own setup steps.

The project's own setup steps (from https://github.com/richarvey/OmniMem), copied verbatim. Follow them in order; they are not an mcpServers config.

1. Add to Claude Code:

```sh
claude mcp add --transport http --scope user omnimem http://127.0.0.1:8765/mcp
```

## Documentation

## What OmniMem does

OmniMem provides self-hosted semantic memory for AI agents through MCP. It stores memories in a SQLite file and searches several memory types together: episodic records of decisions and fixes, project context, user preferences, RSS-derived knowledge, and compiled skills.

The system is designed to preserve useful experience between sessions. It records dead ends with the attempted approach, failure reason, and effort involved, allowing later sessions to warn against repeating them. Experience scoring gives greater prominence to lessons that required difficult debugging or unusual workarounds.

Memory entries have a lifecycle that can move from active to deprioritised, archived, and deleted. Provenance and redistribution information are recorded with each memory, helping distinguish user statements, agent conclusions, and retrieved sources.

## How it works

OmniMem 7 packages the MCP server, memory engine, embedding model, RSS ingestion, and database into one Rust binary. The local `all-MiniLM-L6-v2` model runs through ONNX Runtime, so ordinary embedding and retrieval stay on the host. Data is kept in SQLite rather than a separate database service.

The server exposes MCP at `http://127.0.0.1:8765/mcp`. A desktop build runs in the system tray or macOS menu bar and provides the MCP address, memory browsing, skill review, feed editing, backups, and settings. A headless deployment runs with `omnimem serve`, including as a systemd service or Docker container.

RSS feeds are fetched on a schedule, embedded, and stored as knowledge. An optional Anthropic API key enables Claude Haiku features for fact extraction, query expansion, deeper contradiction checks, and RSS summaries.

## Setup and configuration

Download the matching release artifact for Windows, macOS, Linux, or Docker. The desktop options cover Windows 10 and 11, macOS 13.4 or later on Apple silicon, and Linux desktop builds for amd64 and arm64. Linux builds require glibc 2.38 or newer.

For servers, Debian and RPM packages install an `omnimem` systemd service. The service uses `/etc/omnimem/omnimem.env` for configuration and `/var/lib/omnimem` for data. Docker uses a single `/data` volume. The desktop application can add OmniMem to Claude Code or Claude Desktop, while other clients can use the MCP URL directly.

Claude Code can be configured with:

```bash
claude mcp add --transport http --scope user omnimem http://127.0.0.1:8765/mcp
```

Each connecting agent receives OmniMem's usage guide automatically.

## Tools and capabilities

- Provide a combined session briefing with project context, experience statistics, stale memories, new articles, contradictions, and skill suggestions.
- Detect likely contradictions during writes, with deeper checking available through Claude Haiku.
- Identify semantic duplicates as memories are added and clean them up with `find_duplicates()`.
- Compile reinforced lessons and dead ends into `SKILL.md` documents through a propose-and-accept workflow.
- Run background maintenance that archives duplicates, flags contradictions, and tidies expired articles.
- Use Claude Code hooks to inject project briefings, block known dead ends before tool execution, and record session changes.

## Limitations and notes

OmniMem is self-hosted, so deployment includes responsibility for the local database, backups, and server configuration. The desktop application is not available as an Intel macOS build. Linux desktop tarballs require GTK 3 and libayatana-appindicator3, while Linux binaries require glibc 2.38 or newer.

The embedding model runs locally, but Claude Haiku features require an Anthropic API key and send the associated requests to Anthropic. Skill compilation uses an approval gate; lessons do not become skills without acceptance. Memory may be deprioritised or archived instead of being immediately erased when it is no longer useful.

_Full upstream README: https://allmcps.com/mcp/omnimem/readme_

