Skip to main content
AllMCPs
BrowseBestCategoriesStackCompareToolsGuidesBlog
Log in Submit MCP

Stay in the loop

Get new MCP servers and top picks in your inbox.

AllMCPs

The open directory for discovering and installing Model Context Protocol servers.

AllMCPs on GitHub (opens in a new tab)
Launched onTiny Startupstinystartups.com
Explore
  • Browse servers
  • Best MCP servers
  • Categories
  • MCP clients
  • Agent prompts
  • Stack Builder
  • Compare servers
  • Random discovery New
  • Submit a server
  • Pricing & Boost Boost
Learn
  • Guides hub
  • What is MCP?
  • Install guide
  • Build an MCP server
  • Deploy an MCP server
  • Security guide
  • Troubleshooting
  • MCP for SEO & AEO
  • Protocol versioning
  • Blog & updates
Tools
  • All developer tools
  • Config generator
  • Config validator
  • Config auditor
  • MCP playground
  • Token calculator
  • OpenAPI β†’ MCP
  • Badge generator
For agents
  • REST API docs
  • Trust & traffic Live
  • Remote MCP server SSE β†— (opens in a new tab)
  • llms.txt β†— (opens in a new tab)
  • Catalog JSON β†— (opens in a new tab)
Company
  • About
  • Advertise Sponsor
  • Contact
  • GitHub β†— (opens in a new tab)
  • Terms
  • Privacy
AllMCPs VerifiedAllMCPs VerifiedFeatured on Nick LaunchesFeatured on Nick LaunchesLaunch Llama NewsletterLaunch Llama NewsletterVerified DR - allmcps.comVerified DR - allmcps.comFeatured on SaaSGrowFeatured on SaaSGrowFeatured on Twelve ToolsFeatured on Twelve ToolsFeatured on Saaspa.geFeatured on Saaspa.geFeatured on Findly.toolsFeatured on Findly.toolsFeatured on Startup FameFeatured on Startup FameFeatured on LaunchKiwiFeatured on LaunchKiwiFeatured on ScrollLaunchFeatured on ScrollLaunchFeatured on DailyPingsFeatured on DailyPingsFazier badgeFazier badgeFeatured on NewTool.siteFeatured on NewTool.siteFeatured on saasfame.comFeatured on saasfame.comDR Checker - Domain RatingDR Checker - Domain RatingListed on Turbo0Listed on Turbo0Launched on LaunchBoard - Product Launch PlatformLaunched on LaunchBoard - Product Launch PlatformList on SimilarlabsList on Similarlabshttps://codetrendy.comhttps://codetrendy.comListed on DevTool.ioFeatured on BuildlistFeatured on BuildlistLaunched on Tiny StartupsFeatured on ShowMeBestAIFeatured on ShowMeBestAIFind us on LaunchZoneFind us on LaunchZoneAllMCPs VerifiedAllMCPs VerifiedFeatured on Nick LaunchesFeatured on Nick LaunchesLaunch Llama NewsletterLaunch Llama NewsletterVerified DR - allmcps.comVerified DR - allmcps.comFeatured on SaaSGrowFeatured on SaaSGrowFeatured on Twelve ToolsFeatured on Twelve ToolsFeatured on Saaspa.geFeatured on Saaspa.geFeatured on Findly.toolsFeatured on Findly.toolsFeatured on Startup FameFeatured on Startup FameFeatured on LaunchKiwiFeatured on LaunchKiwiFeatured on ScrollLaunchFeatured on ScrollLaunchFeatured on DailyPingsFeatured on DailyPingsFazier badgeFazier badgeFeatured on NewTool.siteFeatured on NewTool.siteFeatured on saasfame.comFeatured on saasfame.comDR Checker - Domain RatingDR Checker - Domain RatingListed on Turbo0Listed on Turbo0Launched on LaunchBoard - Product Launch PlatformLaunched on LaunchBoard - Product Launch PlatformList on SimilarlabsList on Similarlabshttps://codetrendy.comhttps://codetrendy.comListed on DevTool.ioFeatured on BuildlistFeatured on BuildlistLaunched on Tiny StartupsFeatured on ShowMeBestAIFeatured on ShowMeBestAIFind us on LaunchZoneFind us on LaunchZone
Β© 2026 Jackalope Digital LLC. All rights reserved.
  1. Home
  2. 🧠 Knowledge & Memory
  3. 0CompactMem
0CompactMem logo
Health: ActiveRecent health check succeeded.Last checked 9/11/2026, 7:16:55 PM

0CompactMem

User RatingsBe the first to rate and review this MCP server!
View Repository5 GitHub StarsTotal stargazers on GitHub for the source repository (5 stars).Visit Website
memoryknowledgesqlitemulti-agentretrieval

Persistent MCP memory server with SQLite storage, demand-paged retrieval, eviction, and pinning for shared agent context.

Quick Install

Automated & IDE Setup

Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β€” or use 1-click editor setup below.

Add to CursorAdd to VS Code
We couldn’t automatically confirm this listing starts correctly

The install command below didn't complete successfully in our automated test.

uvx --from

Downloading cpython-3.14.7-linux-x86_64-gnu (download) (34.3MiB) Downloaded cpython-3.14.7-linux-x86_64-gnu (download) Building vmem @ git+https://github.com/soolaugust/0CompactMem@1d57f12fbb46742a14ffe623fba474bf554ff954 Downloading cryptography (4.5MiB) Downloading pydantic-core (2.0MiB) Downloaded pydantic-core Downloaded cryptography Built vmem @ git+https://github.com/soolaugust/0CompactMem@1d57f12fbb46742a14ffe623fba474bf554ff954 Installed 29 packages in 17ms Traceback (most re

This is an experimental automated check and can have false negatives β€” missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked 1mo ago.

Manual Client & Custom JSON ConfigExpand JSON β–Ύ

Client Config & Setup

Choose your client or environment
Target File:~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "soolaugust-0compactmem": {
      "command": "uvx",
      "args": [
        "--from"
      ]
    }
  }
}

πŸ’‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.

Install Directory Badge Claim listing Alternatives🧠 More in Knowledge & Memory

Overview

This server stores durable agent memories in a shared SQLite database and retrieves relevant entries with BM25 and FTS5. It manages memory capacity through importance scoring, demand paging, and kswapd-style eviction, while pinning protects selected memories from reclaim. Use it when multiple agents need persistent context across sessions and compactions.

Use cases

β€’Store durable decisions and lessons across sessions
β€’Retrieve relevant memories with full-text search
β€’Share a memory store across multiple agents
β€’Pin constraints that must remain available
β€’Inspect memory capacity and pinned entries

Key features

β€’SQLite WAL-backed persistent storage
β€’BM25 and FTS5 memory retrieval
β€’Importance-based scoring
β€’Capacity-aware memory reclaim
β€’Memory pinning and unpinning
β€’Five MCP tools for lookup, pinning, statistics, and listing

Capabilities & Tool Schemas

Inspect callable tools, capabilities, and parameters exposed to AI agents by 0CompactMem.

Extracted Tool Capabilities
SQLite WAL-backed persistent storage
BM25 and FTS5 memory retrieval
Importance-based scoring
Capacity-aware memory reclaim
Memory pinning and unpinning
Five MCP tools for lookup, pinning, statistics, and listing

Documentation Overview

vMem

Virtual memory for LLM context. For Claude Code and every AI agent.

Your AI never forgets β€” no more "context compacted" interruptions.

Python SQLite Tests License Discussions

English Β· δΈ­ζ–‡

One-line install via Claude Code:

Code
/install-plugin github:soolaugust/vMem

The problem: context compaction kills your flow

If you use Claude Code, you know this pain:

Code
⚠️ Auto-compact: conversation is approaching context limit...

Every time this happens, your AI loses track of decisions, constraints, and hard-won context. You re-explain. It re-learns. Hours of accumulated understanding β€” gone in one compaction event.

And if you run multiple agents? They can't share what they've learned. Each one starts from zero.

This isn't a model limitation. It's a missing infrastructure layer.


The solution: persistent context that survives compaction

vMem gives your AI agents persistent, retrievable context managed like virtual memory: the context window is the hot working set, and durable knowledge lives outside it until demand-paged back in.

The result: OS-managed context continuity. Your AI retains every decision, constraint, and lesson across sessions, across compactions, across agents.

How it works

Code
You speak
  β†’ vMem retrieves relevant memories β†’ injects into context
  β†’ AI responds with full context
  β†’ Session ends β†’ decisions and insights auto-extracted β†’ persisted
  β†’ Compaction happens? No problem β€” memories survive outside the window
  β†’ Next session starts β†’ working set restored automatically

The whole pipeline runs inside Claude Code hooks. There is no manual memory management.


Why "vMem"?

vMem is virtual memory for LLM context: instead of treating the context window as the whole world, it manages a working set with OS primitives.

What others seeWhat vMem does
"Context compacted"Durable knowledge already lives outside the window
New session startsWorking set auto-restored in <100ms
Multiple agents runningAll share one managed context substrate
Constraint decided 3 weeks agoPinned with mlock-style semantics

OS-managed context. Durable working sets. No repeated explanation.


Under the hood: OS context management for AI

The secret sauce? We didn't invent new algorithms. We borrowed what the Linux kernel has been doing for 40 years:

OS conceptvMem equivalent
RAM (working space)Context window β€” what the AI sees right now
Disk (persistent storage)Knowledge base β€” facts that survive across sessions
Demand pagingOn-demand retrieval β€” fetch relevant memories at the right moment
mlockHard / soft pinning β€” guarantee a constraint is never evicted
kswapd watermarksCapacity-aware eviction under pressure
CRIU checkpoint / restoreSession snapshots β€” pause and resume seamlessly
Process schedulingMulti-agent coordination β€” many agents, one knowledge base
kworker thread poolAsync extraction β€” I/O off the critical path

How is this different from mem0 / Letta / Zep?

vMemmem0Letta (MemGPT)Zep
Design metaphorOS-managed contextVector storeAgent runtimeTemporal graph
Context continuityβœ… pinned knowledge survives❌❌❌
Multi-agent sharedβœ… native, single store⚠️ via APIβœ…βœ…
MCP-nativeβœ… first-class❌❌❌
Single-file deployβœ… SQLite, no service❌ needs server❌ needs server❌ needs server
Demand-paging retrievalβœ… explicitimplicitimplicitimplicit
Eviction policyβœ… kswapd + DAMONTTL onlyrecencyrecency + decay
Pin / mlock semanticsβœ…βŒβŒβŒ

TL;DR. If you're tired of context compaction wiping your AI's memory, and you want a solution that's pip install, runs as a sidecar on a laptop, shares between several Claude Code / Cursor / custom agents, and never loses a pinned constraint β€” vMem is built for that.


Performance at a glance

MetricValue
Retrieval latency (P50, hot path)~0.1 ms (540x faster than the 54 ms subprocess baseline)
Recall@3 vs baseline+147%
Cross-session recall94.2%
Token cost per call~44 tokens injected, +256 tokens net ROI (avoided re-explanation)
Test suite3,500+ tests across retrieval, eviction, MCP, privacy filter

Quick start

One-line install (recommended).

Code
/install-plugin github:soolaugust/vMem

Manual install.

bash
git clone https://github.com/soolaugust/vMem
cd vMem
pip install -e .
mkdir -p ~/.claude/memory-os

Detailed Claude Code hook configuration, daemon management, and troubleshooting live in docs/SETUP.md.


Architecture

Three layers:

  1. Hooks β€” sit at the Claude Code syscall boundary (SessionStart, UserPromptSubmit, Stop, PostToolUse) and call into the store.
  2. Store β€” single SQLite file (WAL mode) with FTS5 full-text index, behind a unified VFS interface (memory_os.store.api / memory_os.store.vfs / memory_os.store.criu).
  3. Daemons & IPC β€” persistent retriever daemon (Unix socket), async extractor pool (kworker-style), cross-agent notify bus.

For the full layered diagram, on-disk schema, and the rationale behind each subsystem, see docs/ARCHITECTURE.md. For the comprehensive OS-and-cognitive-science primitive mapping, see docs/DESIGN_PHILOSOPHY.md.


Roadmap

  • Distributed vMem β€” cgroup-style multi-agent quotas, network-replicated stores
  • Adaptive watermarks β€” eviction tuning that follows observed agent behavior
  • arXiv preprint β€” formal evaluation against mem0 / Letta / Zep
  • Per-chunk embedding routing β€” different models for code vs prose

What landed already (1,051+ tuning iterations, eight major capability rounds) is summarized in CHANGELOG.md. Pain points it has resolved along the way are in docs/PROBLEMS_SOLVED.md.


Testing

bash
# stable test subset
python3 -m pytest tests/test_agent_team.py tests/test_chaos.py -q

Coverage: per-session DB isolation, concurrent-write safety, cross-agent IPC delivery, extractor-pool queue semantics, CRIU checkpoint validation, goals-progress idempotency.


Dependencies

No GPU. No external API. Everything runs locally.

DependencyPurpose
Python 3.12+Core runtime
SQLite (built-in)Store + FTS5 full-text index
nc, flockDaemon socket + single-instance startup

Paper

πŸ“„ Beyond Eviction: Full OS Context-Management Semantics for LLM Agent Persistence (PDF, 8 pages)

Technical paper describing the complete OS→agent-context mapping: demand paging, kswapd, DAMON, mlock, CRIU, kworker, and shared memory.

Citation

bibtex
@software{su2026compactmem,
  title = {vMem: Full OS Memory Semantics for LLM Agent Persistence},
  author = {Su, Zhidao},
  year = {2026},
  url = {https://github.com/soolaugust/vMem}
}

Contributing

Each subsystem hides behind a clean VFS interface, so components are testable in isolation. Issues, design proposals, and pull requests are welcome β€” see the Discussions tab for design questions, and please run the test subset above before submitting a PR.


Context compaction is the #1 productivity killer in Claude Code. vMem makes it a non-event.

English Β· δΈ­ζ–‡

Read the full README β†’View source on GitHub β†’

Related MCP Servers

View all in Knowledge & Memory View all alternatives
  • Moxie Docs MCP logoMoxie Docs MCP
    β˜… Featured

    MCP & Agent Skills for Automated Documentation, and codebase conventions + context

    🧠 Knowledge & Memory21 views
    Compare vs Moxie Docs MCP β†’
  • Memora logoMemora

    Persistent memory with knowledge graph visualization, semantic/hybrid search, cloud sync (S3/R2), and cross-session context management.

    🧠 Knowledge & Memory2 views
    Compare vs Memora β†’
  • Scrivener MCP logoScrivener MCP

    Connect Scrivener 3 writing projects to Claude and other AI assistants. 47 tools for document management, writing analysis, semantic search, character/plot memory, and content enhancement. Progressive skill loading, relationship engine with HMS triplets, and JS fallback for offline semantic search. npm i -g scrivener-mcp

    🧠 Knowledge & Memory16 views
    Compare vs Scrivener MCP β†’
  • Acheron MCP Server logoAcheron MCP Server

    Cross-surface persistent memory for Claude. Bridges context between Claude Chat, Code, and Cowork via local SQLite with full-text search. Save decisions, preferences, and insights in one surface, retrieve them in any other.

    🧠 Knowledge & Memory2 views
    Compare vs Acheron MCP Server β†’

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks β€” not a rating.

GitHub stars
5
Stargazers on the source repository.
Last commit
2mo ago
Most recent push to the default branch.
Install check
Inconclusive
Install command did not finish in our automated test.
Directory activity
2 views
Config copies, upvotes, and views on AllMCPs.

Reviews

No reviews yet β€” be the first to share how this listing worked for you.

Frequently Asked Questions about 0CompactMem

It uses a shared SQLite store with WAL mode.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG Preview0CompactMem AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/soolaugust-0compactmem?style=directory)](https://allmcps.com/mcp/soolaugust-0compactmem)
HTML Embed
<a href="https://allmcps.com/mcp/soolaugust-0compactmem"><img src="https://allmcps.com/api/badge/soolaugust-0compactmem?style=directory" alt="0CompactMem on AllMCPs" /></a>

Technical Specs & Signals

Category🧠Knowledge & Memory
PricingFree
More technical detailsExpand β–Ύ
TransportSTDIO
RuntimePython
AuthNo auth required
LicenseMIT
ClientsCursor
Last updatedAug 9, 2026
10/11 checks healthy over the last 33d
Views2
Unique ViewsTotal visits recorded for this listing page on AllMCPs.
Installs0
Installs & Copy ActionsTotal times users copied install commands or configuration snippets for this server.
GitHub stars5
GitHub Star CountTotal stargazers on GitHub representing community popularity (5 stars).
Last commit2mo ago
Last Repository CommitThe most recent commit or push recorded for this server's GitHub repository.Last commit on Jul 14, 2026
52Quality signal: Good Β· 52/100How this signal is calculated β–Ύ
Server availabilityNot measured

Not scored for repo-hosted servers β€” we can't reach the running server, only its GitHub page. Hosted MCP endpoints are health-checked live.

Verified ownership10/20
Documentation & tools25/30
Adoption & activity4/15
Community engagement0/10

A guidance signal from public completeness & health data β€” not a user rating. New listings start lower and rise as they add docs, get verified, and grow adoption. Signals we can't observe for a listing are skipped, not counted against it.

β˜… Spotlight Slot

Feature Your MCP Server

Get maximum visibility for your server across our directory, search results, and detail pages.

Spotlight Your Server

Own this project?

This directory is pre-filled from public sources. Claim via GitHub README, site badge, or DNS TXT to unlock edit access and the Official badge β€” proof is checked automatically, then reviewed by our team.

Free dofollow backlink: add your website and place the AllMCPs badge on it β€” no claim needed. We detect it automatically and keep it verified as long as the badge stays live.

Claim & get free dofollow

Share & Embed

Add our SVG badge (dark/light directory styles) or embeddable widget to your site.

Explore more

More in 🧠 Knowledge & Memory β†’Best MCP servers for Memory & Knowledge β†’Alternatives to 0CompactMem β†’Install in Claude DesktopInstall in CursorInstall in VS Code