Claude Code plugin

Claude Db

Free, open-source memory for Claude Code. Your own database, no cloud, no subscription.

Install

Install
npm install -g claude-db

Found in the project README. Check it for setup steps after installing.

From source
git clone https://github.com/Avijit07x/claude-db.git

From the README

Free, open-source memory for Claude Code. Your own database, no cloud, no subscription.

Documentation ·
Quick start ·
CLI reference

Why

Every Claude Code chat starts from zero. You explain the same decisions, dead
ends and rules again, and Claude works out what calls what from scratch.

claude-db fixes that. It keeps what you decided and a map of your code, and
gives Claude the right part of it at the right time.

What it does

- Remembers across chats. Decisions, dead ends and rules are saved when a
  chat ends, and the next chat starts by seeing them.
- Recalls what fits. Each prompt gets the one or two earlier memories that
  match it, and nothing when none fit.
- Maps your code. Who defines, calls or imports a symbol is answered in one
  call, instead of grep and reading files. It follows imports in TypeScript,
  JavaScript, Python, Go, Rust, Java and Kotlin.
- Keeps it yours. SQLite on your machine by default, or Postgres or MongoDB
  to share across machines. No cloud, no subscription.

Install

You need Node 22.16 or newer and a git repository.

Restart Claude Code. There is nothing else to run, because capture and recall
are hooks.

Then load what already exists with claude-db flush and claude-db scan. The
setup guide has the rest.

Everyday use

cdb is a shorter alias. Every command is in the
CLI reference.

Privacy

Memory stays in your own database. Two features call Claude Haiku through your
own login, and each has an off switch: claude-db distill off for making facts
from finished chats, and claude-db pick off for choosing memory per prompt.
Once a day it asks npm for the latest version ("updates": "off" stops that).

.env, secrets/, node_modules and .git/ are never stored. Text inside
... is stripped, and API keys and tokens are redacted
before…
Read the full README on GitHub

How plugins work

  • A plugin bundles slash commands, subagents, skills, hooks, MCP servers and status lines so they install together.
  • Add the marketplace inside Claude Code with /plugin marketplace add Avijit07x/claude-db, then run /plugin to pick what to install.
  • You can turn a plugin off again from /plugin without deleting anything.
Claude Code docs

Details

Language
TypeScript
License
Apache-2.0
Last updated
22 October 2026
Topics
claudeclaude-aiclaude-apiclaude-codeclaude-code-pluginclaude-code-pluginsclaude-code-skillclaude-code-skillsclaude-desktopclaude-pluginclaude-skills

FAQ

What is Claude Db?

Free, open-source memory for Claude Code. Your own database, no cloud, no subscription. It is a plugin for Claude Code, from Avijit07x/claude-db on GitHub.

How do I install Claude Db?

Run npm install -g claude-db, then follow the setup in the README.

Is Claude Db popular?

Avijit07x/claude-db has 233 GitHub stars and 27 forks. It was last updated on 22 October 2026.

More plugins & marketplaces

Browse the most popular Claude Code mods, all plugins & marketplaces, or the skills and MCP server directories.