Mcp Memory Sqlite banner
spences10 spences10

Mcp Memory Sqlite

AI community

Description

A personal knowledge graph and memory system for AI assistants using SQLite with optimized text search. Perfect for giving Claude (or any MCP-compatible AI) persistent memory across conversations!

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

mcp-memory-sqlite

A personal knowledge graph and memory system for AI assistants using SQLite with optimized text search. Perfect for giving Claude (or any MCP-compatible AI) persistent memory across conversations!

Why Use This?

Give your AI assistant a memory! This tool lets Claude (or other AI assistants) remember entities, concepts, and their relationships across conversations. Perfect for:

  • πŸ“š Personal Knowledge Management - Build your own knowledge graph
  • πŸ€– AI Assistant Memory - Help Claude remember important information about your projects, preferences, and context
  • πŸ”— Relationship Tracking - Connect ideas, people, projects, and concepts
  • πŸ” Smart Text Search - Find information using flexible, relevance-ranked text search

Features

  • 100% Local & Private: All your data stays on your machine
  • Easy Setup: Works out-of-the-box with Claude Desktop
  • Flexible Text Search: Case-insensitive search with fuzzy matching that handles different naming conventions
  • Relevance Ranking: Results prioritized by name match > type match > observation match
  • Smart Deduplication: Automatically prevents duplicate relationships
  • Context-Optimized: Designed specifically for LLM context efficiency - no unnecessary data bloat
  • Simple API: Intuitive tools for creating, searching, and managing your knowledge graph

Quick Start

**For Claude Desktop users** (recommended):

Add this to your Claude Desktop config:

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

That's it! Claude can now remember things across conversations.

Installation

If you want to use it in your own project:

npm install mcp-memory-sqlite
# or
pnpm add mcp-memory-sqlite

Configuration

**Optional**: Customize the database location with an environment variable:

  • SQLITE_DB_PATH: Where to store your data (default: ./sqlite-memory.db)

MCP T