Use this file to discover all available pages before exploring further.
The OpenViking MCP server provides Model Context Protocol tools for semantic search and RAG (Retrieval-Augmented Generation). Connect it to Claude Desktop, Claude CLI, or any MCP-compatible client.
Perform semantic search without LLM generation.Parameters:
search( query: str, # Search query top_k: int = 5, # Number of results (1-20) score_threshold: float = 0.2, # Min relevance score (0.0-1.0) target_uri: str = "" # Optional URI to scope search)
Example usage:
You: Search for "memory extraction" in OpenViking docsClaude: [Uses search tool] Found 3 results: [1] viking://resources/OpenViking/docs/concepts/memory.md (score: 0.9123) Memory extraction is the process of analyzing conversation history and identifying key facts, preferences, and decisions to store... [2] viking://resources/OpenViking/guides/memory-setup.md (score: 0.8567) To configure memory extraction, set the following parameters in ov.conf... [3] viking://resources/OpenViking/examples/memory-plugin/README.md (score: 0.7891) This example demonstrates how to use OpenViking's memory extraction...
Add documents, directories, or URLs to the database.Parameters:
add_resource( resource_path: str # Local file/directory path or URL)
Supported formats:
PDF, Markdown, Text, HTML
Local files and directories
URLs (auto-downloaded)
GitHub repositories (via URL)
Example usage:
You: Add the FastAPI documentation to OpenVikingClaude: [Uses add_resource tool with https://github.com/tiangolo/fastapi] Resource added and indexed: viking://resources/fastapiYou: Now search for dependency injection in FastAPIClaude: [Uses search tool] Found 5 results about dependency injection in FastAPI...
# Use custom config and portuv run server.py --config ~/my-config/ov.conf --port 9000# Use environment variablesexport OV_CONFIG=./ov.confexport OV_DATA=./my-dataexport OV_PORT=3000uv run server.py# Enable debug loggingexport OV_DEBUG=1uv run server.py# Use stdio transport (Claude Desktop)uv run server.py --transport stdio
The MCP Inspector is a tool for testing MCP servers:
# Start your OpenViking MCP serveruv run server.py# In another terminal, start the inspectornpx @modelcontextprotocol/inspector# Connect to http://localhost:2033/mcp