# open-zk-kb [Health: Active]

**Category:** 🧠 Knowledge & Memory  
**Repository:** https://github.com/mrosnerr/open-zk-kb  
**GitHub Stars:** 7  
**npm Downloads (last month):** 1061  
**Views:** 0  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/open-zk-kb

## Description
Shared, persistent memory for AI assistants, built on the Zettelkasten method.

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "open-zk-kb": {
    "command": "npx",
    "args": ["-y","open-zk-kb"]
  }
}
```

## Documentation

## What open-zk-kb does

The open-zk-kb MCP server provides shared memory for AI assistants using the Zettelkasten method. It stores small, focused notes such as preferences, decisions, corrections, and implementation gotchas, then links related notes into an interconnected knowledge base.

The notes are kept locally as readable Markdown files. This makes the vault available for browsing, editing, and version control rather than locking the data into an opaque service. A rebuildable SQLite database maintains the search indexes while the Markdown vault remains the source of truth.

## How it works

Search uses two complementary indexes: SQLite FTS5 for full-text matching and local vector embeddings generated with MiniLM-L6-v2 for semantic matching. Combining these methods helps retrieve relevant notes when an agent’s wording differs from the wording used when the note was created.

The open-zk-kb MCP server exposes ten knowledge tools. The documented workflow includes storing information, searching the vault, inspecting available context, and checking health. Pi additionally provides native rendering for these tools and can load active project preferences when a session begins, without waiting for a model-initiated search.

The same local knowledge base can be used across the supported client setup, so information learned in one tool can be available when working in another. The README identifies Claude Code, Cursor, Windsurf, OpenCode, Zed, Pi, and OMP as supported clients.

## Setup and configuration

Bun is required. The quick-start installer is run with:

```bash
bunx open-zk-kb@latest
```

The installer configures selected clients, adds agent instructions, and creates a local vault. Configuration is optional: local embeddings work without an API key, and the system is designed to run offline. Additional configuration covers embedding behavior, the vault location, lifecycle settings, and server options.

Pi has a separate package installation command:

```bash
pi install npm:open-zk-kb
```

After installing the Pi package, restart Pi. Bun is still required for the MCP server and its SQLite and embedding work, even though Pi itself uses its supported Node.js runtime.

## Tools and capabilities

The open-zk-kb MCP server supports these core capabilities:

- Store durable notes about agent corrections, preferences, decisions, and project facts.
- Search notes using keyword and semantic matching.
- Supply relevant context to an agent across sessions.
- Inspect the knowledge base and report server health.
- Keep the vault in human-readable Markdown with a rebuildable database index.
- Share one local knowledge base between supported clients.

## Limitations and notes

The system is local by default and does not require an API key or cloud account. Telemetry is disabled by default at runtime. If both `telemetry.enabled` and `telemetry.share` are enabled, one anonymous completed-session event is sent to PostHog on a later startup; it excludes note content, queries, paths, names, and email addresses. Setting `DO_NOT_TRACK=1` blocks telemetry sharing.

_Full upstream README: https://allmcps.com/mcp/open-zk-kb/readme_

