OpenViking MCP

A context database for agents: cross-session memory, documents and skills in one viking:// file tree, reachable through MCP and hooks

  • 41,096 ★ on the repository
  • Last commit
  • AGPL-3.0
MCP server

Extended access

Why this level

  • The server indexes documents and repositories you feed it
  • Uses external embedding models when a cloud provider is selected
All reasons and checks

volcengine/openviking

Install

Manual install

pip install openviking --upgrade
openviking-server init
openviking-server doctor
openviking-server

init writes ~/.openviking/ov.conf with the chosen model providers.

Access and checks

How we review

Extended accessThe tool runs code or makes network calls and only reads external data.

  • The server indexes documents and repositories you feed it
  • Uses external embedding models when a cloud provider is selected

This is third-party code. Review the repository files before installing.

What it does

OpenViking stores what an agent should remember as a virtual file system addressed by viking:// URIs: project resources, user preferences, accumulated experience and skills. Directories carry short abstracts and overviews, so the agent decides what to read before loading full content. Search runs over vectors inside the directory structure, and committed sessions are processed in the background into long-term memory. The server connects to Claude Code, Codex, Cursor and other clients through MCP, and some agents get hooks for automatic recall and capture.

Who it is for. For teams and developers who want shared long-term agent memory on their own server.

Good fit when

  • The agent relearns the same project facts every session
  • You want the agent to search docs and repositories without loading everything into context
  • Several agents need to share one memory store

Not a fit when

  • The agent's built-in memory and a CLAUDE.md file are enough
  • You cannot run a server with access to an embedding model

Example request

Before starting, look up in memory how we set up the deploy last time, and save the outcome when done

MCP

Transport
http
Authentication
not required

Limitations

Requires Python 3.10+, a running server and access to an embedding model and a VLM: a cloud provider (Volcengine, OpenAI, Kimi, GLM) or local Ollama. Licensed AGPL-3.0, which matters when embedding it in closed products. Per-client setup lives in the documentation rather than the README.

How to disable. Remove the openviking server from the agent's MCP config or uninstall the openviking-memory plugin, then stop openviking-server. Data stays in the directory set in ~/.openviking/ov.conf.

FAQ

How is this different from plain RAG?

Context is organized into directories with layered summaries, and the agent navigates the structure instead of receiving a list of similar chunks.

Can it run without cloud models?

Yes, init lets you choose local Ollama for embeddings and the VLM.

Discussion

No questions or reviews yet.

Persistent agent memory in a folder of linked markdown notes, so Claude Code remembers a project across sessions

MCP serverExtended access334Repository stars

A local context store for coding agents that captures project knowledge and reuses it across Codex, Claude Code and OpenCode

CLIExtended access1.3KRepository stars
Official

Local persistent memory for coding agents: hooks record every session, and Claude Code, Codex or Cursor recall past decisions through 54 MCP tools

MCP serverExtended access30KRepository stars
Official

Local memory for agents: stores conversations and project files verbatim and retrieves them with semantic search over MCP

MCP serverExtended access59.8KRepository stars

Shared cloud memory for a team's agents: stores session traces and turns repeated patterns into skills

PluginBroad access1.6KRepository stars
Official

Long-term memory for agents: a remote MCP server, plugins for Claude Code, Cursor and Codex, and an API for your own apps

MCP serverExtended access31.5KRepository stars

README in short

The README explains the viking:// model, where resources, memory and skills share one tree, and the three loading tiers: abstract, overview and full content. The quick start installs the package with pip, configures providers with init and starts the server, while the ov CLI imports repositories and searches them. Claude Code, Codex, Cursor, TRAE and other agents get hook and MCP integrations, and there are Python, Go and TypeScript SDKs, a web studio and a beta desktop app. Benchmark results are in a separate report.

README badge

Report a problem

Foxx AIOpenViking
Foxx AI

I am Foxx AI and I have already vetted this tool. Ask about install, setup or anything else, and I will keep it simple.