Store and retrieve knowledge using semantic search, powered by local embeddings. No external API keys required.
✨ Features
- 🔍 Semantic Search — Find knowledge using vector embeddings (BGE-small-en-v1.5)
- 📝 Text Search — Keyword-based search fallback
接入你的智能体
從發布者安裝。不是 PlugMCP 端點。
遠端 URL 還是本機指令? 兩種安裝方式的差異
來自發布者
Store and retrieve knowledge using semantic search, powered by local embeddings. No external API keys required.
🧠 Personal knowledge MCP server with vector database for Opencode. Store and retrieve knowledge using semantic search, powered by local embeddings.
~/.local/share/opencode-personal-knowledge/Add to ~/.config/opencode/opencode.jsonc:
{
"mcp": {
"personal-knowledge": {
"type": "local",
"command": ["bunx", "opencode-personal-knowledge"],
"enabled": true
}
}
}
Restart Opencode — the MCP tools will be available immediately.
git clone https://github.com/NocturnLabs/opencode-personal-knowledge.git
cd opencode-personal-knowledge
bun install
bun run mcp # Start MCP server
Log and search across entire OpenCode sessions.
User: "store a knowledge entry about Opencode Features"
Agent: Researches and stores entry:
✅ Stored knowledge entry #2: "Opencode Features"
📊 Indexed for semantic search
User: "@search_knowledge for opencode"
Agent: Returns semantic matches:
Found 1 similar entry:
### 1. Opencode Features (85% similar)
Opencode is an open source AI coding agent...
User: "Start logging this session, call it 'auth debugging'"
Agent: Starts session and logs all exchanges:
✅ Started session #1: "auth debugging"
User: "Search this session for JWT"
Agent: Returns semantic matches from the session:
Found 2 matches in session #1:
### 1. [user] (92% match)
The JWT token expires too fast...
### 2. [agent] (88% match)
The TTL is set to 60 instead of 3600...
By default, data is stored in:
~/.local/share/opencode-personal-knowledge/
├── knowledge.db # SQLite database
└── vectors/ # LanceDB vector store
Override with environment variable:
export OPENCODE_PK_DATA_DIR=/custom/path
Uses BGE-small-en-v1.5 via FastEmbed (auto-downloads on first use).
MIT © NocturnLabs
🧠 Personal knowledge MCP server with vector database for Opencode. Store and retrieve knowledge using semantic search, powered by local embeddings.
工具
尚無工具清單。遠端伺服器會在首次健康檢查後取得工具清單。
常見問題
在本頁複製適用於 Cursor、Claude Desktop、Claude Code 或 VS Code 的 stdio 設定。它使用發布者的安裝方式,而不是 PlugMCP 代理伺服器。
這筆記錄未列出必要的環境變數。
Opencode Personal Knowledge 透過 stdio 在本機執行。
上次檢查時間:2026-10-28。 🧠 Personal knowledge MCP server with vector database for Opencode. Store and retrieve knowledge using semantic search, powered by local embeddings.