Claude Soul logo

Claude Soul

by DomDemetz

Local MCP memory and learning tools for Claude Code, including session recall, correction tracking, and evolving behavioral frameworks.

Install Claude Soul

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "domdemetz-claude-soul": {
      "command": "npx",
      "args": [
        "-y",
        "claude-soul"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Claude Code command
claude mcp add --transport stdio domdemetz-claude-soul -- npx -y claude-soul

Run in your terminal. Add --scope project to share it with your team through .mcp.json.

We couldn’t confirm it starts correctly

The install command installed and started the server, which then stopped for configuration (such as an API key) that our sandbox does not have — expected for servers that connect to your account.

npx -y claude-soul

No response to initialize.

This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked .

Overview

The DomDemetz/claude-soul MCP server gives Claude Code local cross-session memory, correction tracking, and behavioral framework evolution. It combines an MCP server with Claude Code hooks to load context, extract session signals, index journals, and trigger reflection cycles. Memory uses local SQLite with optional Ollama embeddings for semantic search, while keyword search works without Ollama. Reach for it when Claude Code needs persistent project or user context without cloud storage.

Use cases

  • Recall decisions and lessons from previous Claude Code sessions
  • Track recurring corrections and behavioral patterns
  • Build and evaluate evolving response frameworks
  • Search journals and saved facts by meaning
  • Inspect local learning state from the terminal

Key features

  • Cross-session local memory
  • Optional Ollama semantic search
  • Automatic correction tracking
  • Evidence-based framework evolution
  • Claude Code hooks and MCP tools
  • Local soul files and reflection cycles

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

36/36 checks healthy over the last 116d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 15d ago via OSV.dev · claude-soul (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars94Stargazers on the source repository.
npm downloads121Package downloads in the last 30 days.
Last commit6mo agoMost recent push to the default branch.
Install checkRunsOur sandbox started it; it then asked for an API key or config.
Directory activity6 viewsConfig copies, upvotes, and views on AllMCPs.

How Claude Soul works

What DomDemetz/claude-soul does

The DomDemetz/claude-soul MCP server adds persistent memory and a learning loop to Claude Code. It stores facts, decisions, lessons, journals, identity files, and behavioral frameworks locally so later sessions can retrieve relevant context. The system also watches for corrections and other interaction signals, then tracks recurring patterns over time.

Its learning model treats behavioral frameworks as evidence-based artifacts. New ideas can remain hypotheses, repeated observations can strengthen them, and consistently useful frameworks can be promoted. Frameworks that stop being useful can be retired. Correction patterns have their own lifecycle, moving from new to active, improving, and internalized.

How it works

Claude Code loads identity, frameworks, and memory at the beginning of a session through soul_context. During normal use, hooks collect signals, journal session activity, index memory, and identify corrections. Reflection can run after enough signals accumulate, or it can be started with soul_reflect.

The MCP interface exposes 15 tools across identity, learning, and memory. Identity and learning tools include soul_context, soul_activate, soul_framework, soul_signal, soul_reflect, soul_self_evaluate, soul_read, soul_write, and soul_status. Memory tools include memory_save, memory_search, memory_journal, memory_recent, memory_stats, and recall.

Memory is stored in a local SQLite database. With Ollama and the nomic-embed-text model installed, searches can match by meaning; otherwise, keyword search remains available. The system also maintains files such as SOUL.md, SHADOW.md, STORY.md, CORRECTIONS.md, STATE.md, and FRAMEWORKS.md under ~/.soul/files/.

Setup and configuration

The DomDemetz/claude-soul MCP server requires Node.js 18 or newer and Claude Code on a Pro or Max plan. Run the following command to initialize it:

Terminal
npx claude-soul init --starter

Initialization registers the hooks and MCP server locally. Add a short instruction to CLAUDE.md telling Claude Code to call soul_context at conversation start and use soul_reflect during idle time. No API key or cloud account is required.

For semantic memory, install Ollama, pull nomic-embed-text, and run initialization. The system detects Ollama automatically. Non-interactive agents can add --skip-identity to avoid the setup questions. Existing installations can be upgraded with npm install -g claude-soul@latest followed by claude-soul upgrade; run claude-soul index afterward to import existing journals and soul files.

Configuration is held in ~/.soul/config.json. Supported settings cover signal collection, reflection thresholds and models, context size, tension tracking, meta-optimization, and write protection.

Tools and capabilities

  • Load and activate relevant identity and behavioral frameworks.
  • Save, search, browse, and inspect local memories and journals.
  • Record interaction signals and self-evaluations.
  • Run quick, deep, or meta reflection cycles.
  • Read and write user-editable soul files.
  • Inspect correction trends with claude-soul shadow.
  • Check system state with claude-soul status.
  • Index existing data into the memory database.

Limitations and notes

The documented integration is Claude Code; compatibility with other MCP clients is not specified. Semantic search requires the optional Ollama setup, while the basic installation uses keyword search. Reflection and signal collection can be adjusted or disabled through the local configuration file.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Claude Soul

DomDemetz/claude-soul is an MCP server that connects Claude Code to local identity, framework, journal, correction, and memory data. Its main tools include soul_context, soul_reflect, soul_signal, memory_save, memory_search, memory_journal, and recall. It loads context, records learning signals, searches past sessions, and supports reflection without a cloud service.

Run `npx claude-soul init --starter` with Node.js 18 or newer and Claude Code on a Pro or Max plan. Then add the documented `soul_context()` and `soul_reflect` instructions to your `CLAUDE.md`. Use `--skip-identity` for non-interactive agent setup.

No, Ollama is optional. Without it, the memory system uses keyword search. Installing Ollama and pulling `nomic-embed-text` enables semantic search, and the system detects that setup automatically.

The documented setup and hooks target Claude Code, so treat support for Cursor as unconfirmed.

It stores soul files under `~/.soul/files/` and keeps memory in a local SQLite database. The documented files include identity, shadow, story, corrections, state, and framework records; processing is described as local.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewClaude Soul AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/domdemetz-claude-soul?style=directory)](https://allmcps.com/mcp/domdemetz-claude-soul)
HTML Embed
<a href="https://allmcps.com/mcp/domdemetz-claude-soul"><img src="https://allmcps.com/api/badge/domdemetz-claude-soul?style=directory" alt="Claude Soul on AllMCPs" /></a>