
Kybase
io.github.Kyrzin由 GitHub 帳號 Kyrzin 發布v0.2.4更新於 Oct 30, 2026
Self-hosted Markdown memory for AI agents: notes you can read and edit, with hybrid search.
概覽
自架的 Markdown 記憶伺服器,為本機 AI 助理提供 18 個工具,用來讀取、搜尋、寫入與連結存放於內嵌 Postgres 的筆記。
- 可以做什麼
- 讀取、寫入並連結本機 Markdown 知識庫中的筆記
- 以全文搜尋筆記(支援英文與俄文,忽略重音與大小寫),設定嵌入供應商後還可依語意搜尋
- 透過索引狀態工具查看背景嵌入進度
- 將整個知識庫匯出為含 frontmatter 與 wikilink 的純 Markdown 檔案壓縮包
- 適用情境
- 適合希望 Claude Code、Claude Desktop 或 Cursor 等本機助理在多次工作階段間保留持久、可人工閱讀的記憶,又不想執行 Docker 或另裝資料庫的情況。適用於單機使用;若需要網頁介面、圖譜檢視、分享或多個助理同時存取,README 建議改用完整版 Kybase 應用程式。
- 執行需求
- 透過 npx 以 stdio 在本機執行(需要 Node.js)。不需帳號或驗證。所有變數皆為選用:KYBASE_DATA_DIR(預設 ~/.kybase)、DATABASE_URL 用來連線既有的 Kybase Postgres、EMBEDDING_PROVIDER(ollama、google 或 openai)、OLLAMA_URL 與 OLLAMA_MODEL,或用於雲端嵌入的 GOOGLE_API_KEY / OPENAI_API_KEY。執行時約佔用數百 MB 記憶體。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Kybase,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
kybase-mcp
Persistent memory for AI agents, as a single command:
No Docker, no database to install, no server to run. The first start
creates a local knowledge base under ~/.kybase and speaks MCP over
stdio. Your notes are plain Markdown in Postgres — running on your
machine, leaving it only if you choose a cloud embedding provider.
This is the same MCP server the full Kybase app exposes over HTTP. Use this package when you want memory for a local agent; use the full app when you also want the web UI, the knowledge graph view, sharing, and access for several agents at once.
Connect an agent
Claude Code — .mcp.json in your project, or claude mcp add:
Claude Desktop — the same block in claude_desktop_config.json
(macOS: ~/Library/Application Support/Claude/claude_desktop_config.json,
Windows: %APPDATA%\Claude\claude_desktop_config.json).
Cursor — the same block in .cursor/mcp.json or ~/.cursor/mcp.json.
Several clients on one machine can use it at once: the first process to start owns the database, and the others connect to that process.
Restart the client and ask it to remember something. It gets 18 tools for reading, searching, writing, and linking notes.
Claude Desktop, one click — download kybase-mcp-<version>.mcpb from
Releases and open it; the
data folder and embedding provider are set in the extension's settings.
The server is listed in the official MCP Registry as
io.github.Kyrzin/kybase.
Search
Full-text search works immediately, in English and Russian, accent- and case-insensitive.
Semantic search — finding a note by meaning when it shares no words with your question — needs an embedding provider. The local option is Ollama:
Existing notes are embedded in the background as soon as a provider is
available; indexing_status reports progress. Without one, nothing
breaks — semantic search simply stays idle.
Reading your notes
The embedded database is not a folder of .md files, so this writes the
whole vault out as one:
Plain Markdown with frontmatter, folders as directories, [[wikilinks]]
intact — open it in any editor. It is also exactly the archive the full
Kybase app accepts under Settings → Import .zip, so starting here and
moving to the web UI later costs one command in each direction.
Configuration
Every variable is optional.
Build from source
The package bundles code from the main repository, so build it from a checkout rather than from this directory alone:
Your data
Everything is under KYBASE_DATA_DIR:
pgdata/— the database itself (Postgres compiled to WebAssembly, with pgvector). Copy the directory to back it up.secret— generated on first run,0600. It encrypts any embedding provider API keys you store. Keep it with the data.run/— the unix socket the database listens on, in a0700directory. It has no password, so file permissions are the access control. Windows cannot listen on a socket path, so there the database binds an unused loopback port instead — reachable by other processes running as you, and never from another machine.KYBASE_EMBEDDED_TCP=1forces that mode on Unix too, for a data directory on a filesystem that cannot host a socket.
Expect the process to hold a few hundred MB of memory while it runs: the
embedded database is a full Postgres, and it lives inside it. Pointing
DATABASE_URL at a Postgres you already run avoids that entirely.
Note content is plain Markdown and every note is readable through the MCP
tools, so an agent can always read the whole vault back out, and
kybase-mcp export writes it out as files — see
Reading your notes.
License
來源:packages/kybase-mcp/README.md,提交 615975f
工具
0版本歷史
4- v0.2.4最新Oct 29, 2026
- v0.2.3Oct 22, 2026
- v0.2.2Oct 2, 2026
- v0.2.1Sep 23, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分
