Memorymesh — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited Memorymesh (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
<!-- mcp-name: io.github.sparkvibe-io/memorymesh -->
Give any LLM persistent memory in 3 lines of Python. Zero dependencies. Fully local.
AI tools start every session with amnesia. Your preferences, decisions, past mistakes -- all gone. You repeat yourself. The AI re-discovers things you already told it. Context windows reset, and weeks of accumulated knowledge vanish.
MemoryMesh fixes this. Install once, and your AI remembers everything -- across sessions, across tools, across projects.
| Solution | Approach | Trade-off |
|---|---|---|
| Mem0 | SaaS / managed service | Requires cloud account, data leaves your machine, ongoing costs |
| Letta / MemGPT | Full agent framework | Heavy framework lock-in, complex setup, opinionated architecture |
| Zep | Memory server | Requires PostgreSQL, Docker, server infrastructure |
| MemoryMesh | Embeddable library | Zero dependencies. Just SQLite. Works anywhere. |
Like SQLite revolutionized embedded databases, MemoryMesh brings the same philosophy to AI memory: simple, reliable, embeddable. No infrastructure. No lock-in. No surprises.
Connect to the hosted MemoryMesh server -- no local installation needed:
Via Smithery:
npx -y @smithery/cli install @sparkvibe-io/memorymesh --client claudeOr browse and connect at smithery.ai/servers/sparkvibe-io/memorymesh. Supports 20+ MCP clients including Claude Code, Cursor, Windsurf, and Cline.
Install once, then add the config to your tool of choice:
pip install memorymeshClaude Code (~/.claude/settings.json):
{
"mcpServers": {
"memorymesh": {
"command": "memorymesh-mcp"
}
}
}Cursor (.cursor/mcp.json):
{
"mcpServers": {
"memorymesh": {
"command": "memorymesh-mcp"
}
}
}Gemini CLI (~/.gemini/settings.json):
{
"mcpServers": {
"memorymesh": {
"command": "memorymesh-mcp"
}
}
}Your AI now has persistent memory across sessions. Preferences, decisions, and patterns survive context window resets.
from memorymesh import MemoryMesh
memory = MemoryMesh()
memory.remember("User prefers Python and dark mode")
results = memory.recall("What does the user prefer?")That is it. Three lines to give your AI application persistent, semantic memory.
# Works with any LLM -- inject recalled context into your prompts
context = memory.recall("What do I know about this user?")
# Claude
response = claude_client.messages.create(
model="claude-sonnet-4-20250514",
system=f"User context: {context}",
messages=[{"role": "user", "content": "Help me design an API"}],
)
# GPT
response = openai_client.chat.completions.create(
model="gpt-4",
messages=[
{"role": "system", "content": f"User context: {context}"},
{"role": "user", "content": "Help me design an API"},
],
)
# Or Ollama, Gemini, Mistral, Llama, or literally anything elseremember() the key facts, decisions, and patterns (not the full conversation).recall() retrieves only the most relevant memories ranked by semantic similarity, recency, and importance.# Base installation (no external dependencies, uses built-in keyword matching)
pip install memorymesh
# With local embeddings (sentence-transformers, runs entirely on your machine)
pip install "memorymesh[local]"
# With Ollama embeddings (connect to a local Ollama instance)
pip install "memorymesh[ollama]"
# With OpenAI embeddings
pip install "memorymesh[openai]"
# Everything
pip install "memorymesh[all]"remember(), recall(), forget(). That is the core interface. No boilerplate, no configuration ceremony.recall() batches N access-time updates into 1-2 SQL calls instead of N.session_start and smart_sync skip loading embedding blobs, reducing I/O.update_access() no longer sets updated_at, fixing a recency feedback loop.on_conflict validation.PRAGMA busy_timeout=5000, PEP 561 py.typed, expanded secret regex patterns..md files, ranked by importance and recency.EncryptedMemoryStore now supports search_filtered and update_fields, matching the full MemoryStore interface.search_filtered (strict allowlist for metadata keys) and explicit file permissions on database files.v4.3.0 is the latest release. Available on PyPI.
v5.0 -- Performance & Scale is next. sqlite-vec ANN indexing, FTS5 keyword search, batch operations, and NumPy-accelerated cosine similarity for 5K+ memory stores.
See the full roadmap for details, strategic context, and completed milestones.
Full documentation: sparkvibe-io.github.io/memorymesh
| Guide | Description |
|---|---|
| [Configuration](https://sparkvibe-io.github.io/memorymesh/configuration/) | Embedding providers, Ollama setup, all constructor options |
| [MCP Server](https://sparkvibe-io.github.io/memorymesh/mcp-server/) | Setup for Claude Code, Cursor, Windsurf + teaching your AI to use memory |
| [Multi-Tool Sync](https://sparkvibe-io.github.io/memorymesh/multi-tool-sync/) | Sync memories across Claude, Codex, and Gemini CLI |
| [CLI Reference](https://sparkvibe-io.github.io/memorymesh/cli/) | Terminal commands for inspecting and managing memories |
| [API Reference](https://sparkvibe-io.github.io/memorymesh/api/) | Full Python API with all methods and parameters |
| [Architecture](https://sparkvibe-io.github.io/memorymesh/architecture/) | System design, dual-store pattern, and schema migrations |
| [FAQ](https://sparkvibe-io.github.io/memorymesh/faq/) | Common questions answered |
| [Benchmarks](https://sparkvibe-io.github.io/memorymesh/benchmarks/) | Performance numbers and how to run benchmarks |
| Platform | Link |
|---|---|
| PyPI | pypi.org/project/memorymesh |
| Smithery | smithery.ai/servers/sparkvibe-io/memorymesh |
| GitHub | github.com/sparkvibe-io/memorymesh |
We welcome contributions from everyone. See CONTRIBUTING.md for guidelines on how to get started.
MIT License. See LICENSE for the full text.
MemoryMesh is part of the SparkVibe open-source AI initiative. We believe that foundational AI tools should be free, open, and accessible to everyone -- not locked behind paywalls, cloud subscriptions, or proprietary platforms.
Our mission is to reduce the cost and complexity of building AI applications, so that developers everywhere -- whether at a startup, a research lab, a nonprofit, or learning on their own -- can build intelligent systems without barriers.
If AI is going to shape the future, the tools that power it should belong to all of us.
~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.