Before
Files and rules multiply; each app remembers its own session.
Knowit is an open-source MCP server that gives Claude Code, Cursor, and Codex the same persistent project memory — structured, stored in your repo, shared with your team.
Watch it work
Scroll through the loop your agents run: install once, capture knowledge, recall it anywhere, browse it locally.
01 — Install
npx knowit install detects Claude Code, Codex, and Cursor, registers the MCP server with each one, and initializes shared memory for the project.
02 — Capture
While it works, Claude Code calls capture_session_learnings — and the decision lands in Knowit as a structured entry: typed, scoped, queryable.
03 — Recall
A brand-new Cursor session calls resolve_context and pulls the exact decision Claude Code stored — before writing a line of code.
04 — Preview
npx knowit preview opens a local, read-only browser over your memory — filter by type, scope, and tags. No account, nothing leaves your machine.
Every session starts from zero: the Stripe webhook rule, the deprecated naming pattern, the reason you chose that architecture. Markdown files pile up trying to fix it, and each tool's memory stays locked in that tool. Drag the divider to see the difference.
Files and rules multiply; each app remembers its own session.
One queryable layer. Every agent reads it the same way.
Run npx knowit install inside your project. The wizard picks your client, scope, and storage, then wires everything up. It can install knowit globally for faster future starts, or skip it and use npx.
npx knowit installInstruction files and MCP registration are updated for you. Agents call resolve_context before planning and capture_session_learnings after, with no manual wiring needed.
# agent workflow, automatic
resolve_context("add retry logic")
# ... agent works ...
capture_session_learnings()Your project now has persistent memory wired into the agent workflow: client registration, project instructions, optional project MCP config, and migrated knowledge from architecture or ADR-style docs.
# after npx knowit install
✓ agent connected to Knowit MCP
✓ project instructions updated automatically
✓ project MCP config added for compatible clients
✓ architecture / PRD / ADR docs moved into Knowit memorySix entry types, four scopes, confidence scores. resolve_context returns the three entries that matter for this task — not a 400-line markdown dump.
Memory lives in .knowit/knowledge.jsonl — line-delimited JSON with clean diffs. What your agent learned last sprint travels to your teammate's agent through code review.
Claude Code, Codex, Cursor, Windsurf, Zed — a first-class MCP server, not a wrapper around one tool.
No account, no cloud dependency, nothing leaves your control. SQLite for global scope, JSONL in the repo.
A local read-only browser for the whole knowledge store. Search, filter, read every entry.
When canonical docs live in Notion or another MCP source, Knowit tells the agent where to go next.
MIT licensed, local-first, no account. This isn't a trial tier — it's the product.
Open Source
Everything, forever
One command. The wizard handles everything, including global install if you want it.
npx knowit install