Claude Code Agentic Semantic Memory System Mcp banner
tristan-mcinnis tristan-mcinnis

Claude Code Agentic Semantic Memory System Mcp

Development community

Description

This guide provides complete instructions for implementing an **Agentic Semantic Memory System** that enables Claude agents to:

Installation

This entry records only its repository, not the path inside it, so there is no exact command to give. Open the source below and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

README

Claude Code Agentic Semantic Memory System (MCP)

[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT) [![MCP Version](https://img.shields.io/badge/MCP-v0.6.2-blue)](https://github.com/anthropics/model-context-protocol) [![Node Version](https://img.shields.io/badge/node-%3E%3D18.0.0-green)](https://nodejs.org)

A sophisticated Model Context Protocol (MCP) server that provides Claude Code with persistent semantic memory capabilities, enabling long-term information storage and retrieval across sessions. This system allows Claude to remember context, preferences, and important information between conversations.

🌟 Key Features

  • 🧠 Persistent Memory: Information survives across Claude Code sessions
  • 🔍 Semantic Search: Retrieve memories based on meaning, not just keywords
  • 📁 Project Namespaces: Organize memories into separate contexts/projects
  • 🌐 Local Embeddings: Works offline without external API dependencies
  • 🔗 Memory Relations: Create knowledge graphs with connected memories
  • 🚀 Intent-Based Activation: Natural language triggers automatic tool invocation
  • 📊 Full CRUD Operations: Create, read, update, and delete memories
  • 🔐 Privacy-First: All data stored in your own PostgreSQL database

🏗️ Architecture

Core Components

agentic-memory/
├── src/
│   ├── index.ts           # MCP server entry point
│   ├── db/
│   │   ├── client.ts      # Database connection (Neon PostgreSQL)
│   │   └── schema.ts      # Drizzle ORM schema (memories, relations)
│   └── tools/
│       ├── createMemory.ts    # Store new memories
│       ├── searchMemory.ts    # Semantic search
│       ├── listMemories.ts    # List and filter memories
│       ├── deleteMemory.ts    # Remove memories
│       ├── updateMemory.ts    # Modify existing memories
│       ├── manageProjects.ts  # Project namespace management
│       └── simpleEmbedding.ts # Local embedding generation
├── run-ser