New:Socket for Asana Is Now Available.Learn more
Get Started

claude-conversation-memory-mcp

Package Overview
Dependencies
Maintainers
1
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
Package was removed
Sorry, it seems this package was removed from the registry

claude-conversation-memory-mcp

MCP server for indexing and searching Claude Code conversation history with decision tracking, git integration, and project migration/merge

latest
Source
npmnpm
Version
1.7.15
Version published
Maintainers
1
Created
Source

Claude Conversation Memory MCP

An MCP server that gives Claude long-term memory by indexing conversation history with semantic search, decision tracking, and cross-project search.

Features

  • Search conversations - Natural language search across your chat history
  • Track decisions - Remember why you made technical choices
  • Prevent mistakes - Learn from past errors
  • Git integration - Link conversations to commits
  • Cross-project search - Search across all your projects globally
  • Project migration - Keep history when renaming/moving projects
  • Semantic search - Uses Transformers.js embeddings (bundled, works offline)

Installation

npm install -g claude-conversation-memory-mcp

Verify installation:

claude-conversation-memory-mcp --version

Configuration

For Claude Desktop

Edit ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):

{
  "mcpServers": {
    "conversation-memory": {
      "command": "npx",
      "args": ["-y", "claude-conversation-memory-mcp"]
    }
  }
}

Then restart Claude Desktop.

For Claude Code

Edit ~/.claude.json (note: this file is in your home directory, not inside ~/.claude/):

{
  "mcpServers": {
    "conversation-memory": {
      "command": "npx",
      "args": ["-y", "claude-conversation-memory-mcp"]
    }
  }
}

Or if installed globally:

{
  "mcpServers": {
    "conversation-memory": {
      "command": "claude-conversation-memory-mcp"
    }
  }
}

Embedding Configuration (Optional)

The MCP uses Transformers.js by default for semantic search (bundled, works offline, no setup required).

To customize, create ~/.claude-memory-config.json:

{
  "embedding": {
    "provider": "transformers",
    "model": "Xenova/all-MiniLM-L6-v2",
    "dimensions": 384
  }
}

Alternative providers:

Ollama (faster, requires Ollama running)
# Install Ollama
curl -fsSL https://ollama.com/install.sh | sh
ollama pull mxbai-embed-large
ollama serve

Config:

{
  "embedding": {
    "provider": "ollama",
    "model": "mxbai-embed-large",
    "dimensions": 1024
  }
}
OpenAI (requires API key)
{
  "embedding": {
    "provider": "openai",
    "model": "text-embedding-3-small",
    "dimensions": 1536
  }
}

Set OPENAI_API_KEY environment variable.

MCP Tools

Indexing

ToolDescription
index_conversationsIndex current project's conversations
index_all_projectsIndex all Claude Code + Codex projects
ToolDescription
search_conversationsSearch messages in current project
search_all_conversationsSearch across all indexed projects
get_decisionsFind architectural decisions
get_all_decisionsDecisions across all projects
search_mistakesFind past errors and fixes
search_all_mistakesMistakes across all projects
find_similar_sessionsFind related conversations

Context

ToolDescription
check_before_modifyGet context before editing a file
get_file_evolutionSee file history with commits
search_by_fileFind all context related to a file
list_recent_sessionsList recent sessions with summaries
recall_and_applyRecall past work for current task
get_requirementsLook up component requirements
get_tool_historyQuery tool usage history
link_commits_to_conversationsConnect git commits to sessions

Project Management

ToolDescription
discover_old_conversationsFind folders from renamed projects
migrate_projectMigrate/merge conversation history
forget_by_topicDelete conversations by keyword
generate_documentationGenerate docs from conversations

CLI Usage

The package includes a standalone CLI:

# Interactive mode
claude-conversation-memory-mcp

# Single commands
claude-conversation-memory-mcp status
claude-conversation-memory-mcp index
claude-conversation-memory-mcp "search authentication"
claude-conversation-memory-mcp help

Supported Platforms

PlatformStatusConversation Location
Claude Code✅ Supported~/.claude/projects/
Claude Desktop✅ Supported(indexes Claude Code history)
Codex✅ Supported~/.codex/sessions/

Architecture

Per-Project Databases (isolation)
├── ~/.claude/projects/{project}/.claude-conversations-memory.db
└── ~/.codex/.codex-conversations-memory.db

Global Registry (cross-project search)
└── ~/.claude/.claude-global-index.db

Troubleshooting

Claude Desktop shows JSON parse errors

Upgrade to v1.7.3+:

npm update -g claude-conversation-memory-mcp

MCP not loading in Claude Code

  • Check config location is ~/.claude.json (not ~/.claude/config.json)
  • Verify JSON syntax is valid
  • Restart Claude Code

Embeddings not working

Check provider status:

claude-conversation-memory-mcp status

Default Transformers.js should work out of the box. If using Ollama, ensure it's running (ollama serve).

License

MIT

Keywords

mcp

FAQs

Package last updated on 02 Jan 2026

Related posts