Atlas / MCP servers / yantrikos / YantrikDB

YantrikDBCAUTION

mcp/yantrikos/yantrikdb-1

Cognitive memory database for AI agents — consolidates duplicates, detects contradictions, fades stale memories via temporal decay. Rust, Apache-2.0, ships as library / MCP server / HTTP cluster.

Verdict
CAUTION
Grade
C
Trust score
75 /100
Exposed tools
14 11r · 3w · 0d
Transport
stdio
License
Apache-2.0
Stars
175
01

Overview

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

⚠ Correction notice (2026-04-19): Phase 3 benchmark writeups committed earlier today (docs/phase3a/, docs/phase3b/, docs/phase3c/, docs/phase3d/) used a Python simulator for the "structured memory" condition — NOT the actual yantrikdb engine. Rerun with real yantrikdb is in docs/phase3e/. Full audit trail, preliminary corrected numbers, and the exact publication gate for a findings post are in CORRECTIONS.md.

A memory database that forgets, consolidates, and detects contradictions.

Vector databases store memories. They don't manage them. After 10,000 memories, recall quality degrades because there's no consolidation, no forgetting, no conflict resolution. Your AI agent just gets noisier.

YantrikDB is different. It's a cognitive memory engine — embed it, run it as a server, or connect via MCP. It thinks about what it stores.

Shortest path to try it: MCP setup for Claude Code / Cursor / Windsurf → (one pip install, one config block).

The bigger picture: YantrikDB is the memory layer being built on the road to YantrikOS — an AI-native operating system where agents are first-class primitives, not apps on top. Memory was the bottleneck, so we're shipping it first.

[](https://crates.io/crates/yantrikdb-server) [](https://pypi.org/project/yantrikdb/) [](https://github.com/yantrikos/yantrikdb-server/pkgs/container/yantrikdb) [](https://doi.org/10.5281/zenodo.20128887) [](LICENSE)

📄 New paper (May 2026): [*Skill as Memory, Not Docume
Read from source at commit f97bf6065639OBSERVED · 2026-10-06
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. Replace the environment placeholders with a token scoped to the least it needs.

claude-code
claude mcp add yantrikdb --env YANTRIKDB_API_KEY=${YANTRIKDB_API_KEY} --env YDB_TOKEN=${YDB_TOKEN} -- uvx yantrikdb
claude-desktop
{
  "mcpServers": {
    "yantrikdb": {
      "command": "uvx",
      "args": [
        "yantrikdb"
      ],
      "env": {
        "YANTRIKDB_API_KEY": "${YANTRIKDB_API_KEY}",
        "YDB_TOKEN": "${YDB_TOKEN}"
      }
    }
  }
}
03

Exposed tools (14)

11 read · 3 write · 0 destructive.

ToolRiskDescription
conflict_listreadList memory conflicts (contradictions) that need resolution.
conflict_resolvereadResolve a memory conflict using a strategy.
entity_edgesreadGet all relationships for an entity in the knowledge graph.
entity_relatewriteCreate a relationship between two entities in the knowledge graph.
memory_correctreadCorrect an existing memory with updated information.
memory_forgetreadPermanently forget (tombstone) a memory.
memory_getreadGet a specific memory by its ID.
memory_recallreadSearch memories by semantic similarity to a natural language query.
memory_recall_feedbackreadProvide feedback on a recall result for adaptive learning.
memory_recall_refinereadRefine a previous recall with a follow-up query.
memory_recordreadStore a new memory in the cognitive memory engine.
memory_statsreadGet current memory engine statistics.
memory_thinkwriteRun the cognitive maintenance loop on the memory store.
trigger_listwriteGet pending proactive triggers from the memory system.
04

Trust audit

CAUTIONgrade C · trust 75/100 Install with care. The audit found things worth knowing before you trust its output.

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

What the source does

Filesystem
declared (7 observation(s))
Network
none-observed
Shell
none-observed
Dependencies
pinned
Secrets in source
found

Findings (24)

MEDIUMInventory / provenance · inv.binary · CWE-1104
crates/yantrikdb-ml/src/stt/melfilters.bytes
melfilters.bytes
Why it matters. a compiled or binary member cannot be reviewed from source
Fix. ship source, or explain the binary in the README
MEDIUMHard-coded secrets · secret.generic · CWE-798, CWE-321
crates/yantrikdb-server/tests/http_integration.rs:57
let token = "ydb_test_token_for_integration_tests_only_1234567890abcdef";
MEDIUMHard-coded secrets · secret.generic · CWE-798, CWE-321
deploy/kubernetes/yantrikdb-cluster.yaml:19
cluster-secret: "change-me-to-a-random-string"
MEDIUMHard-coded secrets · secret.generic · CWE-798, CWE-321
docs/phase2/gold_state_ablation.py:26
TOKEN = "ydb_31416c8f210b15b679172740795a295cef75b796aeb521dc3d018d98ea9fbadd"
MEDIUMHard-coded secrets · secret.generic · CWE-798, CWE-321
docs/phase2/harness.py:34
TOKEN = "ydb_1bf25b1e8e301a7b1906812a0fe62126967e69f51ae2ae3fe25cef4dfda8f4f3"
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
crates/yantrikdb-server/src/backup/backend.rs:474
.put_content("tenants/1/../../etc/passwd", &[0])
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
crates/yantrikdb-server/src/pack_store.rs:166
assert!(store.path("../../etc/passwd").is_none());
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
crates/yantrikdb-server/src/pack_store.rs:169
assert!(!store.has("../../etc/passwd"));
LOWNetwork egress · net.raw_ip · CWE-200, CWE-319
SERVER_README.md:262
curl -X POST http://192.168.4.180:7438/v1/remember \
LOWNetwork egress · net.raw_ip · CWE-200, CWE-319
SERVER_README.md:267
curl -X POST http://192.168.4.180:7438/v1/recall \
LOWNetwork egress · net.raw_ip · CWE-200, CWE-319
SERVER_README.md:283
db = connect("http://192.168.4.180:7438", token="ydb_cluster_3a8f...")
LOWNetwork egress · net.raw_ip · CWE-200, CWE-319
SERVER_README.md:381
yantrikdb cluster status --url http://192.168.4.180:7438 --token <secret>
LOWNetwork egress · net.raw_ip · CWE-200, CWE-319
benchmarks/throughput_2core_lxc/probe_drain.sh:4
URL=http://127.0.0.1:7438
LOWObfuscation / stealth · obf.decode_call · CWE-506, CWE-94
src/yantrikdb/sync/transport.py:51
hlc_bytes = bytes.fromhex(since_hlc) if since_hlc else None
LOWObfuscation / stealth · obf.decode_call · CWE-506, CWE-94
src/yantrikdb/sync/transport.py:80
op["hlc"] = bytes.fromhex(op["hlc"])
LOWObfuscation / stealth · obf.decode_call · CWE-506, CWE-94
src/yantrikdb/sync/transport.py:82
op["embedding_hash"] = bytes.fromhex(op["embedding_hash"])
LOWObfuscation / stealth · obf.decode_call · CWE-506, CWE-94
src/yantrikdb/sync/transport.py:94
peer_actor, bytes.fromhex(hlc_hex), op_id
LOWObfuscation / stealth · obf.decode_call · CWE-506, CWE-94
src/yantrikdb/sync/transport.py:214
op["hlc"] = bytes.fromhex(op["hlc"])
LOWPrompt injection · prompt.transfer_instruction · CWE-94, CWE-1427
docs/papers/skill-substrate-experience-report-v4.md:17
I characterize these failure modes formally and measure all three on a 5,000-skill corpus. I report a database-native resolution implemented as YantrikDB v0.8.13, an open-source skill substrate that s
Why it matters. an instruction to move sensitive data to an outside destination
Fix. remove; a skill never needs the user's secrets off the machine
LOWPrompt injection · prompt.transfer_instruction · CWE-94, CWE-1427
docs/papers/zenodo-bundle/skill-substrate-experience-report-v4-source.md:17
I characterize these failure modes formally and measure all three on a 5,000-skill corpus. I report a database-native resolution implemented as YantrikDB v0.8.13, an open-source skill substrate that s
Why it matters. an instruction to move sensitive data to an outside destination
Fix. remove; a skill never needs the user's secrets off the machine
INFOInventory / provenance · inv.oversize · CWE-1104
crates/yantrikdb-wasm/pkg/yantrikdb_wasm_bg.wasm
crates/yantrikdb-wasm/pkg/yantrikdb_wasm_bg.wasm
Why it matters. 1820835 bytes not read
INFOInventory / provenance · inv.oversize · CWE-1104
src/yantrikdb/_yantrikdb_rust.cp313-win_amd64.pyd
src/yantrikdb/_yantrikdb_rust.cp313-win_amd64.pyd
Why it matters. 5350400 bytes not read
INFOInventory / provenance · inv.oversize · CWE-1104
uv.lock
uv.lock
Why it matters. 1037465 bytes not read
INFOPrompt injection · prompt.authority_framing · CWE-94, CWE-1427
DESIGN.md:205
Phase 1: `ydb_<random_64_hex>` → maps to one database, full access.

Gates applied: no_behavioural_pass.

Audited 2026-10-06 · audit v0.4.1 · source sha f97bf6065639full audit observations/trust-audit/mcp-server/yantrikos__yantrikdb-1.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-06f97bf6065639CAUTIONC75first audit
06

Questions

What is the YantrikDB MCP server?

Cognitive memory database for AI agents — consolidates duplicates, detects contradictions, fades stale memories via temporal decay. Rust, Apache-2.0, ships as library / MCP server / HTTP cluster.

What tools does YantrikDB expose?

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

Is YantrikDB safe to connect to an agent?

With care. The audit graded it C (75/100) and found 24 things worth knowing before you trust this server, listed below with the exact line each was found on.

What credentials does YantrikDB need?

It reads YANTRIKDB_API_KEY and YDB_TOKEN from the environment. Give it a token scoped to the least it needs — an agent that can be talked into calling a tool can be talked into calling it with your credentials.

How does YantrikDB run?

It speaks stdio, so it runs as a local process your client starts. It is published on PyPI as yantrikdb.

How current is this page?

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

Advertisement