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)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| 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
|