Skip to main content
MCP server CX Codex

Knowl — Claude Code MCP server: agent memory that retires old facts

Local memory for AI agents. When a fact changes, the previous one stops being active instead of sitting next to the new one. Useful once CLAUDE.md gets long and wrong.

Install into Claude Code · Platform CLI: remote server All methods and platforms ↓
claude mcp add --transport http knowl https://api.knowl.cloud/mcp/
Open on GitHub

What Knowl does

Knowl keeps facts about your project and serves them to the agent over MCP or the CLI. It covers code, research and everyday notes. No API key, and the store stays on your machine.

The interesting part is supersession. Record that the project moved to Postgres and the earlier MySQL entry is no longer active, so the agent does not answer with both. When Knowl cannot tell whether a new fact replaces an old one, it keeps both and points you at the knowl supersede command. The author's measurements put retrieval at 98% with this behaviour and 47% without it.

Setup is npm install -g @dat999zx/knowl, then knowl init inside the project: it creates .knowl/, updates .gitignore and registers whichever agents it finds. Node.js 22 or newer is required. The package ships native modules, so the CLI itself will not run under Bun or Deno — Bun can install it, Node has to execute it.

What it helps with

  • drop facts the agent still believes but that are no longer true
  • share one project knowledge store across several agents
  • keep a bloated CLAUDE.md out of the context window
  • carry architecture decisions from one session to the next
  • keep research notes next to the code they belong to

Example prompts for the agent

  • Which database does this project use? Check Knowl memory.
  • Remember this: we moved to Postgres, the MySQL decision is retired.
  • Look in Knowl for what we already settled about auth.

How to install Knowl

1Platform CLI: remote server

claude mcp add --transport http knowl https://api.knowl.cloud/mcp/

2Platform CLI

claude mcp add knowl -- npx -y @dat999zx/knowl

Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more

Questions about Knowl

How do I install Knowl in Claude Code?

Two options. Hosted: claude mcp add --transport http knowl https://api.knowl.cloud/mcp/. Local: claude mcp add knowl -- npx -y @dat999zx/knowl.

What does Knowl do?

It stores long-term memory for the agent and tracks whether entries are still valid: a replaced fact is marked inactive rather than piling up beside the new one.

What does Knowl need to run?

Node.js 22 or newer. No API key, and the store is local. Running the CLI under Bun or Deno is not supported.

Similar MCP servers

All MCP servers for Agent setup: memory, context, orchestration →

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor