MCP.Market

AnchorDB MCP server

by jolovicdev·io.github.jolovicdev/anchordb·v1.0.6

Persistent code memory for AI agents: notes pinned to files and symbols that survive refactors.

B80/100grade B
What users say
No reviews yet
Be the first
Safety scan
B80/100

full report

Adoption
New

0 stars

Reviews

Write one

Nobody has reviewed AnchorDB yet.

If you have run it, two minutes of your experience saves the next person an afternoon.

AnchorDB tools

No tool declarations could be read from the package source. They show once the server is installed.

Public scan report

scanner v0.1.10 · 2026-11-03 · same rubric, same numbers if you re-run it

no findings
  • –Code scanpackage could not be scannedn/a
  • –Live reliabilityno gateway calls yet and no remote to proben/a
  • –Tool poisoningtools not inspected (local package is not executed); not countedn/a
  • Auth qualitylocal package, no credentials required12/15
  • Maintenancelast push 80 days ago12/15
  • Maintainer identityregistry namespace matches repository owner; GitHub account older than a year8/10
Overall 80/100. Components that don't apply are left out of the denominator. Any critical finding is an F.RubricAppeal a findingJSON

How AnchorDB compares

Against every graded MCP server, from our own scans and uptime checks. Updated after each scan run.

Safety score
80/100
higher than 60% of 48,255 servers

Install AnchorDB in Claude Code, Cursor or VS Code

claude mcp add anchordb -- docker run -i --rm ghcr.io/jolovicdev/anchor-db:1.0.6
Add to Cursor

What the publisher says

From the AnchorDB repository's README, as published. We do not edit it. Read it on GitHub

AnchorDB

Code memory for AI coding agents. AnchorDB is an MCP server that stores notes attached to specific code — a file, a line range, a symbol — and keeps them attached as that code moves. The context an agent builds up in one session is still there in the next one.

Point Claude Code, Cursor, or any Model Context Protocol host at it, and an agent can read why a workaround exists before editing it, and leave notes for whoever comes next. Everything stays local: one SQLite file, your git repositories, no network calls, no account.

curl -fsSL https://raw.githubusercontent.com/jolovicdev/anchor-db/master/install.sh | sh
claude mcp add anchordb -- anchordb-mcp --db ~/.anchordb/anchor.db

No account, no API key, and nothing to run in the background. git is the only requirement; prebuilt binaries cover Linux, macOS, and Windows, and there is a container image and a Go install path too.

Three ways in, over the same data:

Why

Chat history is a bad place to keep what you learn about a codebase. It scrolls away, it is not attached to anything, and the next session starts blank.

A comment in the source is better, but you cannot leave one everywhere, and much of what matters does not belong in the file: a reproduction for a bug you did not fix, why the obvious refactor is wrong, what broke the last time someone touched this retry loop, where you stopped.

AnchorDB keeps those notes beside the code instead of inside it, and follows the code when it moves. A note pinned to a function is still on that function after you rename it, reorder the file, or move it to another package.

Use cases

  • Coding agents that should read context before editing a file or symbol
  • Agent handoffs, where one run leaves precise notes for the next
  • Long debugging sessions, keeping repros and findings attached to the code
  • Review notes on risky paths — billing, auth, migrations, retry logic
  • Any codebase where the reason for a decision outlives the person who made it

How It Works

AnchorDB stores anchors.

Each anchor contains:

  • repo metadata
  • a note body and kind
  • a file path
  • a line and column range
  • selected text plus surrounding context
  • an optional symbol path

When files change, AnchorDB re-resolves anchors using the saved span, text context, and symbol information. Tree-sitter improves symbol extraction and relocation, but the system still works without it.

Resolution tries strategies from most to least certain and stops at the first that holds up:

taken against, so git diff says exactly where those lines went. This is deterministic where text matching can only guess, and it is the difference between finding the right copy of a duplicated block and finding the first one. The mapping is always verified against the stored text before it is applied, so it degrades safely rather than mis-anchoring.

  1. Exact span — the recorded lines still hold the recorded text.
  2. Git line mapping — each anchor records the commit its line numbers were

survived.

  1. Symbol match — the same symbol path, scored on how much of its body

ranked by surrounding context.

  1. Text and context match — the recorded text found elsewhere in the file,

An anchor that none of these can place is marked stale and keeps its last known position. Because the diff is available, a stale anchor can say whether its code was rewritten in place or deleted outright. Resolution is per-path and failures are isolated, so one unresolvable file never stops the rest of a repo from syncing.

Anchors written before this existed have no recorded base commit; they simply skip the git step and fall back to text matching.

Triage

Shortened. The full README is on GitHub.

Nothing above is checked by us. What we check is on the safety report.

AnchorDB: common questions

Is AnchorDB MCP server safe?
Mostly: it is graded B (80/100). Read the AnchorDB safety report
How do I install AnchorDB?
It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
Does AnchorDB need an API key?
Not as far as the registry entry and our scan can tell: no credentials are declared or required.
Is AnchorDB maintained?
The last commit was 81 days ago (2026-08-15). The latest release is v1.0.6.
What can I use instead of AnchorDB?
Servers from other publishers that do the same job: Computer MCP server, State Memory MCP server and Knowl MCP server.

Alternatives to AnchorDB

Same job from other publishers: the closest match first, then the best rated.

  • Computer
    A private persistent computer: files that survive between runs, a bash shell and JavaScript.
    A
  • State Memory MCP
    Persistent workflow graph server tracking tasks, decisions, spatial entities, and blockers.
    A
  • Knowl
    Persistent memory for AI agents, for code, research and everyday life. Stale facts retire.
    A