OmniMem

● Active

io.github.richarvey/omnimem

Self-hosted memory for AI agents: semantic recall, dead-end warnings and compiled skills.

Connect this server

One click to install, or copy the config below. Suits: Claude Desktop · Cursor.

Add to Cursor Add to VS CodeClaude Desktop / Claude Code: paste the config below.

Or add it manually — claude_desktop_config.json (Claude Desktop) or .cursor/mcp.json (Cursor):

{
  "mcpServers": {
    "omnimem": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-p",
        "127.0.0.1:8765:8765",
        "-v",
        "omnimem-data:/data",
        "docker.io/richarvey/omnimem:7.1.8"
      ],
      "env": {
        "MCP_AUTH_TOKEN": "<your MCP_AUTH_TOKEN>",
        "ANTHROPIC_API_KEY": "<your ANTHROPIC_API_KEY>"
      }
    }
  }
}
One line, from the terminal
Claude Code
claude mcp add --env MCP_AUTH_TOKEN='<your MCP_AUTH_TOKEN>' --env ANTHROPIC_API_KEY='<your ANTHROPIC_API_KEY>' --transport stdio omnimem -- docker run -i --rm -p 127.0.0.1:8765:8765 -v omnimem-data:/data docker.io/richarvey/omnimem:7.1.8
OpenAI Codex CLI
codex mcp add omnimem --env MCP_AUTH_TOKEN='<your MCP_AUTH_TOKEN>' --env ANTHROPIC_API_KEY='<your ANTHROPIC_API_KEY>' -- docker run -i --rm -p 127.0.0.1:8765:8765 -v omnimem-data:/data docker.io/richarvey/omnimem:7.1.8
VS Code
code --add-mcp '{"name":"omnimem","type":"stdio","command":"docker","args":["run","-i","--rm","-p","127.0.0.1:8765:8765","-v","omnimem-data:/data","docker.io/richarvey/omnimem:7.1.8"],"env":{"MCP_AUTH_TOKEN":"<your MCP_AUTH_TOKEN>","ANTHROPIC_API_KEY":"<your ANTHROPIC_API_KEY>"}}'

Syntax from each client's docs (Claude Code: claude mcp add; Codex: codex mcp add; VS Code: code --add-mcp). Placeholders in angle brackets are values you fill in.

Environment variables
  • MCP_AUTH_TOKENrequiredsecretThe bearer token clients send. The container listens beyond localhost, so OmniMem won't start without one: openssl rand -hex 32 makes a good one
  • ANTHROPIC_API_KEYsecretOptional, for the Claude Haiku features: fact extraction, query expansion, deeper contradiction checks and RSS summaries. Without it nothing leaves the machine

A starting point — check the repository for exact arguments and setup. Restart your client after editing the config.

Category
AI & Agents
Version
7.1.8
Registry
active
Published
Dec 1, 2026
Listed in:Official MCP registry ↗how this is checked

Is it safe? Is it maintained?

Serverdex check: Dec 4, 2026

Looks healthy: OmniMem is maintained, open source.

Maintained
Active
Last commit 2 days ago (Dec 1, 2026), 12 open issues.
Official registry
Active
Published as io.github.richarvey/omnimem in the official MCP registry, version 7.1.8.
Source
Open source, MIT
Public repository under the MIT licence, 107 stars, 15 forks.
Runs
On your machine
A local Docker package started by your client; it can reach whatever your user account can.
Credentials
2 required
Declared environment variables: MCP_AUTH_TOKEN, ANTHROPIC_API_KEY. They stay on your machine; the config on this page shows where each goes.
Owner
Unclaimed
Nobody has claimed this page yet; the data above comes from the registry, GitHub and the live check.

Facts only: last commit and licence from GitHub, the entry's status from the official registry, credentials from the live check. Not a code audit — run the security scan on the endpoint yourself.

A

Grade A · Production-ready

Maintenance & production-readiness — 94/100 from the six repository signals below. A comparable rollup, not a code audit.

  • Recent commits+30/30

    Last commit 2 days ago.

  • Open licence+15/15

    MIT on GitHub.

  • Documentation+15/15

    The repository ships a README.

  • Adoption+14/20

    107 GitHub stars.

  • Registry status+12/12

    Active in the official MCP registry.

  • Product surface+8/8

    Has a homepage or a published package/endpoint.

Own this server? Add the grade badge — it links back here

<a href="https://serverdex.io/server/io-github-richarvey-omnimem?utm_source=report-badge"><img src="https://serverdex.io/server/io-github-richarvey-omnimem/report-badge.svg" alt="OmniMem — Serverdex Report Card A" height="22"></a>

Compare every server's grade on best-maintained MCP servers.

On GitHub

read Dec 2, 2026
Stars
107
Forks
15
Last push
Dec 1, 2026
License
MIT

Rustai-agentsai-memoryclaudeclaude-codecodexdockerembeddingsknowledge-basellmmcpmcp-servermodel-context-protocolonnxragrssrustself-hostedsemantic-memorysqlitevector-search

From the README

omnimem.org · Developed on Squarecows , mirrored to GitHub · Issues on GitHub Stop living the same session twice. Every coding agent session starts from zero. It doesn't know your project. It doesn't remember what failed last week. It has no idea you lost an evening working out why WebKitGTK quietly ignores a redirect from a custom URL scheme. So you explain everything again, and the agent confidently suggests the exact thing that didn't work. Same alarm, same song. You're Bill Murray and your agent is Punxsutawney. OmniMem fixes that. It gives your AI agent a memory that lasts across sessions, projects and machines, over MCP, so it works with whichever agent you like. It runs on your own kit and it's free. That warning came from memory, not luck. A mistake you've already paid for doesn't get to charge you twice. One task, run twice: a recorded pair from the dead-end benchmark, replayed at 3×. Both finish the job, and only one of them spends 32 seconds finding out the hard way. [!NOTE] OmniMem 7 is one app in place of the four containers 6.x ran. The installers for every platform are on the releases page. Upgrading from an earlier 7? See Upgrading. Running 6.x? See Coming from 6.x: the 6.x Docker stack stays on the v6.7.x branch, and its one-line installer still works. One program, two ways to run it OmniMem 7 is a single binary.…

Read the full README on GitHub →

The most-starred AI & Agents servers in the index, with their live-check result.

ServerStarsLast pushLive check
Ruflo82,393Nov 2026Local / not checked
Claude Flow82,392Nov 2026Local / not checked
CodeBurn11,945Nov 2026Local / not checked
Kaneo9,891Nov 2026Local / not checked
Ha MCP8,110Nov 2026Local / not checked

OmniMem: questions people ask

Is OmniMem a remote or a local MCP server?
According to its entry in the official MCP registry, OmniMem ships as a local package (Docker) that your client starts on your machine.
Does OmniMem need an API key?
Its registry entry declares 2 required environment variables: MCP_AUTH_TOKEN, ANTHROPIC_API_KEY. The config on this page shows where each goes.
Is OmniMem safe to use?
Looks healthy: OmniMem is maintained, open source. In detail — maintained: Active; official registry: Active; source: Open source, MIT; runs: On your machine; credentials: 2 required. Serverdex check of Dec 4, 2026. This is a reading of the repository, the registry entry and the live check, not a code audit; run the Serverdex security scan on the endpoint before trusting it with real data.
Is OmniMem still maintained?
Active: the repository's last commit 2 days ago. Last push Dec 1, 2026, 107 GitHub stars, MIT licence. Read from GitHub on Dec 2, 2026.
How do I add OmniMem to Claude, Cursor or VS Code?
Copy the config in "Connect this server" into your client's MCP config file (claude_desktop_config.json, ~/.cursor/mcp.json or .vscode/mcp.json), or use the one-click Add to Cursor / Add to VS Code buttons and the one-line commands for Claude Code and Codex; then restart the client.
  1. MastodonGive Claude and other AI assistants a Mastodon account: 95 tools for posting, timelines and search
Browse all AI & Agents →

Add the badge to your site

Show visitors that OmniMem is listed here — it’s also the link we check for a free listing.

OmniMem — listed on Serverdex

HTML — for your website

<a href="https://serverdex.io/server/io-github-richarvey-omnimem?utm_source=badge"><img src="https://serverdex.io/brand/badge.svg" alt="OmniMem — listed on Serverdex" width="123" height="40" loading="lazy"></a>

Recommended. A dofollow link from your own domain is the one that counts for search engines, and it's the link we check for a free listing.

Markdown — for your README

[![OmniMem — listed on Serverdex](https://serverdex.io/brand/badge.svg)](https://serverdex.io/server/io-github-richarvey-omnimem?utm_source=badge)

Nice for visibility, but GitHub marks README links nofollow, so it doesn't pass authority. Use the HTML badge on your site as well.

Add to CursorAdd to VS CodeOpen in Claude Code

Install buttons — for your README

[![Add to Cursor](https://serverdex.io/brand/install-cursor.svg)](https://serverdex.io/install/cursor/io-github-richarvey-omnimem) [![Add to VS Code](https://serverdex.io/brand/install-vscode.svg)](https://serverdex.io/install/vscode/io-github-richarvey-omnimem) [![Open in Claude Code](https://serverdex.io/brand/install-claude-code.svg)](https://serverdex.io/install/claude-code/io-github-richarvey-omnimem)

One click opens Cursor or VS Code with this server's config prefilled; the Claude Code button lands on the one-line command. The links point at Serverdex, so when your config changes the buttons keep working.

Install buttons — HTML for your docs

<a href="https://serverdex.io/install/cursor/io-github-richarvey-omnimem"><img src="https://serverdex.io/brand/install-cursor.svg" alt="Add to Cursor — via Serverdex" width="140" height="28"></a>
<a href="https://serverdex.io/install/vscode/io-github-richarvey-omnimem"><img src="https://serverdex.io/brand/install-vscode.svg" alt="Add to VS Code — via Serverdex" width="147" height="28"></a>
<a href="https://serverdex.io/install/claude-code/io-github-richarvey-omnimem"><img src="https://serverdex.io/brand/install-claude-code.svg" alt="Open in Claude Code — via Serverdex" width="180" height="28"></a>

Same buttons as plain links for a docs page or website.

Prefer a live badge with the score, stars and live check? Score badge (links to a page that explains the number and back to this listing).