SuperLocalMemory Logo
SuperLocalMemory
Integration

Claude Code Persistent Memory

Give Claude Code long-term memory that persists across sessions. Free, local, private. Your AI finally remembers your project.

The Problem Every Claude Code User Hits

You spend 20 minutes explaining your project architecture to Claude Code. Your folder structure, your naming conventions, the reason you picked one ORM over another.

Next session: blank slate. Claude Code does not remember any of it.

Over a week, re-establishing context costs hours of productivity. Over a month, it is a measurable drag on shipping velocity.

SuperLocalMemory fixes this permanently. One install. Persistent memory. Every session.

Set Up Claude Code Memory in 3 Steps

1

Install SuperLocalMemory

install
$ npx superlocalmemory@latest init

This downloads the package, creates the SQLite database, and sets up default configuration. No API keys needed.

2

Add the MCP Configuration

Add this to your Claude Code MCP settings file (~/.claude/claude_desktop_config.json):

claude_desktop_config.json
{
  "mcpServers": {
    "superlocalmemory": {
      "command": "npx",
      "args": ["-y", "superlocalmemory@latest"],
      "env": {}
    }
  }
}

Using the Desktop App? MCP is configured automatically — skip this step.

3

Start Using Memory

terminal
$ slm remember "This project uses Drizzle ORM with PostgreSQL"
$ slm recall "database setup"

Claude Code now has persistent memory. It recalls your context automatically at the start of every session.

What Claude Code Memory Gets You

Cross-Session Memory

Claude Code remembers your architecture decisions, naming conventions, and project context across every session. No more repeating yourself.

5-Minute Setup

One command to install, one config to add. SuperLocalMemory is running in Claude Code in under 5 minutes.

100% Local & Private

Your code context never leaves your machine. No cloud APIs, no telemetry, no third-party servers. Works air-gapped.

Knowledge Graphs

Builds relationships between concepts, files, and decisions. Claude Code understands how parts of your codebase connect.

10.6ms Median Recall

Local SQLite with hybrid search means instant memory retrieval. No network latency, no API rate limits.

MCP Native

Built on the Model Context Protocol. No custom integrations or API wrappers — Claude Code speaks MCP natively.

What Claude Code Remembers

Project Architecture

Folder structure, module boundaries, dependency choices, and why they were made.

Code Conventions

Naming patterns, formatting preferences, TypeScript strictness levels, import ordering.

Environment Details

Database ports, API endpoints, environment variable requirements, deployment targets.

Past Decisions

Why you chose one library over another, trade-offs discussed, bugs already fixed.

Team Patterns

PR conventions, branch naming, testing requirements, code review preferences.

Debug Context

Known issues, workarounds, edge cases that were previously investigated.

Frequently Asked Questions

How do I add persistent memory to Claude Code?

+
Install SuperLocalMemory with 'npx superlocalmemory@latest init', then add the MCP configuration to your Claude Code settings. It takes under 5 minutes and requires no API keys.

Does SuperLocalMemory send my code to the cloud?

+
No. SuperLocalMemory is 100% local. All data stays in a SQLite file on your machine. Zero network calls, zero telemetry, zero cloud dependency.

Is SuperLocalMemory free for Claude Code?

+
Yes, completely free and open source under the MIT license. No subscriptions, no API costs, no usage limits.

Does it work across Claude Code sessions?

+
Yes. SuperLocalMemory persists memories in a local SQLite database. When you start a new Claude Code session, all previous context, decisions, and preferences are available instantly.

Can I use the same memory with Cursor and other AI tools?

+
Yes. SuperLocalMemory uses the MCP protocol, which means the same memory database works across Claude Code, Cursor, Windsurf, VS Code, ChatGPT Desktop, and 17+ other AI tools.

Works With Your Entire AI Toolkit

The same memory database works across all MCP-compatible tools. Set up once, remember everywhere.

Give Claude Code Memory Today

Free, local, private. One command to install. Your AI finally remembers you.