Skip to main content

mem_learn - Memory MCP Server

A Model Context Protocol (MCP) server providing long-term memory capabilities with SQLite backend.

Overview

This MCP server exposes five memory management tools:

  • mem_search - Search memory by keywords with multi-hop relation expansion
  • mem_read - Read full content of memory items by ID
  • mem_write - Create or update memory items
  • mem_link - Create/strengthen relations between memory items
  • mem_delete - Delete memory items and their relations

Installation

cd mem_learn
pip install -e .

Usage

As MCP Server

Add to your Claude Desktop config:

{
  "mcpServers": {
    "mem_learn": {
      "command": "python",
      "args": ["-m", "mem_learn"],
      "env": {
        "MEMORY_DB_PATH": "/path/to/memory.db"
      }
    }
  }
}

Environment Variables

  • MEMORY_DB_PATH - Path to SQLite database file (default: ./memory.db)

Memory Types and Usage Guide

See MEMORY_MANUAL.md for detailed information on memory types, search strategies, and best practices.

Release files for mem-learn 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for mem-learn 0.1.1
File Interpreter ABI Platform
mem_learn-0.1.1-py3-none-any.whl Python 3 none any Details

Release files / mem_learn-0.1.1-py3-none-any.whl

Download URL mem_learn-0.1.1-py3-none-any.whl
Size 15.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
bde08c925e3d1e05d56cdea25bf207e8a374c57afcdda41eeb16e883e99bd6ec
BLAKE2b-256 checksum
How to use checksums
f26d35bba98385c98cb8b30449b29d273c2ba4f874e6f57271c37980ea987d47
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.9

Release history Release notifications | RSS feed

This release

0.1.1 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page