Oort local MCP server for agent memory

Oort local MCP server for agent memory

oort•byoortmem

An open-source memory layer for AI agents whose CLI ships a local MCP server, exposing MCP tools that keep facts current by superseding outdated ones.

License: Apache 2.0•Runtime: Awaiting documentation review•Category: ai agents-models

WHAT IT DOES

  • •Stores agent memory in tiers: a hot Photosphere, a warm indexed Kuiper Belt of distilled facts, and a cold zstd-compressed Oort Cloud.
  • •Marks changed facts as superseded rather than overwriting them, and supports historical recall.
  • •Combines keyword (SQLite FTS5) and vector (sqlite-vec) search, filtering out invalid facts before ranking.
  • •Runs locally by default, storing everything in a single SQLite file under ~/.oort on the user's machine.

BEST FOR

  • •Connecting MCP-capable agents such as Claude Desktop, Codex, Cursor and Gemini CLI to persistent local memory over stdio.
  • •Agents that need to resolve conflicting or outdated facts and explain recall decisions.
  • •Developers who want memory that runs entirely offline without API keys when using local models.

ABOUT OORT

Oort local MCP server for agent memory is cataloged as an MCP server attributed to oortmem. An open-source memory layer for AI agents whose CLI ships a local MCP server, exposing MCP tools that keep facts current by superseding outdated ones. It is categorized under ai agents-models. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: Apache 2.0. Check the source repository's current license and terms before using, modifying or distributing this software.

能力检查器

能力定义尚未审核。未核验的采集内容不会作为可信接口展示。

Tools (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Resources (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Prompts (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for Oort local MCP server for agent memory are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

Can Oort recall what was true at a past date?

Yes; recall can be queried as of a date, for a fact's history, or for what was known at a time.

Does Oort require cloud hosting or API keys?

No; memory stays local in ~/.oort, and local models run embeddings and reranking offline without keys or an account.

How are memories scoped between projects?

Memories are scoped to a project, with the id by default derived from the main repository root.

上游原版 README

在 GitHub 查看同一版本原文

README.md · 877fa0b3597d · 采集于 2026-11-13 14:14:30 UTC

保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。

当前显示最后一次成功采集的文档快照,请以来源页面为准。

Oort. Memory that stays correct as facts change. At a cost that stays flat as history grows.

License: Apache 2.0 npm: oortmem oortcloud.dev Node 22.15 or newer

Open-source memory for AI agents.
Old facts are closed out, not overwritten. Old history moves to cheap storage.
Every recall can explain why it was picked.


Why Oort

Agents forget between sessions, and the usual fix is a vector store that only grows. That has two problems. Stale facts keep winning ("lives in Berlin" outranks "moved to Lisbon"), and the bill grows with every message you ever stored.

Oort keeps memory the way a solar system keeps matter:

TierNameWhat lives thereRecall
HotPhotosphereWhat just happened, and anything pinnedInstant, never searched for
WarmKuiper BeltShort distilled facts from past sessions, fully indexedA few milliseconds
ColdOort CloudOlder history, zstd-compressed. The text stays, the heavy vector goes.Comes back when it matters again

When a fact changes, the old one is marked superseded and kept for history; a fact found wrong is marked corrected. Recall returns what is true now, unless you ask for --as-of a date, the --history of a fact, or what was --known-at a time (or just ask "what did we use in March").

Quickstart

Install the CLI (Node 22.15 or newer), then connect your agent. oort setup detects your agents, asks how you want to provide keys, connects them and runs a quick check. Every step can be skipped.

npm install -g oortmem

oort setup also installs the managed copy in ~/.oort/cli (npm i -g --prefix ~/.oort/cli oortmem), the one your agents run, so their hooks and MCP entries keep working when you switch Node versions with nvm, fnm, Volta or asdf. More.

To update later, run oort update: it updates every copy here (the managed copy the Claude Code hooks run included), migrates the store and restarts oort serve.

oort setup
oort recall "where does the user live"
oort explain "where does the user live"   # each stage's rank and score

Every command and flag is in docs/cli.md. To use Oort from your own code (import { createOort } from 'oortmem'): SDK: docs/sdk.md · reference: docs/sdk-reference.md · examples/. To build from source instead: git clone https://github.com/oortmem/oort && cd oort && pnpm install && pnpm build && cd packages/cli && pnpm add -g . (pnpm 12).

Works with

Claude Code (hooks, plus the MCP server), Claude Desktop, Codex, Cursor, Gemini CLI, VS Code, and any MCP client over stdio. oort connect <host> writes the config, backs up the old file and prints the diff. Claude Code guide.

Build with Oort using your coding agent

The oort-sdk skill teaches your coding agent to build Oort into your own apps and agent frameworks: the TypeScript SDK (createOort from oortmem), multi-user apps, the Vercel AI SDK, LangGraph.js and OpenAI Agents JS, serverless, the native Python client (from oortmem import Oort), and the CLI's JSON for other languages. Every code block in it is a tested example. It is a separate plugin, oort-dev, so "help me build with Oort" installs without "memory for my own sessions" (the oort plugin), and the other way round.

Claude Code:

claude plugin marketplace add oortmem/oort
claude plugin install oort-dev@oortmem

(or, in a session, /plugin marketplace add oortmem/oort and /plugin install oort-dev@oortmem)

Codex:

codex plugin marketplace add oortmem/oort
codex plugin add oort-dev@oortmem

(or /plugins in Codex)

Any other agent that reads SKILL.md (Cursor, Gemini CLI, GitHub Copilot, OpenCode and more): copy skills/oort-sdk into its skills folder, for example .agents/skills/oort-sdk in your repository, or run npx skills add oortmem/oort --skill oort-sdk. Details for each tool: skills/README.md.

How it works

flowchart LR
  T[Agent turn] --> S[Scrub secrets]
  S --> W[Writer: distil short facts]
  W --> G{Decide: add, update,<br/>supersede or skip}
  G --> H[(Photosphere<br/>hot)]
  H -- consolidate --> K[(Kuiper Belt<br/>warm)]
  K -- age out --> C[(Oort Cloud<br/>cold, zstd)]
  Q[Recall query] --> F[Lexical + vector<br/>validity filter]
  F --> R[Fuse and rerank,<br/>freshness breaks ties]
  K --> F
  C -- stub and entities --> F
  C -. hydrated when returned .-> A
  R --> A[Memory block<br/>for the prompt]
  • Write path. Every turn is scrubbed of secrets first. A small writer model distils it into short facts, and a decision model compares each fact with what is already stored: add it, update it, supersede the old one, or skip it.
  • Read path. Keyword (SQLite FTS5) and vector (sqlite-vec) search run together. Facts that are no longer valid are filtered out before ranking. Results are fused, reranked when it helps, and freshness only breaks ties, so a newer fact never beats a better match.
  • Local first. Everything lives in ~/.oort on your machine, in one SQLite file plus compressed cold blobs. Nothing is hosted unless you choose Oort Cloud. With no API keys and no Oort Pro login, the local commands make no network call at all (recall falls back to keyword search), and a test runs them with every socket blocked. The one exception is a once-a-day check for a new release, a single request to npm's registry that sends nothing about you; OORT_NO_UPDATE_CHECK=1 turns it off (details).

Packages

PackageWhat it does
oortmemThe oort command line (setup, connectors, the local MCP server, recall, import and export), and the TypeScript SDK (docs/sdk.md)
@oortmem/coreThe engine: secret scrubbing, the write gate, hybrid recall, fusion, tiering and project scope
@oortmem/store-sqliteStorage on SQLite with FTS5 and sqlite-vec, and zstd cold blobs
@oortmem/writerTurns conversation turns into short, self-contained facts
@oortmem/decide-jevAdd, update, supersede or skip decisions, using TypeSafe Jev
@oortmem/embed-voyageEmbeddings through Voyage AI
@oortmem/rerank-voyageReranking through Voyage AI
@oortmem/local-modelsEmbeddings and reranking on your CPU (ONNX Runtime): no keys, no account
@oortmem/claude-codeClaude Code hooks and transcript import
@oortmem/mcpThe MCP tools, schemas, instructions and skill, served over any memory backend
oortmem on PyPIThe native Python client (Oort, AsyncOort; docs/python.md) and a launcher for the oort command

Install bundles for Claude Desktop, Claude Code, Codex, Cursor and Gemini CLI are in distribution/.

This repo is the open-source engine and CLI only. The hosted side (oortcloud.dev, Oort Cloud and the Oort Pro relay) is a separate service; the engine and CLI reach it only over HTTPS when you use Oort Pro.

Keys, or Oort Pro

Oort calls three model services: Voyage AI (embeddings and rerank), TypeSafe (decisions) and Anthropic (the writer). Bring your own keys with oort keys set. They stay in the macOS Keychain, or in a 0600 credentials file on Linux and Windows.

Or run with no keys and no account: npm i -g @oortmem/local-models && oort models pull downloads small embedding and rerank models (58 MB, MIT and Apache-2.0) and runs them on your CPU, offline. Saving new memories still needs the decision and writer models. Local models.

Or use Oort Pro: $19/month, VAT included where applicable. No API keys needed. Run oort login, then oort cloud use to keep your memories in Oort Cloud in the EU, with a dashboard, a star map and a connector for claude.ai and ChatGPT. You can export or delete them at any time, or keep them on your machine and use only the relay, which stores no content. Pricing.

Projects and trust

Memories are scoped to a project. By default its id comes from the main repository root, so a git worktree shares memories with its main checkout. A project.id in a repo's oort.config.json is ignored until you run oort project link, because a cloned repo could otherwise use it to read another project's memories. Details in docs/cli.md.

Develop

pnpm install
pnpm verify   # public-repo and copy checks, format, lint, build, typecheck and every test

The export format is documented in docs/export-format.md.

Security

Please report vulnerabilities to security@oortcloud.dev, not in a public issue.

License

Apache 2.0. Made in Gothenburg, Sweden.

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for Oort local MCP server for agent memory from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/oort)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

下载与拉取统计

来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。

尚无已审核的包 / 镜像标识,暂不展示下载统计。

Related ai agents-models MCP Servers

Alternative and complementary servers in the same category

View all in ai agents-models →
Knowledge Graph Memory
@modelcontextprotocol/server-memory•Model Context Protocol

Store and retrieve entities, relations and observations in a persistent local knowledge graph.

create_entitiescreate_relationsadd_observations+6 more
92K
AI & Multi-Agent
Sequential Thinking
@modelcontextprotocol/server-sequential-thinking•Model Context Protocol

Organize problem solving into revisable, branching thought steps through an MCP tool.

sequential_thinking
92K
AI & Multi-Agent

Query-aware context compression with an MCP plugin for coding agents, plus Python and HTTP interfaces for reducing the context sent to a language model.

146
AI & Multi-Agent