Enterprise DNA Enterprise DNA
M MCP Servers Developer low

soolaugust/0CompactMem

by Various

Zero context compaction for Claude Code & LLM agents. Persistent memory powered by OS primitives (demand paging, kswapd eviction, mlock pinning). Single SQLite file, MCP-native, mu

MCP

soolaugust/0CompactMem

Added 7 June 2026

#agent-framework #agent-memory #ai-agents #claude #claude-code #context-compaction #context-management #cursor

Overview

0CompactMem provides persistent memory for Claude Code and other LLM agents using OS memory primitives like demand paging and mlock pinning. It stores memory in a single SQLite file and is MCP-native, allowing multiple agents to share the same memory.

Best for

Best for
Developers building multi-agent LLM systems that need efficient, shared persistent memory with OS-level control

Use cases

  • Persistent memory for LLM agent sessions across restarts
  • Shared memory context for multi-agent collaboration
  • Efficient memory management using OS-level demand paging

How to use

Install

pip install -e .

Tools exposed

  • MCP-native

Tested with

Claude Code, Cursor

Notes

0CompactMem provides persistent memory for Claude Code and other LLM agents using OS memory primitives like demand paging and mlock pinning. It stores memory in a single SQLite file and is MCP-native, allowing multiple agents to share the same memory.

0 stars on GitHub. Last updated 2026-06-01.

Use cases

  • Persistent memory for LLM agent sessions across restarts
  • Shared memory context for multi-agent collaboration
  • Efficient memory management using OS-level demand paging

Pros

  • Leverages OS memory management (demand paging, mlock) for performance
  • Single SQLite file simplifies storage and portability
  • MCP-native design enables seamless multi-agent memory sharing

Cons

  • Low community adoption (0 stars) suggests early-stage or niche tool
  • Requires system-level configuration of OS primitives (swap, mlock)
  • Potential complexity in tuning memory constraints for different workloads

Indexed from awesome-mcp-servers-punkpeye and enriched against its public facts.

Pros

  • Leverages OS memory management (demand paging, mlock) for performance
  • Single SQLite file simplifies storage and portability
  • MCP-native design enables seamless multi-agent memory sharing

Cons

  • Low community adoption (0 stars) suggests early-stage or niche tool
  • Requires system-level configuration of OS primitives (swap, mlock)
  • Potential complexity in tuning memory constraints for different workloads

Pairs with

Other entries in the index that connect to this one. Click through to see the chain.

Free 27-page guide

Get the free Developer’s Field Guide

A 27-page field guide to the AI coding workflow with Claude. Claude Code, MCP servers, the prompt patterns that work, and what to delegate. Free.

Enter your work email. We send it straight over, plus a few short notes worth knowing. Unsubscribe any time.

No spam. Unsubscribe any time.

Running a business, not writing the code? See the MCP servers picked for operators, and get your first one wired up with us.

Operator picks