Back to Home
xiaolai icon

claude-conversation-memory-mcp

Verified Safe

by xiaolai

Overview

Provides long-term memory for AI coding agents by indexing conversation history, tracking decisions and mistakes, and enabling semantic search across projects.

Installation

Run Command
npx -y cccmemory

Environment Variables

  • EMBEDDING_PROVIDER
  • EMBEDDING_MODEL
  • EMBEDDING_DIMENSIONS
  • EMBEDDING_BASE_URL
  • OPENAI_API_KEY
  • CCCMEMORY_DB_PATH
  • CCCMEMORY_GLOBAL_INDEX_PATH
  • LOG_LEVEL

Security Notes

The server uses `better-sqlite3` for local database storage and `simple-git` for Git integration. SQL queries are generally parameterized, mitigating SQL injection risks. File system operations for project data and backups leverage built-in Node.js `fs` module, with efforts made in path sanitization (`sanitization.ts`) to prevent path traversal attacks. Environment variables are used for sensitive information like `OPENAI_API_KEY` rather than hardcoding. The `execFileSync` calls in `worktree.ts` for Git commands appear to use controlled arguments, reducing command injection risk. Network interaction for embeddings is with specified LLM APIs (Ollama, OpenAI, or local Transformers.js). Overall, good practices are in place, but local file system interaction always presents some inherent risk if configured maliciously by an untrusted host.

Similar Servers

Stats

Interest Score41
Security Score8
Cost ClassMedium
Avg Tokens1000
Stars16
Forks2
Last Update2026-01-08

Tags

semantic searchconversation memorydecision trackinggit integrationAI agent memory