trackmcp
Back to directory
SelfMemory

SelfMemory

View on GitHub

Let your memories live forever by passing your knowledge to the next generation with SelfMemory.

33 stars PythonOthers Updated Jun 22, 2026
memoryaiagentsai-agentschatbotschatgptgenaillmlong-term-memorymemory-managementpythonragstate-managementhacktoberfest

Documentation

SelfMemory
CI
PyPI
Python
PyPI downloads
npm downloads
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

bash
pip install selfmemory
python
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.

Frequently asked questions

What is SelfMemory?

SelfMemory is Let your memories live forever by passing your knowledge to the next generation with SelfMemory.

How do I install SelfMemory?

Open the GitHub repository and follow its README. Most MCP servers are added to your client's MCP config, then called by your agent.

Is SelfMemory open source?

Yes — it is hosted on GitHub at https://github.com/SelfMemory/SelfMemory and has 33 stars.

Related MCP tools

Run your own MCP server? See who uses it and what to fix.

Measure it with TrackMCP