Skip to main content
Glama

SelfMemory

CI PyPI Python License codecov

SelfMemory

Store AI memories for you and your agents

It is a open-source universal memory engine where users can store and retrieve their AI conversations and context across different models. Users can add memories through MCP, SDK, or a website selfmemory.com Over time, this will evolve into a one-stop memory hub with note-taking and chatbot features. For B2B, it becomes a knowledge backbone, storing project context, organizational knowledge, documents, and data sources to power company-wide AI systems.

🚀 Quick Start

pip install selfmemory
from selfmemory import SelfMemory

memory = SelfMemory()

# Add memories
memory.add("Can you find the nearest BMW car showroom for me.", user_id="user")

# Search memories
results = memory.search("Can you find a car washing service near me?", user_id="user")
print(results)

📚 Full Documentation

Visit docs.selfmemory.com for complete documentation, guides, and examples.

Changelog: See CHANGELOG.md for a detailed list of changes and updates.

🤝 Contributing

We welcome contributions! CONTRIBUTING.md.

-
security - not tested
A
license - permissive license
-
quality - not tested

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Latest Blog Posts

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/SelfMemory/SelfMemory'

If you have feedback or need assistance with the MCP directory API, please join our Discord server