ColdMemory//3 min read/By Taylor

Why We Put ColdMemory on PyPI: 198-Token Local Markdown Memory With Instant rm Forget

ColdMemory 0.3.7 is live on PyPI and the Official MCP Registry: pure Python stdlib SQLite + mmap over plain Markdown, 198 wire schema tokens, live file:line citations, and instant rm deletion.

coldmemorymcpclaude-codecodexlocal-first

This is where we've hit the wall again and again. We have Claude Code and Codex writing for hours on end and then when they get summarized, they forget what we actually decided. So if you have to make some choices or decisions in a project - because you're going to build this thing, but not that thing. Or we're going to use that stack but not this one - it's not as if they write it down somewhere and then when they get summarized, they just go, "I don't remember." It's frustrating. And at the same time, most MCP memory servers I've seen are bloated. Either they throw thousands of tokens of tool descriptions into your context before you even ask them anything. Or they use cloud LLM calls to write notes for you. Today, we open-sourced ColdMemory on PyPI (pip install coldmemory) and the Official MCP Registry. It has zero runtime dependencies, and it runs on plain local Markdown files with a 198-token single-tool mode instead of 388 - and every response re-reads your actual markdown files on disk and cites the exact file and line - so if you delete one with rm, it stops quoting it the next turn - and a keyed decision ledger where one newer decision beats older logs.

Install and connect in 30 seconds

bashVerified snippet
# Persistent CLI install (Python 3.11+, zero runtime dependencies)
uv tool install coldmemory   # or: pip install coldmemory

# Index your Markdown folder and preview Claude Code / Codex config
coldmemory init /path/to/notes
coldmemory init /path/to/notes --apply

# Or add single-tool MCP mode (198 wire schema tokens) directly in Claude Code
claude mcp add coldmemory -- uvx coldmemory mcp --local-unsigned --tools memory_ask --store ~/.local/share/coldmemory

Measured receipts (and honest caveats)

Benchmark / CheckBaselineColdMemory (0.3.7)Disclosure / Scope
7 compactions (OpenBot 0.84.0)26/35 stock35/35 (17/17 changed/deleted/cross-agent vs 8/17)Stock kept in-chat edits; missed rm and cross-agent writes
MCP tool schema footprint388 tok (memory-slim) / 2,307-8,183 multi-tool198 wire tokens (--tools memory_ask)234 default JSON tokens; full 5-tool mode available
Live 89,494-note Markdown vault10.88 GB on disk / 24 min cold brief75.8 MiB cgroup RAM / 32.6-38.8 ms warm briefPure Python stdlib SQLite + mmap, $0 LLM ingest
10x stale-repetition conflictOlder repeated logs win plain search10/10 defeated via coldmemory decidePlain unlinked Markdown without ledger still uses BM25
LongMemEval-S / LoCoMo Cat 1-4Cloud LLM-ingest systems91.0% E2E / 83.1% E2E (self-reported)Different reader/judge than vendor tables; raw JSON published
ColdMemory 35/35 vs 26/35 across 7 compactions scorecard
ColdMemory held 35/35 across 7 live compactions while returning verified file:line quotes straight from disk.
Receipts & Source Links
All blog posts (1)Article 1 of 1