Velruna
Shared, inspectable fact store with provenance and age for AI agents, on OpenSearch
Velruna is an open-source MCP server for knowledge and memory. It runs locally on your machine and is started by your AI client.
- Pricing
- Open source
- Platforms
- CLI, Linux, macOS
- Runs
- Locally
- What it can do
- Can change data (4 tools)
- Access
- Needs a secret key or token
- Version
- 0.9.6
Similar MCP servers
Install
Add with the CLI
Run in a 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.6Add --scope user to use it in every project, or --scope project to share it in .mcp.json.
Or share it with your project
Add to .mcp.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>"
}
}
}
}Add to claude_desktop_config.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.
Add to ~/.cursor/mcp.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.
Add to ~/.copilot/mcp-config.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.
Add with the CLI
Run in a terminal
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.6Or add to config.toml
Add to ~/.codex/config.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>" }Add to your client's MCP settings (most use this shape)
{
"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>"
}
}
}
}Gemini CLI and Antigravity
Gemini CLI
Add to ~/.gemini/settings.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
Antigravity
Add to ~/.gemini/config/mcp_config.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 (formerly Windsurf)
Add to ~/.config/devin/mcp_config.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
Add to cline_mcp_settings.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
Add to Zed settings.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
Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add
{ "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.
Junie
Add to ~/.junie/mcp/mcp.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
Add to ~/.kiro/settings/mcp.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.
Using several servers? Build one config file with the MCP config generator.
Configuration
OPENSEARCH_URLOpenSearch endpoint the server reads and writes (velruna does not embed a store).RequiredOPENSEARCH_USEROpenSearch username.RequiredOPENSEARCH_PASSWORDOpenSearch password (kept in the client's secret store, never in the image).RequiredVELRUNA_ALLOW_PLAINTEXTSet to 1 to allow a plain http:// endpoint during development.
About Velruna
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.
Tools this server provides (16)
Taken from the project documentation; the running server may differ.
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_statusName suggests: reads
- Check store connectivity and configuration.
- velruna_searchName suggests: reads
- Full-text search over facts.
- velruna_getName suggests: reads
- Get a fact by key.
- velruna_addName suggests: changes
- Add or correct a fact.
- velruna_add_batchName suggests: changes
- Add several facts in one call.
- velruna_patchName suggests: changes
- Apply partial updates to a fact.
- velruna_patch_batchName suggests: changes
- Apply several partial updates in one call.
- velruna_listName 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_docName suggests: reads
- Fetch a web page into the docs index.
- velruna_get_docName suggests: reads
- Read a stored document block.
- velruna_search_docsName suggests: reads
- Search stored documents.
What it does
- 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
Pricing
Open source
Open source, self-hosted on your own OpenSearch node.
Velruna 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.