Open Zk Kb logo

Open Zk Kb

Local, persistent Zettelkasten memory for AI assistants, with hybrid search and shared notes across supported clients.

Install Open Zk Kb

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "open-zk-kb": {
      "command": "npx",
      "args": [
        "-y",
        "open-zk-kb"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Claude Code command
claude mcp add --transport stdio open-zk-kb -- npx -y open-zk-kb

Run in your terminal. Add --scope project to share it with your team through .mcp.json.

We couldn’t confirm it starts correctly

The install command didn't complete successfully in our automated test.

npx -y open-zk-kb

ntimes/linux-x64/native/libonnxruntime_providers_cuda.so to /tmp/allmcps-pre/node_modules/onnxruntime-node/bin/napi-v6/linux/x64/libonnxruntime_providers_cuda.so npm error Killed npm notice npm notice New major version of npm available! 10.9.9 -> 12.2.3 npm notice Changelog: https://github.com/npm/cli/releases/tag/v12.2.3 npm notice To update run: npm install -g npm@12.2.3 npm notice npm error A complete log of this run can be found in: /home/user/.npm/_logs/2026-12-02T01_14_15_166Z-debug-0.log

This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked .

Overview

The open-zk-kb MCP server gives AI assistants persistent, local memory stored as linked Markdown notes. It combines SQLite full-text search with local MiniLM-L6-v2 embeddings to retrieve relevant context across sessions. Use it when agents need to retain preferences, corrections, decisions, and project knowledge without cloud services or API keys. The installer supports Claude Code, Cursor, Windsurf, Zed, OpenCode, Pi, and OMP.

Use cases

  • Persist agent preferences across sessions
  • Share project conventions between coding clients
  • Search prior decisions and corrections
  • Keep local Markdown-based assistant memory
  • Load project context automatically in Pi

Key features

  • Zettelkasten-style linked notes
  • SQLite FTS5 and local vector search
  • Local MiniLM-L6-v2 embeddings
  • Human-readable Markdown vault
  • Ten knowledge tools
  • Cross-client local memory

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

13/13 checks healthy over the last 57d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 5d ago via OSV.dev · open-zk-kb (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars7Stargazers on the source repository.
npm downloads1.1kPackage downloads in the last 30 days.
Last commit1mo agoMost recent push to the default branch.
Install checkInconclusiveInstall command did not finish in our automated test.

How Open Zk Kb works

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.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Open Zk Kb

open-zk-kb is an MCP server that connects AI assistants to a local Zettelkasten knowledge base. Its ten knowledge tools support storing notes, searching memory, inspecting context, and checking health. It uses Markdown files, SQLite FTS5, and local MiniLM-L6-v2 embeddings to retain preferences, decisions, corrections, and project knowledge across sessions.

Install Bun, then run `bunx open-zk-kb@latest`. The installer creates a local vault, adds agent instructions, and configures selected clients. Manual installation is also documented by the project. Pi users can install the package with `pi install npm:open-zk-kb` and then restart Pi.

Yes, Cursor is one of the supported clients. The installer can configure Cursor alongside Claude Code, Windsurf, OpenCode, Zed, Pi, and OMP, allowing those tools to use the shared local knowledge base.

No, open-zk-kb does not require an API key for its local embeddings. It is configured to run locally and offline, with Markdown files as the source of truth and a rebuildable SQLite search index.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewOpen Zk Kb AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/open-zk-kb?style=directory)](https://allmcps.com/mcp/open-zk-kb)
HTML Embed
<a href="https://allmcps.com/mcp/open-zk-kb"><img src="https://allmcps.com/api/badge/open-zk-kb?style=directory" alt="Open Zk Kb on AllMCPs" /></a>