Prototype · Preview: every server in the official registry, synced every 30 minutes. Sign in with Google to write reviews.Prototype · updated every 30 min
PopNx MCPMCP servers for people who use AI · explained in plain words

Memory Arbiter MCP

by billy12151version 0.18.4i★ 10iRuns on your computer
Registry nameio.github.billy12151/memory-arbiter-mcp

How to install

What it does

Local SQLite MCP memory: evidence-based recall, advisory conflict notices, authorized governance.

  • Connects Runs on your computer
  • Account or key No key needed
  • Category Search & AI memory

Install

Pick the AI app you use, then copy the settings.

Passed 3/3 checks · Runs on your computer · ✓ Commands checked Nov 14, 2026

First: which AI do you use?

Pick your app and the steps appear below.

Works with Claude, with some setup first

Install Python (uv) on your computer first (one time) · Only the Claude desktop app (Windows or Mac), not the web or phone

Let AI install it

Copy this message into a Claude chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server Memory Arbiter MCP for Claude on this computer, in this order: 1) Check uv with uv --version. If it is missing, tell me to install it from https://docs.astral.sh/uv/getting-started/installation/; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "mcpServers": { "memory-arbiter": { "command": "uvx", "args": [ "memory-arbiter-mcp" ] } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) No key is needed. 5) Do what we agreed, then check that the Memory Arbiter MCP tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install uv (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    uv --version
    • A version number such as uv … = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: uv has no click-through installer. Copy the one-line command for your system (macOS or Windows) from uv’s official page into Terminal · no separate Python install needed; uv downloads it when required

    Open the uv download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: uv --version

    Install once; it works for everything that needs uv

  2. Open the Claude desktop app’s settings file

    SettingsDeveloperEdit Config

  3. Paste these settings and save the file

    {
      "mcpServers": {
        "memory-arbiter": {
          "command": "uvx",
          "args": [
            "memory-arbiter-mcp"
          ]
        }
      }
    }
  4. Quit Claude and open it again

  5. Try it

    Use Memory Arbiter MCP and tell me what you can do for me, then show me one thing

    ✓ If Claude says it is using Memory Arbiter MCP or shows a Memory Arbiter MCP tool in the answer, you are connected

6 optional setting(s) (works without them)

The command above works without these. Add them only if you want to change something, following the maker’s description.

  • MEMORY_ARBITER_CONFIG Optional alternate JSON config path. File values override other env fallbacks.
  • MEMORY_ARBITER_CLIENT Client identity (e.g. zcode, codex, cursor, claude-code)
  • MEMORY_ARBITER_AGENT_ID Agent identifier for this client
  • MEMORY_ARBITER_DB_PATH Path to the SQLite database file
  • MEMORY_ARBITER_BACKUP_JSONL Path to the append-only fallback backup file
  • MEMORY_ARBITER_MCP_TRANSPORT MCP transport: stdio (default) or streamable-http

Descriptions are as written by the maker.

Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version

ChatGPT cannot connect Memory Arbiter MCP yet

Memory Arbiter MCP runs on your computer, but ChatGPT can only connect servers that run on the web

What you can do instead

A · Use an app that can connect Memory Arbiter MCP

  • Install Python (uv) on your computer first (one time) · Only the Claude desktop app (Windows or Mac), not the web or phone
  • Install Python (uv) on your computer first (one time)
  • Install Python (uv) on your computer first (one time)
  • Install Python (uv) on your computer first (one time)

B · Others in Search & AI memory that work with ChatGPT

Picked from the most used in the same category, only ones that connect by address with no key

Works with Claude Code, with some setup first

Install Python (uv) on your computer first (one time)

Let AI install it

Copy this message into a Claude Code chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server Memory Arbiter MCP for Claude Code on this computer, in this order: 1) Check uv with uv --version. If it is missing, tell me to install it from https://docs.astral.sh/uv/getting-started/installation/; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): claude mcp add --scope user memory-arbiter -- uvx memory-arbiter-mcp 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) No key is needed. 5) Do what we agreed, then check that the Memory Arbiter MCP tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install uv (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    uv --version
    • A version number such as uv … = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: uv has no click-through installer. Copy the one-line command for your system (macOS or Windows) from uv’s official page into Terminal · no separate Python install needed; uv downloads it when required

    Open the uv download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: uv --version

    Install once; it works for everything that needs uv

  2. Open Terminal

    Mac: press Command+Space and type Terminal · Windows: open PowerShell

  3. Paste this command and press Enter

    claude mcp add --scope user memory-arbiter -- uvx memory-arbiter-mcp
  4. Type /mcp in Claude Code

    You should see Memory Arbiter MCP listed as connected

  5. Try it

    Use Memory Arbiter MCP and tell me what you can do for me, then show me one thing

    ✓ If Claude Code says it is using Memory Arbiter MCP or shows a Memory Arbiter MCP tool in the answer, you are connected

6 optional setting(s) (works without them)

The command above works without these. Add them only if you want to change something, following the maker’s description.

  • MEMORY_ARBITER_CONFIG Optional alternate JSON config path. File values override other env fallbacks.
  • MEMORY_ARBITER_CLIENT Client identity (e.g. zcode, codex, cursor, claude-code)
  • MEMORY_ARBITER_AGENT_ID Agent identifier for this client
  • MEMORY_ARBITER_DB_PATH Path to the SQLite database file
  • MEMORY_ARBITER_BACKUP_JSONL Path to the append-only fallback backup file
  • MEMORY_ARBITER_MCP_TRANSPORT MCP transport: stdio (default) or streamable-http

Descriptions are as written by the maker.

Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Works with Cursor, with some setup first

Install Python (uv) on your computer first (one time)

Let AI install it

Copy this message into a Cursor chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server Memory Arbiter MCP for Cursor on this computer, in this order: 1) Check uv with uv --version. If it is missing, tell me to install it from https://docs.astral.sh/uv/getting-started/installation/; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "mcpServers": { "memory-arbiter": { "command": "uvx", "args": [ "memory-arbiter-mcp" ] } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) No key is needed. 5) Do what we agreed, then check that the Memory Arbiter MCP tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install uv (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    uv --version
    • A version number such as uv … = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: uv has no click-through installer. Copy the one-line command for your system (macOS or Windows) from uv’s official page into Terminal · no separate Python install needed; uv downloads it when required

    Open the uv download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: uv --version

    Install once; it works for everything that needs uv

  2. Click this button to open Cursor

    Open in Cursor

    Cursor asks you to confirm; click Install

  3. Open the AI chat in Cursor in Agent mode

  4. Try it

    Use Memory Arbiter MCP and tell me what you can do for me, then show me one thing

    ✓ If Cursor says it is using Memory Arbiter MCP or shows a Memory Arbiter MCP tool in the answer, you are connected

6 optional setting(s) (works without them)

The command above works without these. Add them only if you want to change something, following the maker’s description.

  • MEMORY_ARBITER_CONFIG Optional alternate JSON config path. File values override other env fallbacks.
  • MEMORY_ARBITER_CLIENT Client identity (e.g. zcode, codex, cursor, claude-code)
  • MEMORY_ARBITER_AGENT_ID Agent identifier for this client
  • MEMORY_ARBITER_DB_PATH Path to the SQLite database file
  • MEMORY_ARBITER_BACKUP_JSONL Path to the append-only fallback backup file
  • MEMORY_ARBITER_MCP_TRANSPORT MCP transport: stdio (default) or streamable-http

Descriptions are as written by the maker.

Menu names checked against Cursor’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Works with VS Code, with some setup first

Install Python (uv) on your computer first (one time)

Let AI install it

Copy this message into a VS Code chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server Memory Arbiter MCP for VS Code on this computer, in this order: 1) Check uv with uv --version. If it is missing, tell me to install it from https://docs.astral.sh/uv/getting-started/installation/; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "servers": { "memory-arbiter": { "type": "stdio", "command": "uvx", "args": [ "memory-arbiter-mcp" ] } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) No key is needed. 5) Do what we agreed, then check that the Memory Arbiter MCP tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install uv (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    uv --version
    • A version number such as uv … = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: uv has no click-through installer. Copy the one-line command for your system (macOS or Windows) from uv’s official page into Terminal · no separate Python install needed; uv downloads it when required

    Open the uv download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: uv --version

    Install once; it works for everything that needs uv

  2. Click this button to open VS Code

    Open in VS Code

    VS Code asks you to confirm; click Install

  3. Open the AI chat in VS Code in Agent mode

  4. Try it

    Use Memory Arbiter MCP and tell me what you can do for me, then show me one thing

    ✓ If VS Code says it is using Memory Arbiter MCP or shows a Memory Arbiter MCP tool in the answer, you are connected

6 optional setting(s) (works without them)

The command above works without these. Add them only if you want to change something, following the maker’s description.

  • MEMORY_ARBITER_CONFIG Optional alternate JSON config path. File values override other env fallbacks.
  • MEMORY_ARBITER_CLIENT Client identity (e.g. zcode, codex, cursor, claude-code)
  • MEMORY_ARBITER_AGENT_ID Agent identifier for this client
  • MEMORY_ARBITER_DB_PATH Path to the SQLite database file
  • MEMORY_ARBITER_BACKUP_JSONL Path to the append-only fallback backup file
  • MEMORY_ARBITER_MCP_TRANSPORT MCP transport: stdio (default) or streamable-http

Descriptions are as written by the maker.

Menu names checked against VS Code’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Other apps that use MCP, such as Windsurf, Zed or Gemini CLI, each add servers differently. See how in the app list.

See every app that uses MCP →

JSON settings are under “For developers” below

Stuck? Ask people who use Memory Arbiter MCP💬 Discussion →
For developers: Terminal commands and JSON settings

Installed on your computer

Claude Code

claude mcp add --scope user memory-arbiter -- uvx memory-arbiter-mcp

Claude Desktop (claude_desktop_config.json)

{
  "mcpServers": {
    "memory-arbiter": {
      "command": "uvx",
      "args": [
        "memory-arbiter-mcp"
      ]
    }
  }
}

Cursor (~/.cursor/mcp.json)

{
  "mcpServers": {
    "memory-arbiter": {
      "command": "uvx",
      "args": [
        "memory-arbiter-mcp"
      ]
    }
  }
}

VS Code (mcp.json)

{
  "servers": {
    "memory-arbiter": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "memory-arbiter-mcp"
      ]
    }
  }
}

Values you fill in

  • MEMORY_ARBITER_CONFIG env
    Optional alternate JSON config path. File values override other env fallbacks.
  • MEMORY_ARBITER_CLIENT env
    Client identity (e.g. zcode, codex, cursor, claude-code)
  • MEMORY_ARBITER_AGENT_ID env
    Agent identifier for this client
  • MEMORY_ARBITER_DB_PATH env
    Path to the SQLite database file
  • MEMORY_ARBITER_BACKUP_JSONL env
    Path to the append-only fallback backup file
  • MEMORY_ARBITER_MCP_TRANSPORT env
    MCP transport: stdio (default) or streamable-http

Descriptions are as written by the maker.

These settings are generated from the maker’s registry entry. If the README says otherwise, follow the README.

At a glance

Downloads per weeki
229/wk
Licencei
Apache-2.0
Connection
Runs on your computer
Latest versioni
0.18.4
Published to registryi
Nov 4, 2026
Code last changedi
Nov 4, 2026
Maker
billy12151
Packages
pypi: memory-arbiter-mcp
Registry status
Active

Which apps can use it

Based on how this server connects and on each app’s own docs, checked Nov 10, 2026.

Run on your computer in

ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast

All apps, with pros and cons →

Related guides

What it can do

Runs on your computer; the tool list appears in your AI app after you install it.

Basic checksi

We check information anyone can see; we have not read the code. Checks that do not apply are left out of the count. · Checked Nov 15, 2026

  • ✓ Pass

    Maker matches the repo

    The registry name was verified with the GitHub account billy12151, which owns the repo

  • ✓ Pass

    Still maintained

    Code last changed 11 days ago

  • ✓ Pass

    Has a licence

    Uses Apache-2.0

  • – Not applicable

    Endpoint responds

    This one runs on your computer; there is no internet endpoint

  • – Not applicable

    Sign-in with OAuth

    Runs on your computer and uses local settings instead

  • … Not checked yet

    No hidden instructions in tool descriptions

    Runs on your computer; we can only read tool lists from internet endpoints

Published vulnerabilities (OSV.dev)

Not checked yet

What we check → · JSON

Makers: ask for a re-check or report wrong info

Discussion

Ask, share a tip or report that it does not work. Sorted by what people marked helpful.

No posts yet. Be the first to ask or share.

Posts here are written by users, not the PopNx team.

Sign in with Google to post

User reviews

No reviews yet

Sign in with Google to write a review

Compared with others in Search & AI memoryi

  • More stars than 92% of the other 6142 servers in this category
  • Published to the registry more recently than 78% of the other 6142 servers in this category
  • Basic checks equal to or better than 100% of the other 6142 servers in this category

Compared with every active server in this category in the registry. Stars count only when the publisher owns the repo.

Common questions

Is Memory Arbiter MCP safe?

It passed 3 of 3 applicable basic checks. We have not read the code. Before adding a key or token, see what access the server asks for and use a key with only the permissions you need.

What keys or codes does it need?

The registry does not list a required key, though some servers ask you to sign in on first use.

Does it run on my computer or in the cloud?

It runs on your computer. Your AI app starts it when needed, and data does not pass through the maker’s servers (unless it calls an online service itself).

Is it still maintained?

The GitHub repo last changed 11 days ago, and the latest version (0.18.4) reached the registry 11 days ago.

Which apps can use it?

Apps that support MCP, such as Claude Desktop, Claude Code, Cursor and VS Code. You also need Python (uv) on your computer.

What can I use instead?

In the same category: OpenSEO, Exa, Mockserver, Microsoft Learn MCP, Docs

Similar alternatives

Same category, other makers, commands already checked. Official ones first, then by stars.

Reading a card:↓ Downloads per weeki★ GitHub starsiThree pillars: reviews · checks · usageiUpdated = latest version published to the registryi

OpenSEO

Keyword research, site audits, rank tracking and AI visibility for your AI agent.

by every-appWidely used★ 27.7KUpdated yesterday

Runs in the cloud✓ everyapp.com

Exa

Connect AI agents to Exa for web search, content fetching, and multi-step research.

by exa-labsWidely used★ 5.2KUpdated 2 months ago

Runs in the cloud✓ service owner · exa.aiTried by the PopNx team

Mockserver

Mock, record/replay, verify and chaos-test any HTTP, REST, gRPC or LLM dependency over MCP.

by mock-serverGrowing★ 5KUpdated 19 days ago

Runs on your computer✓ service owner · mock-server.com

Microsoft Learn MCP

Official Microsoft Learn MCP Server – real-time, trusted docs & code samples for AI and LLMs.

by MicrosoftDocsWidely used★ 2KUpdated 12 months ago

Runs in the cloud✓ service owner · microsoft.comTried by the PopNx team

Docs

Search and read Empryo's documentation. Read-only, no auth, no local access.

by proxysoulGrowing★ 1.6KUpdated 2 months ago

Runs in the cloud✓ empryo.com
  • OpenSEO — Runs in the cloud, nothing to install · No key needed
  • Exa — Runs in the cloud, nothing to install · No key needed · In Claude’s directory
  • Mockserver — Installs on your computer · No key needed
  • Microsoft Learn MCP — Runs in the cloud, nothing to install · No key needed · In Claude’s directory
  • Docs — Runs in the cloud, nothing to install · No key needed

README from the maker

Open the README

Copied from the maker’s repo as written. PopNx MCP has not reviewed or endorsed it. HTML, images and scripts are removed. Links lead off this site.

Memory Arbiter MCP

English | [中文](README.zh-CN.md)

Official site & docs: [memarbiter.cn](https://memarbiter.cn/)

Memory Arbiter (迷码) is a capability amplifier for your AI agents: plug it in over MCP and every agent you use — Claude Code, Cursor, Codex, ZCode — becomes one assistant with a running memory. Decisions made in Claude today are usable in Cursor tomorrow; every fact carries its provenance, collisions get surfaced before they bite, and what you've locked cannot be silently overwritten. One SQLite file on your machine holds every fact in full; every model — embeddings, conflict judge — runs locally.

Current release: `0.18.4` · local-first · MCP-native · 4 tools · knowledge workbench in 0.18.0

In one minute: what mema does for you

Every coding agent you use — Claude Code, Cursor, Codex, ZCode — keeps its own notes and knows nothing about the others. Facts get duplicated, contradicted, and silently go stale. mema replaces that with one trusted fact store all your agents share:

  • Recall that actually works. Lexical and sentence-level evidence channels search in parallel and fuse by rank: 65/65 self-recall on the release exam. Sub-threshold candidates never reach a result page — what it returns is what you can cite — and every hit carries source offsets, so read span=[start,end] slices the exact original text.
  • Conflicts get surfaced, not buried — and not spammed. When two facts disagree, a self-trained local mDeBERTa judge (one conflict probability, no prompt engineering, no winner-picking) calls it: only high-confidence conflicts interrupt you, hearsay-style narrative lines are dismissed by a code rule, and everything else lands in a small weekday triage queue your agent clears band by band — so a strict threshold never means a lost finding, and an open gate never means noise. On the release exam, 94.1% of the conflicts it interrupts you with are real.
  • Facts stay yours — and stay safe. Full original text in one SQLite file on your machine, provenance on every write, version history on every edit, trust levels that lock what you confirmed. mema dials out nowhere on its own — the only optional call is a PyPI update check (the console workbench talks to the LLM endpoint you configure).
  • A knowledge base, curated by you. The local browser console lets you pick which memories count as knowledge, browse them by workspace → tag with rendered markdown and relation graphs, and study them with a bring-your-own-LLM workbench (knowledge summary / key points / merge & tidy / self-quiz / plain-words explain / ask-me / timeline) whose outputs write back through the standard pipeline.

Benchmarks

Public: LoCoMo-Refined

Evaluated on LoCoMo-Refined (all 1,382 questions, official judge Qwen3-14B):

ConfigurationOverallText-only
mema + writer-agent (deepseek-v4.1-flash writer, public rules)61.00%65.62%
mema verbatim (zero-LLM write path, utterances + event_time as-is)43.13%49.48%

Context: Mem0's full pipeline scores 48.91% on the same text-only basis (re-scored by the benchmark authors) — bare mema with no LLM in the write path matches it; with a writer-agent, mema's text-only score trails only MemoraX on the leaderboard. Full methodology and reproduction: evals/locomo/RESULTS.md.

Internal release exam (shipped configuration)

Every release must pass the internal exam suite — fixed fixtures: 42 recall queries across five query kinds (paraphrase / lookup / legal / far / keyword), 106 conflict pairs across four label classes (33 true conflicts), and four similarity-label groups (as of 0.18.0, shipped judge and thresholds; reproduce with eval/runner.py --suite all):

GateResult
Self-recall (65 targets, top-10)65/65
Conflict arbitration (D4 headline, any-channel)Recall 48.48% (16/33) · Precision 94.12% (16/17)
batch_find cross-query consistency0 mismatches (42 queries × 6 batches)
Conflict-window completion48/48

The exam is deliberately conservative and precision-favored: whatever the strict gate withholds is not lost — mid-band suspects land in the weekday triage queue instead. This is the quality bar that ships, re-measured on every release.

Install & quickstart

Install with your AI Agent

Paste this into Codex, Claude Code, Cursor, or another coding agent with terminal access:

Read the latest README at https://github.com/billy12151/memory-arbiter-mcp.

Install and configure the latest mema release for my operating system and current AI client. Preserve any existing config and database; do not overwrite or delete existing data. Ask me before choosing between materially different install modes, changing existing config, or performing any destructive or privileged action. When finished, run mema doctor and report the install method, config path, database path, client integration, and verification result.

The agent treats this README as the source of truth, picks uvx/core/vec/semantic-local from your environment, and stops for user input when a safe choice cannot be inferred. A successful install is not complete until mema doctor has run and every warning has been reported. On a fresh install the agent may also offer a one-minute product demo — it first checks the mema-first-run-demo-status marker memory (offered at most once, globally; skipped silently if it exists).

Install manually
# One command: package + deps + embedding model + config.json (resumable downloads, ModelScope fallback)

curl -fsSL https://memarbiter.cn/install.sh | bash

Or step by step:

pip install "memory-arbiter-mcp[vec,semantic-local]"  # core + sqlite-vec + local GGUF runtime

mema setup --install # downloads the embedding GGUF (~330MB, resumable); the mDeBERTa judge is a separate manual install mema doctor # verify

Then wire your MCP client from examples/*.mcp.json and start the server with mema. Missing capabilities (models not downloaded) surface as a persistent degraded banner with remediation — an incomplete install cannot pass for a complete one.

Full documentation, the Team edition and the personal edition live at [memarbiter.cn](https://memarbiter.cn/) (docs: memarbiter.cn/docs).

Two things to know before first use:

  1. Identity is explicit. Set client and agent_id in config.json — no built-in defaults, the server refuses to start when either is blank.
  2. `remember` requires `workspace`. Call memory_review(view="workspaces") first to list existing buckets, then pass one; 'default' is the global pool.

The four tools

ToolSurface
memoryremember, find, batch_find, read, batch_read, update, judge, status, help
memory_reviewread-only health, conflict groups/details, history, expired/audit, entities, workspaces
memory_governexplicitly authorized retirement, conflict-plan application/resolution, confirmations
memory_repairevidence rebuild, broad conflict scanning, history cleanup, backup replay

Every call returns {ok, mode, warnings, degraded, data}; things needing your attention arrive as notices or data.action_required. Point any agent at the packaged rule: memory(action="help", data={"topic":"agent_onboarding"}).

The daily loop is four calls — remember a reusable fact, find to recall, read for exact lookup, update when a newer source replaces an old fact (never a second active copy of one source of truth). find is an index page (metadata + content_chars + outline with source offsets); batch_find merges 8 queries into one round-trip; read span=[start,end] quotes exactly; an empty recall says so honestly instead of stuffing recent memories.

What's inside

Conflict arbitration, included. Candidate pairs surviving a deterministic funnel (sentence prefilter → memory screen → cosine band → rule evidence) are judged by the local mDeBERTa encoder — two bare row texts in, one calibrated conflict probability out. Only high-confidence conflicts notify; narrative hearsay is dismissed by a post-verdict code rule; mid-band suspects land in a bounded two-band ledger that a weekday triage task clears with row-level evidence — never in user-facing lists, never a full-library rescan. The judge never picks a winner and never edits memory: findings live in one auditable conflicts lifecycle (open → applying → resolved) your agent walks under explicit authorization (judge → apply_conflict_action → resolve_conflict, CAS-pinned revisions).

A knowledge workbench, included. memory-arbiter console opens a local browser console: curate your knowledge base (one-click kb_member add/remove — a dedicated column agents cannot drop by rewriting tags), browse by workspace → tag with markdown and one-hop relation graphs, and run seven one-click study actions on any memory (knowledge summary / key points / merge & tidy / self-quiz / plain-words explain / ask-me / timeline) with your own OpenAI-compatible API — outputs write back as memories, attributed to the console.

Trust, enforced. Provenance on every write, append-only version history, normal/protected/locked trust levels plus the user_confirmed label, and per-action authorized=true on every state-changing governance call. Workspace isolation comes in none/weak/strict — under strict, a new workspace stays pending until you confirm it, and the reserved default pool is invisible from project scopes. Workspaces listed in a recall_blacklist.jsonl file next to the database are excluded from unscoped recall; mema doctor reports the effective list.

Configuration

File-only, in ~/.config/memory-arbiter/config.json. The complete surface is 34 keys — full template at examples/memory-arbiter.config.example.json, per-key docs and migration tables in docs/INTEGRATION.md. The keys that matter on day one:

{

"client": "your-client", "agent_id": "your-agent-id", "workspace": "default", "isolation": "none", "embedding": { "model_path": ".../embedding.gguf", "auto_query": true, "auto_write": true }, "semantic_conflict": { "mdeberta_ckpt": ".../mdeberta-v78_ep5_fp16.pt" }, "mcp": { "transport": "stdio" } }

  • embedding.model_path — pointing at a local GGUF model is the sole intent to enable evidence recall.
  • semantic_conflict.mdeberta_ckpt — pointing at the judge checkpoint (see below) enables write-time arbitration.
  • mcp.transport — stdio (default) or streamable-http for one shared local server.
  • Six launch-context environment variables exist (MEMORY_ARBITER_CONFIG/DB_PATH/BACKUP_JSONL/MCP_TRANSPORT/CLIENT/AGENT_ID); config file wins, and any other MEMORY_ARBITER_* export warns "no longer read".

HTTP mode: sharing one local server

stdio (default) needs no background process. To share one server across several clients: set mcp.transport to "streamable-http", keep the process alive (launchd template in examples/ — mema has no built-in daemon), and point clients at http://127.0.0.1:8000/mcp with the fixed X-Mema-Client/X-Mema-Agent-Id headers from [examples/streamable-http.mcp.json](examples/streamable-http.mcp.js

Only the beginning is shown; read the rest in the repo