Knowl logo

Knowl

Local MCP memory that stores knowledge, searches it, and retires outdated facts for coding agents.

Install Knowl

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": {
    "knowl": {
      "command": "npx",
      "args": [
        "-y",
        "@dat999zx/knowl",
        "serve"
      ]
    }
  }
}

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

Claude Code command
claude mcp add --transport stdio knowl -- npx -y @dat999zx/knowl serve

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

We couldn’t confirm it starts correctly

We ran the install command but it didn't respond within our test window — this can mean a slow first-time install rather than a real problem.

npx -y @dat999zx/knowl serve

No response to initialize.

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

Knowl provides persistent local memory for AI agents through MCP and a CLI, storing project and general knowledge across sessions. It searches saved information using keywords and a local embedding model, then retires older facts when newer information supersedes them. When the relationship is uncertain, both facts remain active and the agent can request explicit supersession. Reach for Knowl when multiple coding agents need shared continuity without maintaining an ever-growing CLAUDE.md.

Use cases

  • Store project decisions across coding sessions
  • Search shared memory from multiple agents
  • Retire outdated architecture and configuration facts
  • Resolve uncertain fact replacements manually
  • Share local context between Claude Code, Cursor, and Codex

Key features

  • Persistent local agent memory
  • MCP and CLI access
  • Keyword and embedding-based retrieval
  • Automatic fact supersession
  • Manual supersession with the CLI
  • No API key required

Security & health

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

Not checked yetLast checked

We have not completed a health check for this listing yet.

0/96 checks healthy over the last 25d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 8h ago via OSV.dev · @dat999zx/knowl (npm)

Adoption & maintenance

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

GitHub stars112Stargazers on the source repository.
npm downloads979Package downloads in the last 30 days.
Last commit1mo agoMost recent push to the default branch.
Install checkInconclusiveDidn't respond in our test window — often a slow first install.

How Knowl works

What Knowl does

Knowl is a local persistent-memory system for AI agents working with code, research, and everyday information. It exposes memory operations through the Model Context Protocol and also provides a command-line interface. Agents can read and write knowledge as they work instead of relying only on manually maintained instruction files.

Its central behavior is fact supersession. When a new fact replaces an older one, Knowl retires the earlier record rather than presenting both as current. If the replacement relationship is unclear, it keeps both facts active and provides a knowl supersede command for an explicit decision.

How it works

Running knowl init creates a .knowl/ directory, installs project guidance files, updates .gitignore, and registers Knowl with detected agents. The setup also starts warming a local embedding model of approximately 53 MB in the background. If that model is unavailable, keyword search remains available.

Knowl stores its data locally and requires no API key. The package includes native components for SQLite, tree-sitter, and the embedding runtime. Node.js executes the CLI even when another package manager is used to install it.

The server is intended for shared continuity across supported agents. The same memory can be used from separate terminals, allowing one agent to record a change and another to retrieve it later.

Setup and configuration

Use Node.js 22 or later on macOS, Linux, or Windows. Install the package globally and initialize a project:

Terminal
npm install -g @dat999zx/knowl
cd your-project
knowl init

The package can also be installed globally with pnpm, Yarn, or Bun, or run directly with npx @dat999zx/knowl init. Bun can install the package, but the CLI itself must run under Node.js because of its native components.

Use knowl init --all to refresh repositories and already configured machine-wide hosts after an update. Global setup can be created with knowl init --global <host>. The initialization process registers detected agents and sets up the project files used to connect them to Knowl.

Tools and capabilities

  • Exposes 28 MCP tools for agent memory workflows.
  • Stores persistent knowledge for projects and other use cases.
  • Retrieves information through keyword search and local embeddings.
  • Retires facts that are superseded by newer information.
  • Keeps conflicting facts active when replacement is uncertain.
  • Provides the knowl supersede command for manual fact resolution.

Knowl is designed for local operation, with no API key required and local data handling. Its main value is continuity across sessions and agents rather than replacing a source-control or project documentation system.

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 Knowl

Knowl is an MCP server that gives AI agents persistent local memory for code, research, and everyday knowledge. It connects to agents such as Claude Code, Cursor, and Codex, and provides tools for storing, retrieving, and superseding facts across sessions. It also includes a CLI for initialization and manual fact resolution.

Install Knowl with `npm install -g @dat999zx/knowl`, then run `knowl init` inside a project. Node.js 22 or later is required, and macOS, Linux, and Windows are supported. pnpm, Yarn, Bun, and `npx` can also install or run the package.

Yes, Knowl supports Cursor through MCP. Running `knowl init` registers Knowl with detected agents and creates the project guidance files needed for setup. Cursor can then use the shared local memory alongside the other configured agents.

Knowl retires an older fact when a newer fact clearly replaces it. When the relationship is uncertain, it keeps both facts active instead of choosing automatically. You can use the `knowl supersede` command to state which fact should replace the other.

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 PreviewKnowl AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/knowl?style=directory)](https://allmcps.com/mcp/knowl)
HTML Embed
<a href="https://allmcps.com/mcp/knowl"><img src="https://allmcps.com/api/badge/knowl?style=directory" alt="Knowl on AllMCPs" /></a>