Ori Memory logo

Ori Memory

Persistent, local-first memory for AI agents with graph retrieval, semantic search, updates, diagnostics, and MCP access.

Install Ori Memory

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

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "ori-memory-2": {
      "command": "npx",
      "args": [
        "-y",
        "ori"
      ]
    }
  }
}

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

We couldn’t confirm it starts correctly

We ran the install command but it didn't respond within our test window — this can mean a slow first-time install rather than a real problem.

npx -y ori

No response to initialize.

This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked .

Overview

The ori-memory MCP server gives AI agents persistent memory backed by Markdown files, a derived index, and knowledge-graph relationships. It supports session bootstrapping, inbox capture, classified promotion, structured updates, read-only SQL, diagnostics, validation, and several retrieval modes. Retrieval combines semantic similarity with graph traversal and learned ranking, while the underlying files remain user-owned and versionable with Git. Reach for it when an agent needs memory across sessions, clients, or machines without relying on a hosted memory service.

Use cases

  • Bootstrap an agent session with relevant identity, goals, and reminders
  • Capture new observations in an inbox and promote them into linked knowledge
  • Search a local memory vault using semantic or graph-aware retrieval
  • Inspect memory health, schema validity, and index state
  • Explore related memories through recursive graph traversal

Key features

  • Markdown-backed persistent memory
  • Graph-aware ranked retrieval
  • Vector-only semantic search
  • Inbox capture and classified promotion
  • Read-only SQL over the index
  • Health checks and schema validation

Tools15

What Ori Memory lets your agent do. Expand a tool for its parameters.

Self-reported~232 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.

24/28 checks healthy over the last 112d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 6d ago via OSV.dev · ori (npm)

Adoption & maintenance

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

GitHub stars339Stargazers on the source repository.
npm downloads265Package downloads in the last 30 days.
Last commit2mo agoMost recent push to the default branch.
Install checkInconclusiveDidn't respond in our test window — often a slow first install.
Tools exposed15Callable tools this server registers over MCP.
Directory activity5 viewsConfig copies, upvotes, and views on AllMCPs.

How Ori Memory works

What ori-memory MCP server does

The ori-memory MCP server provides a persistent memory layer for AI agents. Its source of truth is a Markdown vault on disk, while an index is generated for retrieval and analysis. Wiki-links represent graph connections between items, allowing related memories to influence searches and exploratory traversal.

The system covers several memory workflows. An agent can start a session with a bounded briefing, add information to an inbox, promote items into classified and linked knowledge, and update identity, goals, methodology, daily notes, or reminders. It can also record a user's response to an update notice.

Because the data is stored locally, the same memory can be used across sessions, clients, and machines. Git can provide version control for the Markdown content. The derived index is rebuildable, but learned retrieval data such as Q-values, LinUCB arms, and retrieval history is separate and should be exported before removing it.

How it works

The ori-memory MCP server exposes ori serve as the agent-facing MCP entry point. Its retrieval pipeline can use vector similarity, graph relationships, activation behavior, co-occurrence information, and learned ranking. Ranked retrieval applies Q-value reranking, co-occurrence-based personalized PageRank, and stage meta-learning. Semantic-only search is available when lower-latency vector retrieval is preferable.

Exploration supports recursive graph traversal, sub-question decomposition, and convergence detection. The warmth view exposes the associative activation field, while pruning analyzes activation topology and identifies archive candidates. These operations let an agent inspect not only matching memories but also how related knowledge is connected.

The index is derived from the vault. ori_index_build creates or updates the embedding index and bootstraps co-occurrence edges, so index changes should follow changes to the underlying Markdown files.

Setup and configuration

Install the package from npm and initialize a vault with the CLI command npx ori init. Build its derived index with npx ori index build, then register ori serve in an MCP client configuration.

The project also exposes CLI and library surfaces. The CLI includes exploration and read-only SQL commands. Programmatic callers can use the exported recall function with a vault path, query, and result limit; the library path and MCP retrieval path are intended to share the same retrieval wiring.

Tools and capabilities

  • ori_wake: provide a bounded session briefing and onboard a fresh vault.
  • ori_add and ori_promote: capture inbox content, then classify, link, and assign it to an area.
  • ori_update and ori_update_decision: maintain structured memory and record update decisions.
  • ori_query_ranked and ori_query_similar: perform learned graph-aware retrieval or faster vector-only search.
  • ori_explore, ori_warmth, and ori_prune: inspect graph traversal, associative activation, and archive candidates.
  • memory_sql, ori_health, and ori_validate: query the index, diagnose the system, and check schema validity.
  • ori_index_build: generate or refresh embeddings and co-occurrence edges.

Limitations and notes

The index is derived rather than authoritative; the Markdown vault is the canonical data. Learned retrieval state is not described as fully rebuildable, so it should be exported before deleting the index or related files. The benchmark material reports point-in-time, project-specific results and should not be treated as a general ranking of memory systems.

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 Ori Memory

ori-memory is an MCP server that connects AI agents to a local Markdown memory vault and its derived retrieval index. Its main tools support session wake-up, memory updates, inbox capture and promotion, ranked or semantic search, graph exploration, read-only SQL, diagnostics, validation, and index building for persistent cross-session context.

Install it from npm and run `npx ori init` to scaffold a vault. Build the derived index with `npx ori index build`, then register `ori serve` in your MCP client configuration.

ori-memory stores Markdown files on disk as the source of truth and derives an index for retrieval. Wiki-links form knowledge-graph edges, while embeddings and co-occurrence edges support search. Git can be used to version the Markdown data.

Yes. The `ori_query_similar` tool performs vector-only semantic search and is described as faster than the full ranked retrieval path. `ori_query_ranked` adds Q-value reranking, co-occurrence graph signals, and stage meta-learning.

Yes. The documentation describes local Markdown storage with a derived index and states that no cloud dependency or database lock-in is required. It does not specify deployment or backup behavior for multi-user or concurrent environments.

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 PreviewOri Memory AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/ori-memory-2?style=directory)](https://allmcps.com/mcp/ori-memory-2)
HTML Embed
<a href="https://allmcps.com/mcp/ori-memory-2"><img src="https://allmcps.com/api/badge/ori-memory-2?style=directory" alt="Ori Memory on AllMCPs" /></a>