kvdiff (MIT): a 63kB local proxy that catches MCP tool-reordering cache busts and auto-heals them live

BringinItDirty · reddit · 2026-11-22

The author open-sourced kvdiff (MIT, 63 kB), a zero-config local proxy for diagnosing MCP-induced prompt cache busts — a single tools[] reorder or schema key change can drop a 94% cache hit rate to 0%, multiplying token spend and burning rate-limit windows.

Node >= 24, built-in node:sqlite, binds to 127.0.0.1 only, zero telemetry. (Duplicate post about the same kvdiff release.)

Related event: kvdiff: Open-Source Tool Fixes MCP Prompt Cache Invalidation(2 posts)→

Original post →

More from coding & agent

coding & agent channel →