Skip to main content
Glama

ClawSouls MCP Server

AI agent persona management, safety verification, and memory tools via Model Context Protocol.

9 tools for Claude Code, OpenClaw, and any MCP-compatible client.

Quick Install (Claude Code)

# Install the ClawSouls plugin (includes MCP server)
/plugin marketplace add https://github.com/clawsouls/clawsouls-claude-code-plugin
/plugin install clawsouls
/reload-plugins

Or add directly to your .mcp.json:

{
  "mcpServers": {
    "clawsouls": {
      "command": "npx",
      "args": ["-y", "clawsouls-mcp@latest"]
    }
  }
}

Related MCP server: Perenna

Use with OpenClaw

OpenClaw consumes MCP servers through mcporter. Call ClawSouls tools ad-hoc over stdio:

mcporter call --stdio "npx -y clawsouls-mcp@latest" soul_search query="chief of staff"
mcporter list --stdio "npx -y clawsouls-mcp@latest" --schema

To persist it, add the .mcp.json block below to a file and import it:

mcporter config import ./.mcp.json

(See mcporter.dev for full config options.)

Use with Hermes Agent / Cursor / Windsurf / any MCP client

Same stdio command via an .mcp.json-style config:

{
  "mcpServers": {
    "clawsouls": {
      "command": "npx",
      "args": ["-y", "clawsouls-mcp@latest"]
    }
  }
}

Tools

🎭 Persona Management

Tool

Description

soul_search

Search AI agent personas by keyword, category, or tag

soul_get

Get detailed info about a specific persona

soul_install

Download a persona and merge it into CLAUDE.md (existing content kept)

🔍 Safety & Integrity

Tool

Description

soul_scan

SoulScan — verify persona safety against 53 patterns (safety grade + recommendations)

soul_rollback_check

Detect persona drift by comparing current vs. baseline files

🧠 Swarm Memory

Tool

Description

memory_search

TF-IDF + BM25 ranked search across MEMORY.md + memory/*.md

memory_detail

Fetch full content of a specific memory section (3-layer step 2)

memory_status

Show memory file inventory, sizes, and git status

memory_sync

Git-based multi-agent memory sync (init/push/pull/status)

TF-IDF + BM25 Ranking (Default — Free)

memory_search query="SDK version fix"

Returns a compact index (~50 tokens per result) ranked by relevance:

| # | Location              | Section          | Score |
|---|-----------------------|------------------|-------|
| 1 | memory/2026-03-31.md:5 | SDK 버전 문제 해결 | 2.41  |
| 2 | MEMORY.md:42          | Troubleshooting   | 1.87  |

Enhanced Mode (More tokens, more context)

memory_search query="SDK version fix" enhanced=true

Returns full snippets with score visualization for top results.

3-Layer Workflow (Token Efficient)

Step 1: memory_search query="bug fix"        → compact index with scores
Step 2: memory_detail file="memory/2026-03-31.md" line=5  → full section
Step 3: (optional) memory_search enhanced=true  → deep dive

~10x token savings compared to loading all memory files.

Swarm Memory Sync

Share memory across multiple agents via Git:

# Initialize (one time)
memory_sync action=init repo_url=git@github.com:user/agent-memory.git

# Push local changes
memory_sync action=push agent_name=brad

# Pull from other agents
memory_sync action=pull

# Check sync status
memory_sync action=status

Compatible Folder Structure

Works with OpenClaw's memory layout:

MEMORY.md              # Long-term curated memory
memory/
  topic-*.md           # Project-specific status/decisions/history
  YYYY-MM-DD.md        # Daily logs

Platforms

Platform

Integration

Claude Code

Plugin + MCP — /clawsouls:* commands

OpenClaw

MCP tools via mcporter + native SOUL.md support

Hermes Agent

MCP server via .mcp.json

Cursor / Windsurf

MCP server via .mcp.json

Any MCP Client

npx -y clawsouls-mcp@latest

License

MIT

Available Tools

9 tools
memory_detailA
Read-only

Fetch full content of a specific memory section. Use after memory_search to get details for high-scoring results.

Inputs: file (required), line, lines, memory_dir.

memory_statusA
Read-only

Show current status of agent memory files — list files, sizes, last modified dates, and git status.

Inputs: memory_dir.

memory_syncA

Sync agent memory files with a remote Git repository for multi-agent Swarm Memory. Supports init (setup), push (upload changes), pull (download changes), and status.

Inputs: action (required), repo_url, memory_dir, agent_name, +1 more.

soul_getB
Read-only

Get detailed information about a specific persona

Inputs: owner (required), name (required).

soul_installA

Download a persona from ClawSouls and generate a CLAUDE.md file

Inputs: owner (required), name (required), output_dir.

soul_rollback_checkA
Read-only

Detect persona drift by comparing current Soul Spec files against their original committed versions. Returns drift severity and recommended actions.

Inputs: current_files (required), original_files (required).

soul_scanA
Read-only

Run SoulScan safety verification on Soul Spec files. Analyzes persona files against 53 safety patterns and returns a grade (A+ to F) with actionable recommendations.

Inputs: files (required), api_key.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4/5.0

    Scored across 9 tools

    Disambiguation5/5

    Each tool has a clearly distinct purpose with no ambiguity. Memory tools (memory_detail, memory_search, memory_status, memory_sync) handle different aspects of memory management, while soul tools (soul_get, soul_install, soul_rollback_check, soul_scan, soul_search) each perform unique persona-related operations. The descriptions clearly differentiate their functions.

    Naming Consistency5/5

    Tool names follow a perfectly consistent snake_case pattern with clear prefix organization. All memory tools start with 'memory_' and all persona tools start with 'soul_', creating predictable groupings. The verb+noun structure is maintained throughout (e.g., memory_search, soul_install).

    Tool Count5/5

    With 9 tools, this server is well-scoped for its dual-domain purpose (memory management and persona management). The count allows comprehensive coverage without bloat, and each tool clearly earns its place in the workflow. This is an ideal number for the server's apparent scope.

    Completeness4/5

    The tool surface provides excellent coverage for both memory and persona domains. Memory tools support search, detail retrieval, status checking, and synchronization. Persona tools support discovery, installation, safety verification, drift detection, and information retrieval. The only minor gap is the lack of persona modification/update tools, but agents can work around this by reinstalling or using memory tools for customizations.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      Provides a memory layer for AI coding agents with Git-powered version control, enabling automatic tracking of prompts, context, and code diffs.
      194
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables coding agents to maintain local-first project memory, coordinate task ownership across Git worktrees, and verify completion against project-defined checks with durable evidence stored in the repository.
      1
      Apache 2.0
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables AI coding agents to search, retrieve, save, and sync encrypted Git-native context, transcripts, and takeaways across devices and contributors. It provides local full-text search, session access, and status tools while keeping context private on public repositories and avoiding token bloat.
      142 npm
      MIT