Yantrikdb MCP logo

Yantrikdb MCP

Persistent agent memory with semantic recall, knowledge graphs, contradiction handling, and procedural learning over MCP.

Install Yantrikdb MCP

Pick your client, then add it in one click or paste the config.

STDIOPython
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "yantrikdb-mcp": {
      "command": "uvx",
      "args": [
        "yantrikdb-mcp"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Install not yet sandbox-tested— the server itself is confirmed live (we called its tools/list endpoint). The stdio install command is a separate, ongoing check.

Overview

yantrikdb-mcp connects MCP-compatible agents to persistent cognitive memory backed by local SQLite or a YantrikDB HTTP cluster. Its tools cover semantic recall, structured memory edits, knowledge-graph links, contradiction workflows, temporal queries, procedures, skills, tasks, and session digests. Use it when an agent must retain relevant context across sessions instead of loading an entire memory file into every prompt. Local deployments keep data on the machine, while cluster mode supports shared memory across machines.

Use cases

  • Remember project decisions and user preferences across sessions
  • Recall relevant context with natural-language semantic searches
  • Track revisions and resolve contradictory facts
  • Surface procedures and skills before recurring tasks
  • Share agent memory through an HTTP cluster

Key features

  • Persistent semantic and temporal memory
  • Knowledge graph and linked-record recall
  • Contradiction detection and resolution
  • Procedural memory and skill catalog
  • Session digests, tasks, and conversation buffers
  • Local SQLite, cluster, SSE, and streamable-HTTP modes

Tools21

What Yantrikdb MCP lets your agent do. Expand a tool for its parameters.

Verified live~11.7k tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

17/17 checks healthy over the last 83d

What it can do

From the 21 tools this server returned when we ran it; 21 declare their own safety hints.

Can delete or modify data · 8Handles credentials · 1Makes network requests · 6Read-only tools · 13
Network at startup2 connections
Files written at startup10

Observed 2026-10-25 in an isolated sandbox. A description of reach, not a security audit.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 13d ago via OSV.dev · yantrikdb-mcp (PyPI)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars25Stargazers on the source repository.
Last commit1d agoMost recent push to the default branch.
Tools exposed21Callable tools this server registers over MCP.

How Yantrikdb MCP works

What yantrikdb-mcp does

yantrikdb-mcp gives MCP clients a persistent, structured memory layer for information such as user preferences, project decisions, people, procedures, and events. Memories can be stored individually or in batches, searched semantically, revised with history, archived, forgotten, or filtered by namespace, domain, source, type, and time.

The server also maintains related data around those memories. Knowledge-graph operations connect entities and records, while conflict tools identify and manage contradictory beliefs. Procedural memory and the skill catalog let agents save reusable ways of working and later retrieve them for similar tasks. Sessions, tasks, conversation turns, triggers, knowledge gaps, personality traits, and memory statistics are supported as additional substrate features.

How it works

In local mode, the MCP process embeds the YantrikDB engine and stores data in SQLite. The default database path is ~/.yantrikdb/memory.db, though it can be changed. Semantic retrieval uses the bundled 64-dimensional Rust embedder by default, with optional ONNX and multilingual backends. The automatic selection preserves compatibility with existing databases; embedding dimensions cannot be mixed in one store.

Cluster mode changes the server into a stateless client for a YantrikDB HTTP cluster. Multiple comma-separated node URLs enable discovery and leader following during failover, with memories shared across machines. A legacy SSE or streamable-HTTP mode can instead expose an embedded database through a long-running remote process.

Agents can call recall for focused semantic searches, temporal for time windows or historical views, and memory(action="chain_head") when the newest revision matters more than semantic similarity. Regular think calls perform incremental consolidation and conflict scanning; maintenance cycles add broader cleanup and indexing operations.

Setup and configuration

Install the package with:

Terminal
pip install yantrikdb-mcp

For the ONNX backend, install yantrikdb-mcp[onnx]. A local MCP client can launch the server with uvx yantrikdb-mcp, or invoke yantrikdb-mcp directly after installation. Cluster deployments set YANTRIKDB_SERVER_URL and YANTRIKDB_TOKEN. Local storage and embedding behavior can be adjusted with YANTRIKDB_DB_PATH, YANTRIKDB_EMBEDDER, and YANTRIKDB_EMBEDDING_MODEL.

Skill authoring is disabled unless YANTRIKDB_SKILLS_WRITE_ENABLED=true. Outcome recording is enabled by default and can be disabled with YANTRIKDB_OUTCOMES_WRITE_ENABLED=false. SSE or streamable-HTTP deployments use YANTRIKDB_API_KEY for bearer authentication.

Tools and capabilities

  • Store, recall, correct, archive, forget, and provide feedback on memories.
  • Build entity and record relationships, expand recall through graph links, and inspect entity profiles.
  • Detect, classify, resolve, dismiss, or batch-process contradictions.
  • Run session starts, digests, captures, histories, and stale-session cleanup.
  • Query stale, upcoming, historical, or bounded-window memories.
  • Learn and reinforce procedures, define and surface skills, and track skill outcomes.
  • Manage triggers, tasks, bounded conversation buffers, knowledge gaps, categories, and personality traits.
  • Inspect health and statistics, audit possible sensitive-content leaks, manage signed memory packs, and export a local read-only Memory Atlas.

Limitations and notes

SSE connections may drop when idle, making HTTP Cluster mode a better fit for shared deployments. The multilingual embedder is opt-in and uses a separate vector dimension, so it is intended for fresh databases rather than stores using the bundled or ONNX backends. Pack installation and trust changes require YANTRIKDB_ENABLE_PACK_WRITES=1. The Atlas server is available in embedded mode and serves its export on 127.0.0.1.

The MCP package is licensed under MIT; the underlying engine uses Apache-2.0.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Yantrikdb MCP

yantrikdb-mcp is an MCP server that connects AI agents to persistent YantrikDB memory in local SQLite or an HTTP cluster. Its main tools store and recall memories, manage revisions, inspect knowledge-graph links, detect contradictions, handle sessions, and surface procedures or skills across conversations.

Install it with `pip install yantrikdb-mcp`, or launch it on demand with `uvx yantrikdb-mcp`. Install the `[onnx]` extra when using the ONNX embedding backend. Claude Code can also install it through the repository's plugin marketplace.

Yes, yantrikdb-mcp works with Cursor through its MCP configuration. A local setup can launch `uvx yantrikdb-mcp`; remote deployments can use the server's SSE or streamable-HTTP transport.

Use HTTP Cluster mode by setting `YANTRIKDB_SERVER_URL` to one or more cluster node URLs and `YANTRIKDB_TOKEN` to the database bearer token. The MCP process then forwards tool calls to shared cluster storage instead of using a local SQLite database.

Set `YANTRIKDB_SKILLS_WRITE_ENABLED=true` before starting the server, then use `skill(action="define")` to create catalog entries. Skill outcome tracking remains enabled by default unless `YANTRIKDB_OUTCOMES_WRITE_ENABLED=false` is set.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewYantrikdb MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/yantrikdb-mcp?style=directory)](https://allmcps.com/mcp/yantrikdb-mcp)
HTML Embed
<a href="https://allmcps.com/mcp/yantrikdb-mcp"><img src="https://allmcps.com/api/badge/yantrikdb-mcp?style=directory" alt="Yantrikdb MCP on AllMCPs" /></a>