OpenViking MCP
Provides AI assistants with access to the OpenViking knowledge base for semantic search, document reading, and full-text retrieval. It enables vector-based intelligence, L0/L1 summaries, and glob-based pattern matching for local documentation.
README
OpenViking MCP
OpenViking MCP Server - 为AI助手提供OpenViking知识库访问能力
功能
- 语义搜索 - 基于向量嵌入的智能检索
- 文档读取 - 读取PDF、MD等文档内容
- 模式匹配 - 使用glob模式搜索文件
- 摘要/概览 - 获取L0摘要和L1概览
- 全文搜索 - 关键字全文检索
快速开始
1. 安装依赖
pip install openviking mcp
2. 配置Ollama
确保Ollama服务运行中,并安装嵌入模型:
ollama serve
ollama pull qwen3-embedding:0.6b
3. 配置OpenCode
编辑 C:\Users\fenci\.config\opencode\opencode.json:
{
"mcp": {
"openviking": {
"type": "local",
"command": ["python", "path\\to\\openviking_mcp_server.py"],
"environment": {
"OPENVIKING_DATA_PATH": "path\\to\\viking_data",
"OPENVIKING_CONFIG_FILE": "path\\to\\ov.conf"
},
"enabled": true,
"timeout": 20000
}
}
}
4. 使用
在OpenCode中直接搜索:
使用 openviking 搜索"维斯塔斯接地"
项目结构
openviking-mcp/
├── openviking_mcp_server.py # MCP服务器实现
├── OPENVIKING_MCP_MANUAL.md # 详细文档
├── example_usage.py # 使用示例
├── ov.conf # 配置文件示例
├── viking_data/ # 数据目录(可选)
└── docs/ # 文档目录(可选)
可用工具
| 工具 | 功能 |
|---|---|
openviking_find |
语义搜索 |
openviking_read |
读取内容 |
openviking_glob |
模式匹配 |
openviking_abstract |
L0摘要 |
openviking_overview |
L1概览 |
openviking_grep |
全文搜索 |
文档
详细使用说明请参考 OPENVIKING_MCP_MANUAL.md
相关链接
版本
- OpenViking: 0.1.17
- MCP SDK: 1.25.0
- Python: 3.13+
许可证
MIT License
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.