# Claude DB

> Persistent, local-first memory for Claude Code.

- **URL**: https://followmcp.com/en/servers/claude-db
- **Category**: Database
- **Origin**: Community
- **Stars**: 237
- **FMRS Score**: 38/100 (Grade D)
- **Source**: https://github.com/Avijit07x/claude-db

- **Runtimes**: Node.js 22.16+
- **Auth**: No credential needed

## Overview
Claude DB is an open-source tool that saves decisions, lessons, and rules across Claude Code chats and recalls relevant memories for a prompt. It can also map a codebase to help answer where symbols are defined, called, or imported. It uses local SQLite by default and can also be configured with Postgres, MongoDB, or Turso. The README mentions MCP tools, but no server manifest is provided, so tool names, transport, and client configuration cannot be confirmed.

## Best for
- Individuals or teams who want persistent memory across Claude Code chats.
- Users who want memory stored locally by default or prefer to choose a shared database.

## Not for
- Users who require a confirmed MCP server interface, tool list, or transport; the supplied material does not provide these details.
- Users who do not use Claude Code or do not want to set up Node.js and a Git repository.

## Required permissions
- Installation requires npm in an environment with Node 22.16 or newer and running the install command inside a Git repository.
- According to the README, the tool stores memories in the configured database and scans the codebase to build its map.
- Two features call Claude Haiku through the user's own login: distilling facts from finished chats and selecting memories for each prompt. Both can be turned off.

## Risks
- Memory is stored in the selected database; when using Postgres, MongoDB, or Turso, data resides in the database service configured by the user.
- The README says `.env`, `secrets/`, `node_modules`, and `.git/` are never stored; text inside `<private>...</private>` is stripped, and API keys and tokens are redacted before anything is written or sent.
- The tool checks npm for the latest version once a day; the README describes a setting to disable update checks.
- Chat distillation and prompt-based memory selection call Claude Haiku and may process saved or recalled chat information.
