Atlas / MCP servers / erikhuang76821 / code-recall

code-recallSAFE

mcp/erikhuang76821/code-recall

Local decision ledger for AI coding agents — keeps why a choice was made and which paths are dead ends, and re-injects it after context compaction. Plain Markdown, zero dependencies, works across Claude Code / Codex / Cursor / Copilot / Gemini.

Verdict
SAFE
Grade
B
Trust score
89 /100
Exposed tools
7 3r · 4w · 0d
Transport
—
License
MIT
Stars
0
01

Overview

From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.

English · 繁體中文

Long session, the context window compacts — and your agent re-opens a decision you settled an hour ago, re-walks a dead end you already ruled out, sometimes rewrites code it just wrote the opposite way. The chat had the reasoning; compaction ate it. Code Recall keeps it in front of the agent at every reset — instead of hoping the model recalls it.

[](https://opensource.org/licenses/MIT) [](https://github.com/erikhuang76821/code-recall/actions/workflows/ci.yml) [](https://www.npmjs.com/package/@erikhuang/coderecall) [](http://makeapullrequest.com)

Code Recall is a tiny local decision ledger for AI coding agents. It holds what projects lose most easily and rebuild most expensively: why a choice was made, and which paths are proven dead ends.

Three plain Markdown files in your repo. A SessionStart hook puts them back in front of the agent the moment context resets — session start, resume, and after compaction — and a PreCompact hook snapshots the conversation tail just before it is destroyed. (Native hooks on Claude Code; instruction-driven on other tools, and verified injecting into Codex CLI unchanged.)

Not a memory database, not the cloud, not a governance platform. Zero dependencies, travels with the repo. Think "Git for decisions" that survives compaction.

Requirements · Node ≥ 10.12 (anythin

Read from source at commit 12c9848b6ca0OBSERVED · 2026-10-12
02

Connect

Built from this server's own package name, version and transport as found in its source — not copied from anyone's documentation, so it cannot drift against a page we do not control.

claude-code
claude mcp add coderecall -- npx -y @erikhuang/[email protected]
claude-desktop
{
  "mcpServers": {
    "coderecall": {
      "command": "npx",
      "args": [
        "-y",
        "@erikhuang/[email protected]"
      ]
    }
  }
}
03

Exposed tools (7)

3 read · 4 write · 0 destructive.

ToolRiskDescription
list_decisionswriteList CURRENT (accepted) decisions — the HEAD view. Set
read_memoryreadRead the project memory digest (GOAL/NOW/NEXT, counts, blocked items).
reconfirmreadRe-stamp an entry as still-true today without rewriting it: refreshes
resolve_lessonreadMark a LESSONS entry no longer current:
update_taskwriteUpdate TASK.md GOAL/NOW/NEXT. Provide any subset.
write_decisionwriteRecord an ADR-grade decision (DECISIONS.md): why + what + consequences. Provide either
write_lessonwriteRecord a lesson / failure + root cause (LESSONS.md):
04

Trust audit

SAFEgrade B · trust 89/100 Nothing in the source contradicts what it says it does. Grade A is reserved for packages that have also passed the behavioural sandbox.

LayerWhat it checksResult
L0Provenance & inventoryPASS
L1Static analysis of the codePASS
L2Instruction surface (what it tells the agent)PASS
L3Class-specific surfacePASS
L4Behavioural (sandbox)SKIPPED

What the source does

Filesystem
declared (5 observation(s))
Network
declared (1 observation(s))
Shell
declared (4 observation(s))
Dependencies
pinned
Secrets in source
none-found

Findings (2)

INFOInventory / provenance · inv.oversize · CWE-1104
docs/assets/1.png
docs/assets/1.png
Why it matters. 1575737 bytes not read
INFOInventory / provenance · inv.oversize · CWE-1104
docs/assets/2.png
docs/assets/2.png
Why it matters. 1297109 bytes not read

Gates applied: no_behavioural_pass.

Audited 2026-10-12 · audit v0.4.1 · source sha 12c9848b6ca0full audit observations/trust-audit/mcp-server/erikhuang76821__code-recall.json · Report an issue / request a re-scan
05

Audit history

Every audit this server has had. A grade with a past is a grade somebody is still checking.

DateSourceVerdictGradeScoreChange
2026-10-1212c9848b6ca0SAFEB89first audit
06

Questions

What is the code-recall MCP server?

Local decision ledger for AI coding agents — keeps why a choice was made and which paths are dead ends, and re-injects it after context compaction. Plain Markdown, zero dependencies, works across Claude Code / Codex / Cursor / Copilot / Gemini.

What tools does code-recall expose?

7 in total: 3 read-only, 4 that write, and 0 that can delete or overwrite. Every one is listed on this page with its risk.

Is code-recall safe to connect to an agent?

The audit found nothing in the source that contradicts what it says it does, and graded it B (89/100). Grade A is held back for packages that have also passed a sandboxed behavioural run, which is why a clean server reads B.

What credentials does code-recall need?

No credential environment variables were found in its source, so it appears to need none.

How current is this page?

The grade is for one exact copy of the source (12c9848b6ca0), read on 2026-10-12. The repository is watched and re-audited when it changes.

Advertisement