memory-decay
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@memory-decayremember that my favorite color is blue"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
PyMemoryDecay MCP
A Model Context Protocol (MCP) server that implements memory with decay mechanics. Memories fade over time unless accessed, mimicking human memory retention. It also includes a permanent "journal" for verification.
Why This?
Inspired by https://www.moltbook.com/post/783de11a-2937-4ab2-a23e-4227360b126f
Related MCP server: cell-mem
Prerequisites
uv (Fast Python package installer and resolver)
Python 3.12+
Setup
Clone the repository:
git clone <repository-url> cd PyMemoryDecayMCPInstall dependencies: Initialize the project and install dependencies using
uv:uv sync
Running Locally
To run the MCP server from source:
uv run main.pyBuilding the Executable
To compile the project into a single standalone executable (.exe):
Add development dependencies (if not already added):
uv add --dev pyinstallerBuild:
uv run pyinstaller --onefile main.py --name memory-decay-mcp --cleanLocate the executable: The compiled
.exewill be found in thedist/directory:dist/memory-decay-mcp.exe
VS Code Configuration
To use this with the VS Code MCP extension, add the following to your mcp.json config file (typically found in %APPDATA%\Code\User\globalStorage\mcp-server\mcp.json or configured via the extension settings).
Using Source (Recommended for Dev)
{
"mcpServers": {
"memory-decay": {
"command": "uv",
"args": [
"run",
"C:\\path\\to\\PyMemoryDecayMCP\\main.py"
],
"env": {
"MEMORY_STORAGE_PATH": "C:\\path\\to\\custom\\data\\folder"
}
}
}
}Using Built Executable
{
"mcpServers": {
"memory-decay": {
"command": "C:\\path\\to\\PyMemoryDecayMCP\\dist\\memory-decay-mcp.exe",
"args": [],
"env": {
"MEMORY_STORAGE_PATH": "C:\\path\\to\\custom\\data\\folder"
}
}
}
}Configuration
MEMORY_STORAGE_PATH: (Optional) Environment variable to set the directory where the vector database and journal file are stored. Defaults to
./datarelative to the working directory.
Features
Store Memory: Embeds text and stores it in LanceDB.
Recall Memory:Retrieves relevant memories based on semantic search, filtered by memory "strength" (decay function).
Verify History: An immutable audit log (flat file) to verify facts regardless of memory decay.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
Alicense-qualityAmaintenanceMCP server providing cognitive memory tools (remember, recall, think, etc.) for AI agents, enabling forgetting, consolidation, and contradiction detection.Last updated168AGPL 3.0- Alicense-qualityBmaintenanceAn MCP server that provides AI agents with persistent, multi-layered memory inspired by the human brain, including consolidation, self-reflection, and generative replay.Last updated1MIT
- Alicense-qualityDmaintenanceAn MCP server that gives AI agents persistent, forgetting memory with layered decay, semantic search via token overlap, and zero external dependencies.Last updatedMIT
- AlicenseAqualityCmaintenanceAn MCP server providing long-term memory for AI agents with forgetting curves, consolidation, and graph-based retrieval.Last updated10393MIT
Related MCP Connectors
Cloud-hosted MCP server for durable AI memory
Person-owned, portable AI memory as a remote MCP server, readable and writable by any MCP client.
Shared long-term memory vault for AI agents with 20 MCP tools.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Wakanlolz/PyMemoryDecayMCP'
If you have feedback or need assistance with the MCP directory API, please join our Discord server