← 返回
未分类 Key 中文

OpenViking

RAG and semantic search via OpenViking Context Database MCP server. Query documents, search knowledge base, add files/URLs to vector memory. Use for document Q&A, knowledge management, AI agent memory, file search, semantic retrieval. Triggers on "openviking", "search documents", "semantic search", "knowledge base", "vector database", "RAG", "query pdf", "document query", "add resource".
通过 OpenViking ContextDatabase MCP 服务器实现 RAG 与语义搜索,支持文档查询、知识库搜索、向量化存储添加文件/URL。用于文档问答、知识管理、AI 代理记忆、文件搜索和语义检索。触发关键词:"openviking", "search documents", "semanticsearch", "knowledge base", "vector database", "RAG", "query pdf", "document query", "add resource"。
zaynjarvis
未分类 clawhub v1.0.3 1 版本 99336.6 Key: 需要
★ 10
Stars
📥 5,640
下载
💾 44
安装
1
版本
#latest

概述

OpenViking - Context Database for AI Agents

OpenViking is ByteDance's open-source Context Database designed for AI Agents — a next-generation RAG system that replaces flat vector storage with a filesystem paradigm for managing memories, resources, and skills.

Key Features:

  • Filesystem paradigm: Organize context like files with URIs (viking://resources/...)
  • Tiered context (L0/L1/L2): Abstract → Overview → Full content, loaded on demand
  • Directory recursive retrieval: Better accuracy than flat vector search
  • MCP server included: Full RAG pipeline via Model Context Protocol

Quick Check: Is It Set Up?

test -f ~/code/openviking/examples/mcp-query/ov.conf && echo "Ready" || echo "Needs setup"
curl -s http://localhost:2033/mcp && echo "Running" || echo "Not running"

If Not Set Up → Initialize

Run the init script (one-time):

bash ~/.openclaw/skills/openviking-mcp/scripts/init.sh

This will:

  1. Clone OpenViking from https://github.com/volcengine/OpenViking
  2. Install dependencies with uv sync
  3. Create ov.conf template
  4. Pause for you to add API keys (embedding.dense.api_key, vlm.api_key)

Required: Volcengine/Ark API Keys

Config KeyPurpose
---------------------
embedding.dense.api_keySemantic search embeddings
vlm.api_keyLLM for answer generation

Get keys from: https://console.volcengine.com/ark

Start the Server

cd ~/code/openviking/examples/mcp-query
uv run server.py

Options:

  • --port 2033 - Listen port
  • --host 127.0.0.1 - Bind address
  • --data ./data - Data directory

Server will be at: http://127.0.0.1:2033/mcp

Connect to Claude

claude mcp add --transport http openviking http://localhost:2033/mcp

Or add to ~/.mcp.json:

{
  "mcpServers": {
    "openviking": {
      "type": "http",
      "url": "http://localhost:2033/mcp"
    }
  }
}

Tools Available

ToolDescription
-------------------
queryFull RAG pipeline — search + LLM answer
searchSemantic search only, returns docs
add_resourceAdd files, directories, or URLs

Example Usage

Once connected via MCP:

"Query: What is OpenViking?"
"Search: machine learning papers"
"Add https://example.com/article to knowledge base"
"Add ~/documents/report.pdf"

Troubleshooting

IssueFix
------------
Port in useuv run server.py --port 2034
Auth errorsCheck API keys in ov.conf
Server not foundEnsure it's running: curl localhost:2033/mcp

Files

  • ov.conf - Configuration (API keys, models)
  • data/ - Vector database storage
  • server.py - MCP server implementation

版本历史

共 1 个版本

  • v1.0.3 当前
    2026-05-11 03:50 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

security-compliance

Skill Vetter

spclaudehome
AI智能体技能安全预审工具。安装ClawdHub、GitHub等来源技能前,检查风险信号、权限范围及可疑模式。
★ 1,219 📥 266,855
developer-tools

Github

steipete
使用 `gh` CLI 与 GitHub 交互,通过 `gh issue`、`gh pr`、`gh run` 和 `gh api` 管理议题、PR、CI 运行及高级查询。
★ 672 📥 324,525
ai-intelligence

self-improving agent

pskoett
捕获经验教训、错误和纠正,以实现持续改进。使用时机:(1)命令或操作意外失败;(2)用户纠正……
★ 4,062 📥 799,937