claude-code-memory-explorer
v1.3.2
Published
Memory explorer dashboard for Claude Code
Maintainers
Readme
Claude Code Memory Diagnoser
See every memory file that Claude Code loads for a project, and let Claude find what is stale, false, or in conflict.
Getting started
You need Node.js 20 or later. Open a terminal in your project directory and run:
npx claude-code-memory-explorer --openThe app scans the memory files for the current directory and opens the page in your browser. The default port is 3544. You do not need a config file. Browsing changes nothing on disk.
To run an analysis, you also need Claude Code, installed and logged in. See Getting started.
Features
- Full memory stack. Managed policy, user and project
CLAUDE.mdfiles (includingCLAUDE.local.mdand nested files in subdirectories), user and project rules, project skills, auto memory, agent memory, and the files they import or link, in one tree. See What Claude Code loads. - Load types. Each file shows when Claude Code loads it: always, startup, conditional, on-demand, tree, import, or link.
- Memory footprint. A bar and summary cards show the files, characters, and bytes that can load in each session, split by scope. The app does not estimate tokens.
- Rules with paths. A rule with
pathsin its frontmatter shows as conditional, with its globs as badges in the file view. - Auto memory and agent memory. A
MEMORY.mdindex shows as a table of its linked notes, with a mark at the 200-line startup cutoff. A cleanup button removes index lines that point to missing files. - Analyze with Claude. Runs
claude -pon your machine with one reviewer subagent per file. Reviewers check each claim against your repository. You get a health score, findings such as duplicates, contradictions, and stale facts, and a suggested fix for each. Copy one finding as a prompt, or several as a fix plan. Each run shows its cost. See Analyze memory with Claude. - Keyboard-driven. ↓ ↑ or j k move through the tree, e opens the file in your editor, Shift+P switches the project, and ? shows all keys. See Keyboard shortcuts.
- 17 color themes, each in light and dark. The app installs as a progressive web app.
- Claude Code Hub. Runs on its own or as a tab in Claude Code Hub, with project and theme sync. See Run inside Claude Code Hub.
Configuration
| Flag | What it does | Default |
| --- | --- | --- |
| --port <n> | Port to listen on. If the port is busy, the app uses a random free port and prints it. | PORT, else 3544 |
| --open | Opens the page in your browser after start. | Off |
| --dir <path> | Claude config dir to read. | CLAUDE_CONFIG_DIR, else CLAUDE_DIR, else ~/.claude |
| --project <path> | Project the server starts on. | The current directory |
| --host <addr> | Address to bind. | HOST, else 127.0.0.1 |
| --allowed-hosts <list> | Comma-separated extra Host header values to accept. | ALLOWED_HOSTS, else none |
The app has no authentication. Bind a non-loopback address only on a network you trust.
To look at a different project, use the project picker (Shift+P) or add ?project=/path to the URL. The pencil button and e run the editor in EDITOR, or code when it is not set. Analyze saves its runs in <config dir>/memory-analysis/.
For all options and the files the app reads and writes, see CLI and configuration. For common problems, see Troubleshooting.
License
MIT
