MCP directory
D

DoboCache

by github.com/dobo123123 · v0.9.2 · updated Nov 16, 2026

Stabilizes LLM prompt-cache prefixes so provider caching hits. One command setup, no baseURL edit.

npm

Run it locally

Install the package and point your AI client at it.

Environment variables

  • DOBOCACHE_LOG_DIR

    Directory for the local white-box JSONL log. Absolute path recommended. Optional; defaults to the platform log directory: %LOCALAPPDATA%\DoboCache\logs on Windows, ~/Library/Logs/DoboCache on macOS, $XDG_STATE_HOME/dobocache (fallback ~/.local/state/dobocache) on Linux.

  • DOBOCACHE_WHITEBOX

    White-box report card mode: quiet (default, no card in tool output, log only), once (one card next call, then back to quiet), always (card on every call, ~300+ tokens each). Unrecognized values fall back to quiet with a warning. Cumulative stats are always available via cf_report at no token cost.

  • DOBOCACHE_HIT_PRICE_PER_M

    Optional price per million tokens for cache-hit tokens used in savings estimates.

  • DOBOCACHE_MISS_PRICE_PER_M

    Optional price per million tokens for cache-miss tokens used in savings estimates.

More MCP servers