# Velruna

> Velruna is an open-source MCP server for knowledge and memory. Shared, inspectable fact store with provenance and age for AI agents, on OpenSearch. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** CLI, Linux, macOS, Windows, Self-hosted
- **Repository:** https://github.com/nemonobody/velruna
- **MCP Registry name:** io.github.NemoNobody/velruna
- **Categories:** [knowledge and memory](https://ai-powered.com/categories/knowledge-and-memory)
- **Listing updated:** 2026-11-27

## About

Velruna keeps facts that a person or agent has already checked, such as file locations, endpoint and config values, and observed behavior, in an OpenSearch index. Each fact records its source, when it was observed, who wrote it, and a full append-only journal of earlier values, so a stale entry can be seen as stale rather than trusted blindly.

Agents read facts with an age and a staleness flag. The store tells an agent when a value may have moved and should be checked against the source again, but it never decides on its own what is true. Lookups are by key, by exact keyword, or by BM25 full-text search over values, notes and summaries, and long documents are read one block at a time to keep context small.

It suits a small team or one person working the same repositories across several sessions and machines, who want one shared store instead of a memory file per clone. Running it requires a reachable OpenSearch node, and the store is plaintext, so secrets are meant to stay out of facts; a best-effort guard refuses or redacts obvious credentials on write.

## Features

- **Provenance on every fact:** Each fact stores where it came from, when it was observed, and which model, host or session wrote it.
- **Append-only change journal:** Superseded values are kept in a write-forever journal, so earlier states can always be read back.
- **Staleness from age and TTL:** Reads report age and a stale flag based on per-category time limits, prompting re-verification rather than deletion.
- **Selective reading:** Listings return compact rows and long documents are split into blocks, so only the needed part enters context.
- **Secret guard on writes:** Credential-like text is refused or redacted before it reaches the plaintext index.
- **Shared access via OpenSearch:** Several agents and users can share one store, with access control provided by OpenSearch's security plugin.

## Good for

- Remembering verified file paths and config values across coding agent sessions
- Letting two agents on the same project pick up each other's findings without a human relaying them
- Keeping a dated audit trail of when a configuration value was checked and changed
- Caching fetched documentation pages as searchable blocks for later agent reads

## Install

### Claude Code: Add with the CLI (Terminal)

```sh
claude mcp add velruna --env OPENSEARCH_URL='<OPENSEARCH_URL>' --env OPENSEARCH_USER='<OPENSEARCH_USER>' --env OPENSEARCH_PASSWORD='<OPENSEARCH_PASSWORD>' -- docker run -i --rm -e OPENSEARCH_URL -e OPENSEARCH_USER -e OPENSEARCH_PASSWORD ghcr.io/nemonobody/velruna:0.9.6
```

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

### Claude Code: Or share it with your project (.mcp.json)

```json
{
  "mcpServers": {
    "velruna": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "OPENSEARCH_URL",
        "-e",
        "OPENSEARCH_USER",
        "-e",
        "OPENSEARCH_PASSWORD",
        "ghcr.io/nemonobody/velruna:0.9.6"
      ],
      "env": {
        "OPENSEARCH_URL": "<OPENSEARCH_URL>",
        "OPENSEARCH_USER": "<OPENSEARCH_USER>",
        "OPENSEARCH_PASSWORD": "<OPENSEARCH_PASSWORD>"
      }
    }
  }
}
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "velruna": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "OPENSEARCH_URL",
        "-e",
        "OPENSEARCH_USER",
        "-e",
        "OPENSEARCH_PASSWORD",
        "ghcr.io/nemonobody/velruna:0.9.6"
      ],
      "env": {
        "OPENSEARCH_URL": "<OPENSEARCH_URL>",
        "OPENSEARCH_USER": "<OPENSEARCH_USER>",
        "OPENSEARCH_PASSWORD": "<OPENSEARCH_PASSWORD>"
      }
    }
  }
}
```

Settings → Developer → Edit Config, then quit and reopen Claude Desktop.

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

```json
{
  "mcpServers": {
    "velruna": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "OPENSEARCH_URL",
        "-e",
        "OPENSEARCH_USER",
        "-e",
        "OPENSEARCH_PASSWORD",
        "ghcr.io/nemonobody/velruna:0.9.6"
      ],
      "env": {
        "OPENSEARCH_URL": "<OPENSEARCH_URL>",
        "OPENSEARCH_USER": "<OPENSEARCH_USER>",
        "OPENSEARCH_PASSWORD": "<OPENSEARCH_PASSWORD>"
      }
    }
  }
}
```

Use .cursor/mcp.json in a project to share it with the project.

### VS Code (~/.copilot/mcp-config.json)

```json
{
  "mcpServers": {
    "velruna": {
      "type": "stdio",
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "OPENSEARCH_URL",
        "-e",
        "OPENSEARCH_USER",
        "-e",
        "OPENSEARCH_PASSWORD",
        "ghcr.io/nemonobody/velruna:0.9.6"
      ],
      "env": {
        "OPENSEARCH_URL": "<OPENSEARCH_URL>",
        "OPENSEARCH_USER": "<OPENSEARCH_USER>",
        "OPENSEARCH_PASSWORD": "<OPENSEARCH_PASSWORD>"
      }
    }
  }
}
```

Or put the same entry in .mcp.json at your workspace root to share it.

### Codex: Add with the CLI (Terminal)

```sh
codex mcp add velruna --env OPENSEARCH_URL='<OPENSEARCH_URL>' --env OPENSEARCH_USER='<OPENSEARCH_USER>' --env OPENSEARCH_PASSWORD='<OPENSEARCH_PASSWORD>' -- docker run -i --rm -e OPENSEARCH_URL -e OPENSEARCH_USER -e OPENSEARCH_PASSWORD ghcr.io/nemonobody/velruna:0.9.6
```

### Codex: Or add to config.toml (~/.codex/config.toml)

```toml
[mcp_servers.velruna]
command = "docker"
args = ["run", "-i", "--rm", "-e", "OPENSEARCH_URL", "-e", "OPENSEARCH_USER", "-e", "OPENSEARCH_PASSWORD", "ghcr.io/nemonobody/velruna:0.9.6"]
env = { OPENSEARCH_URL = "<OPENSEARCH_URL>", OPENSEARCH_USER = "<OPENSEARCH_USER>", OPENSEARCH_PASSWORD = "<OPENSEARCH_PASSWORD>" }
```

### Gemini CLI and Antigravity: Gemini CLI (~/.gemini/settings.json)

```json
{
  "mcpServers": {
    "velruna": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "OPENSEARCH_URL",
        "-e",
        "OPENSEARCH_USER",
        "-e",
        "OPENSEARCH_PASSWORD",
        "ghcr.io/nemonobody/velruna:0.9.6"
      ],
      "env": {
        "OPENSEARCH_URL": "<OPENSEARCH_URL>",
        "OPENSEARCH_USER": "<OPENSEARCH_USER>",
        "OPENSEARCH_PASSWORD": "<OPENSEARCH_PASSWORD>"
      }
    }
  }
}
```

Or run: gemini mcp add -s user -e OPENSEARCH_URL='<OPENSEARCH_URL>' -e OPENSEARCH_USER='<OPENSEARCH_USER>' -e OPENSEARCH_PASSWORD='<OPENSEARCH_PASSWORD>' velruna docker -- run -i --rm -e OPENSEARCH_URL -e OPENSEARCH_USER -e OPENSEARCH_PASSWORD ghcr.io/nemonobody/velruna:0.9.6

### Gemini CLI and Antigravity: Antigravity (~/.gemini/config/mcp_config.json)

```json
{
  "mcpServers": {
    "velruna": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "OPENSEARCH_URL",
        "-e",
        "OPENSEARCH_USER",
        "-e",
        "OPENSEARCH_PASSWORD",
        "ghcr.io/nemonobody/velruna:0.9.6"
      ],
      "env": {
        "OPENSEARCH_URL": "<OPENSEARCH_URL>",
        "OPENSEARCH_USER": "<OPENSEARCH_USER>",
        "OPENSEARCH_PASSWORD": "<OPENSEARCH_PASSWORD>"
      }
    }
  }
}
```

Use .agents/mcp_config.json to add it to one workspace only.

### Devin Desktop (~/.config/devin/mcp_config.json)

```json
{
  "mcpServers": {
    "velruna": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "OPENSEARCH_URL",
        "-e",
        "OPENSEARCH_USER",
        "-e",
        "OPENSEARCH_PASSWORD",
        "ghcr.io/nemonobody/velruna:0.9.6"
      ],
      "env": {
        "OPENSEARCH_URL": "<OPENSEARCH_URL>",
        "OPENSEARCH_USER": "<OPENSEARCH_USER>",
        "OPENSEARCH_PASSWORD": "<OPENSEARCH_PASSWORD>"
      }
    }
  }
}
```

On Windows the file is %APPDATA%\\devin\\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

### Cline (cline_mcp_settings.json)

```json
{
  "mcpServers": {
    "velruna": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "OPENSEARCH_URL",
        "-e",
        "OPENSEARCH_USER",
        "-e",
        "OPENSEARCH_PASSWORD",
        "ghcr.io/nemonobody/velruna:0.9.6"
      ],
      "env": {
        "OPENSEARCH_URL": "<OPENSEARCH_URL>",
        "OPENSEARCH_USER": "<OPENSEARCH_USER>",
        "OPENSEARCH_PASSWORD": "<OPENSEARCH_PASSWORD>"
      }
    }
  }
}
```

Open it from the MCP Servers icon → Configure → Configure MCP Servers.

### Zed (Zed settings.json)

```json
{
  "context_servers": {
    "velruna": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "OPENSEARCH_URL",
        "-e",
        "OPENSEARCH_USER",
        "-e",
        "OPENSEARCH_PASSWORD",
        "ghcr.io/nemonobody/velruna:0.9.6"
      ],
      "env": {
        "OPENSEARCH_URL": "<OPENSEARCH_URL>",
        "OPENSEARCH_USER": "<OPENSEARCH_USER>",
        "OPENSEARCH_PASSWORD": "<OPENSEARCH_PASSWORD>"
      }
    }
  }
}
```

Open it with zed: open settings file. Merge context_servers into the settings you already have.

### JetBrains AI Assistant and Junie: AI Assistant (Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add)

```json
{
  "mcpServers": {
    "velruna": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "OPENSEARCH_URL",
        "-e",
        "OPENSEARCH_USER",
        "-e",
        "OPENSEARCH_PASSWORD",
        "ghcr.io/nemonobody/velruna:0.9.6"
      ],
      "env": {
        "OPENSEARCH_URL": "<OPENSEARCH_URL>",
        "OPENSEARCH_USER": "<OPENSEARCH_USER>",
        "OPENSEARCH_PASSWORD": "<OPENSEARCH_PASSWORD>"
      }
    }
  }
}
```

The AI Assistant docs only show command and args. If the env block is ignored, use Junie for this server.

### JetBrains AI Assistant and Junie: Junie (~/.junie/mcp/mcp.json)

```json
{
  "mcpServers": {
    "velruna": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "OPENSEARCH_URL",
        "-e",
        "OPENSEARCH_USER",
        "-e",
        "OPENSEARCH_PASSWORD",
        "ghcr.io/nemonobody/velruna:0.9.6"
      ],
      "env": {
        "OPENSEARCH_URL": "<OPENSEARCH_URL>",
        "OPENSEARCH_USER": "<OPENSEARCH_USER>",
        "OPENSEARCH_PASSWORD": "<OPENSEARCH_PASSWORD>"
      }
    }
  }
}
```

Use .junie/mcp/mcp.json to share it with a project.

### Kiro (~/.kiro/settings/mcp.json)

```json
{
  "mcpServers": {
    "velruna": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "OPENSEARCH_URL",
        "-e",
        "OPENSEARCH_USER",
        "-e",
        "OPENSEARCH_PASSWORD",
        "ghcr.io/nemonobody/velruna:0.9.6"
      ],
      "env": {
        "OPENSEARCH_URL": "<OPENSEARCH_URL>",
        "OPENSEARCH_USER": "<OPENSEARCH_USER>",
        "OPENSEARCH_PASSWORD": "<OPENSEARCH_PASSWORD>"
      }
    }
  }
}
```

Use .kiro/settings/mcp.json to add it to one workspace only.

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

```json
{
  "mcpServers": {
    "velruna": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "OPENSEARCH_URL",
        "-e",
        "OPENSEARCH_USER",
        "-e",
        "OPENSEARCH_PASSWORD",
        "ghcr.io/nemonobody/velruna:0.9.6"
      ],
      "env": {
        "OPENSEARCH_URL": "<OPENSEARCH_URL>",
        "OPENSEARCH_USER": "<OPENSEARCH_USER>",
        "OPENSEARCH_PASSWORD": "<OPENSEARCH_PASSWORD>"
      }
    }
  }
}
```

## Tools

From the tool list in its README, going by the names, 4 of 16 tools change data; 5 names don't say. From the server's own tool labels and tool names; not verified by us.

- `velruna_status` (name suggests: reads): Check store connectivity and configuration.
- `velruna_search` (name suggests: reads): Full-text search over facts.
- `velruna_get` (name suggests: reads): Get a fact by key.
- `velruna_add` (name suggests: changes): Add or correct a fact.
- `velruna_add_batch` (name suggests: changes): Add several facts in one call.
- `velruna_patch` (name suggests: changes): Apply partial updates to a fact.
- `velruna_patch_batch` (name suggests: changes): Apply several partial updates in one call.
- `velruna_list` (name suggests: reads): List facts for a project in compact form.
- `velruna_keys`: Find facts by key prefix or pattern.
- `velruna_journal`: Read the journal of a key.
- `velruna_history_info`: Get a compact journal overview for a key.
- `velruna_prune`: Drop old journal entries.
- `velruna_obsolete`: Mark a fact obsolete.
- `velruna_fetch_doc` (name suggests: reads): Fetch a web page into the docs index.
- `velruna_get_doc` (name suggests: reads): Read a stored document block.
- `velruna_search_docs` (name suggests: reads): Search stored documents.

## FAQ

### What storage does Velruna need?

It requires a reachable OpenSearch endpoint and does not embed its own store. A single local node is enough to start.

### How are secrets handled?

The OpenSearch password is read from environment variables or the OS keyring rather than the image. Writes are scanned for credential-like text, but the index is plaintext, so secrets should not be stored as facts.

### Does Velruna use embeddings or semantic search?

No. Search is BM25 full-text over values, notes and summaries, and matching meaning is left to the model reading the results.

### How is Velruna run as an MCP server?

It runs over stdio through the velruna mcp command or the ghcr.io container image, and exposes tools such as velruna_search, velruna_get and velruna_add.

### Is Velruna free?

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

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

Run this command in your terminal: claude mcp add velruna --env OPENSEARCH_URL='<OPENSEARCH_URL>' --env OPENSEARCH_USER='<OPENSEARCH_USER>' --env OPENSEARCH_PASSWORD='<OPENSEARCH_PASSWORD>' -- docker run -i --rm -e OPENSEARCH_URL -e OPENSEARCH_USER -e OPENSEARCH_PASSWORD ghcr.io/nemonobody/velruna:0.9.6

### What are the best alternatives to Velruna?

The closest alternatives to Velruna are Loreweave, Factum, Knowl, Memory Find and Veracium.

## Where this comes from

- Description: written from the project's README and its MCP Registry entry.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [Loreweave](https://ai-powered.com/mcp/loreweave): Loreweave is an open-source MCP server for knowledge and memory.
- [Factum](https://ai-powered.com/mcp/factum): Factum is an open-source MCP server for knowledge and memory.
- [Knowl](https://ai-powered.com/mcp/knowl): Knowl is a freemium MCP server for knowledge and memory.
- [Memory Find](https://ai-powered.com/mcp/memory-find): Memory Find is an open-source MCP server for knowledge and memory.
- [Veracium](https://ai-powered.com/mcp/veracium): Veracium is an open-source MCP server for knowledge and memory.
- [Vayl](https://ai-powered.com/mcp/vayl): Vayl is an open-source MCP server for knowledge and memory.
- [Tugra](https://ai-powered.com/mcp/tugra): Tugra is an open-source MCP server for knowledge and memory.
- [Memors](https://ai-powered.com/mcp/memors): Memors is an open-source MCP server for knowledge and memory.

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