YantrikDB MCP Server
YantrikDB — Cognitive memory for AI agents. Persistent semantic recall, knowledge graph, contradiction detection, and procedural learning. Ships as embeddable engine, network database, or MCP server.
Works with Claude Code, Cursor, Windsurf, Hermes Agent, Prime Agent, and any MCP-compatible client. Ships a portable Agent Skills skill — skills/persistent-memory — that teaches any compliant harness the memory golden path.

Website: yantrikdb.com · Docs: yantrikdb.com/guides/mcp · GitHub: yantrikos/yantrikdb-mcp · Paper: Skill as Memory, Not Document

Every value on screen is the server's own answer over MCP — driver: docs/demo/demo.py, recorded with docs/demo/demo.tape.
At a glance
| |
|---|
| What it is | An MCP server that gives any MCP-compatible AI agent persistent, structured, queryable memory across sessions |
| Install | pip install yantrikdb-mcp |
| Works with | Claude Code, Cursor, Windsurf, Continue, Claude Desktop, Hermes Agent, Prime Agent, any MCP client |
| Storage | Local SQLite at ~/.yantrikdb/memory.db (or any path; or HTTP cluster) |
| Embedder | The engine's default for new databases (potion-base-8M, 256-dim, downloaded on first use; the bundled 64-dim potion-base-2M when offline), 384-dim ONNX MiniLM ([onnx] extra), 256-dim multilingual (101 languages) |
| Tools | 21 — remember, recall, forget, correct, think, memory, graph, conflict, trigger, session, temporal, procedure, category, personality, stats, skill, gaps, conversation, task, pack, atlas |
| License | MIT (engine: Apache-2.0) |
| Privacy | All data on your machine. No telemetry. No external services. |
Install
# Default — ~15-22 MB install (varies by platform), no native ML deps. A new
# database uses the engine's default embedder: potion-base-8M (256-dim), a
# one-time ~28 MB download, or the bundled 64-dim potion-base-2M when offline.
pip install yantrikdb-mcp
# Optional: higher-quality 384-dim ONNX MiniLM-L6-v2 embedder (~150 MB install).
# Auto-used when an existing pre-v0.6 database is detected.
pip install 'yantrikdb-mcp[onnx]'
Using Claude Code? Skip the pip step: /plugin marketplace add yantrikos/yantrikdb-mcp then /plugin install yantrikdb — installs straight
from this repo, no PyPI round-trip.
Using Cursor? Import this repo directly — Cursor reads the same
.cursor-plugin/plugin.json manifest: Customize -> Plugins -> Import from
Repo, paste yantrikos/yantrikdb-mcp (teams: Dashboard -> Plugins & MCPs ->
Add Marketplace -> Import from Repo instead). Not yet in Cursor's curated
marketplace — this is the direct-import path, no review needed.
Upgrading from v0.5.x? Your existing database stays at 384 dim — install
the [onnx] extra to keep using it transparently. New installs use the
engine's default embedder. v0.7.0+ pins the engine migration fix automatically.
See Embedder backends below.
Configure
Three ways to run it. A is the right choice for almost everyone on one
machine; it is what llms-install.md has install agents
recommend.
A — Shared local server (recommended)
One server per user, started at login and bound to 127.0.0.1. Every
workspace and every agent connects to it over HTTP, so a memory saved in one
session is visible in all the others immediately.