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.
Metadata
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 | Actions Reset |
|---|---|---|---|---|
| mem_learn-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for mem_learn-0.1.1-py3-none-any.whl |
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
|
Security for mem-learn 0.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.