Knock gives Claude Code a local code map and memory over MCP, halving one investigation's cost on a 4,776-file repo
Shown on HN Nov 2 under Apache-2.0, claude mcp add knock -- uvx knock-mcp serve --repo . --toolset map gives the agent map, open and remember tools that return a skeleton of relevant code with line ranges plus saved findings flagged fresh or stale, all locally with no API key. The author's median of three runs on Saleor cut cost from $0.49 to $0.25, but says gains vanished on a small repo and quick edits cost slightly more (benchmark).
