mcp-local-memory logo
mcp-local-memory
★ 60
vs
Compartment logo
Compartment
★ 584

mcp-local-memory vs Compartment

mcp-local-memory: mcp-local-memory is a local-first MCP server designed to provide AI agents with shared, durable memory without relying on Docker or cloud services. It achieves this through a powerful combination of hybrid semantic search, SQLite FTS5, and a structured knowledge graph, supporting features like temporal recall and adaptive ranking.; Compartment: Compartment provides durable, encrypted, and offline-first memory for AI agents, allowing them to retain decisions and preferences permanently on your local machine. It offers fast hybrid search, robust security features including AEAD encryption, and easy integration with popular AI agents like Claude, Hermes, and OpenClaw without needing cloud accounts or API keys.

01

TL;DR

mcp-local-memory logo
mcp-local-memoryMemory & Context · ★ 60

Provide persistent and shared memory for AI agents in local environments.

Compartment logo
CompartmentMemory & Context · ★ 584

Providing long-term memory for AI agents to improve performance over time.

02

Side-by-Side Comparison

Field
mcp-local-memory logomcp-local-memory
Compartment logoCompartment
Category
Memory & Context
Memory & Context
Stars
★ 60
★ 584
License
MIT
Apache-2.0
Install Command
npm install -g @beledarian/mcp-local-memory@2
pip install compartment && compartment init
Updated
1mo ago
3d ago
Open Source
Yes
Yes
Tags
AI Agents, Memory Management, Knowledge Graph
Agentic Memory, Offline-first, Encrypted Storage
03

Features

mcp-local-memory logomcp-local-memory
01Shared memory across multiple AI agents
02Hybrid semantic and keyword recall
03Structured knowledge graph for context management
04Temporal memory recall with natural language dates
05Adaptive memory ranking based on multiple factors
Compartment logoCompartment
01Durable and encrypted agentic memory stored locally.
02100% offline operation with no network, API keys, or cloud accounts.
03Fast hybrid semantic and keyword search with sub-20ms latency.
04Pre-seeded knowledge base with 6,718 curated facts available at install.
05Cryptographic deletion and hash-chained audit logs ensure data security and integrity.
04

Use Cases

mcp-local-memory logomcp-local-memory
↳Provide persistent and shared memory for AI agents in local environments.
↳Build knowledge bases and manage context for complex AI applications.
↳Facilitate local-first AI agent development and testing without external dependencies.
↳Serve as a centralized memory server for distributed AI agent systems via HTTP/SSE.
Compartment logoCompartment
↳Providing long-term memory for AI agents to improve performance over time.
↳Enabling AI agents to operate effectively offline with a rich knowledge base.
↳Securely storing sensitive agentic data, decisions, and preferences locally.
↳Sharing a single, encrypted memory vault across multiple AI agents and projects.
↳Automatically preserving full conversation context before agent summarization or compaction.
FAQ

FAQ

What is the difference between mcp-local-memory and Compartment?
Both mcp-local-memory and Compartment are in the Memory & Context category. mcp-local-memory has 60 stars, while Compartment has 584 stars.
Which is better, mcp-local-memory or Compartment?
The best choice depends on your use case. Choose mcp-local-memory if Provide persistent and shared memory for AI agents in local environments., and Compartment if Providing long-term memory for AI agents to improve performance over time..
Is mcp-local-memory free or open source?
Yes, mcp-local-memory is open source on GitHub (MIT).
Is Compartment free or open source?
Yes, Compartment is open source on GitHub (Apache-2.0).
Cloud Infrastructure
Ad

Deploy on DigitalOcean

Host your MCP servers, Docker containers, and AI agents with $200 free credit over 60 days.

Claim $200 Free Credit
→

Related