Memory Arbiter MCP logo

Memory Arbiter MCP

by billy12151

Local MCP memory with precise retrieval, conflict arbitration, provenance, and shared SQLite storage across coding agents.

Install Memory Arbiter 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": {
    "billy12151-memory-arbiter-mcp": {
      "command": "uvx",
      "args": [
        "memory-arbiter-mcp"
      ]
    }
  }
}

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

Claude Code command
claude mcp add --transport stdio billy12151-memory-arbiter-mcp -- uvx memory-arbiter-mcp

Run in your terminal. Add --scope project to share it with your team through .mcp.json.

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.

uvx memory-arbiter-mcp

Process exited before answering 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

billy12151/memory-arbiter-mcp provides a local-first memory layer for coding agents, storing shared memories in one SQLite database. Its MCP tools support daily memory operations, read-only review, explicit governance, and repair workflows, while retrieval returns source offsets for exact reading. A local conflict judge surfaces likely contradictions without selecting a winner, and confirmed memories can be protected from silent overwrites. Use it when multiple agents need consistent project knowledge without sending memory data to a cloud service.

Use cases

  • Share project decisions across Claude Code, Cursor, and Codex
  • Retrieve exact source spans instead of loading full memory
  • Review and triage conflicting stored facts
  • Repair embeddings, claims, vectors, or entities locally

Key features

  • Shared local SQLite memory store
  • Lexical and sentence-level retrieval with source offsets
  • Local conflict arbitration with triage handling
  • Provenance, history, trust levels, and confirmations
  • Read-only review and explicit governance workflows
  • Local maintenance and repair operations

Tools4

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

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

19/19 checks healthy over the last 117d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 11d ago via OSV.dev · memory-arbiter-mcp (PyPI)

Adoption & maintenance

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

GitHub stars10Stargazers on the source repository.
Last commit11d agoMost recent push to the default branch.
Install checkInconclusiveDidn't respond in our test window — often a slow first install.
Tools exposed4Callable tools this server registers over MCP.
Directory activity12 viewsConfig copies, upvotes, and views on AllMCPs.

How Memory Arbiter MCP works

What billy12151/memory-arbiter-mcp does

billy12151/memory-arbiter-mcp gives MCP-compatible coding agents a shared local memory store. Claude Code, Cursor, Codex, and ZCode can use the same SQLite database, so facts recorded by one agent are available to the others. The system keeps original text, provenance, edit history, trust levels, and workspace organization together.

The server is designed around selective retrieval rather than loading the full memory collection into every prompt. Search combines lexical and sentence-level evidence, then returns an index-style result with metadata, content length, an outline, and source offsets. A subsequent read can retrieve an exact span from the original text.

Memory conflicts are evaluated locally. A deterministic candidate-selection process feeds likely pairs to an mDeBERTa-based judge that produces a conflict probability. High-confidence conflicts can generate notices, while mid-band cases enter a bounded triage queue. The judge identifies possible disagreement but does not choose which memory should win.

How it works

The normal workflow is to remember a reusable fact, find relevant memories, read the needed source span, and update an existing fact when its source changes. batch_find combines up to eight queries in one round trip, while batch reading supports grouped exact lookups. Empty searches remain empty rather than being filled with recent or unrelated memories.

Each request returns a structured result containing status fields such as ok, mode, warnings, degraded state, and data. Review and action-required information can appear in notices or in the returned data. Workspaces separate memory buckets; default represents the global pool. The server requires an explicit client and agent identity, and remember requires a workspace.

All stored data and model processing are local. Optional update checking can contact PyPI, and the browser workbench can use an LLM endpoint configured by the user.

Setup and configuration

Install the package with pip, or install the vector and local semantic extras:

Terminal
pip install "memory-arbiter-mcp[vec,semantic-local]"
mema setup --install
mema doctor

The setup command downloads an embedding GGUF model, with resumable downloads and a ModelScope fallback available through the install script. The mDeBERTa conflict judge requires a separate manual model installation. Configure the MCP client using an example from the repository's examples directory, then start the server with mema.

The configuration file must set both client and agent_id; blank values prevent startup. Preserve the existing configuration and database when upgrading or integrating with another client. Run mema doctor after installation to verify the setup and review warnings. Before writing a memory, call memory_review with view="workspaces" to select an existing workspace.

Tools and capabilities

  • memory handles remembering, finding, batch finding, reading, batch reading, updating, conflict judgments, status checks, and help.
  • memory_review provides read-only views for health, workspaces, conflicts, conflict details, judgments, history, expired memories, audits, and entities.
  • memory_govern performs explicitly authorized actions such as retirement, confirmation, conflict resolution, judgment correction, and workspace alias management.
  • memory_repair supports splitting, claim and embedding rebuilds, cleanup, vector resynchronization, entity backfill, and pending activation. Dry-run mode is preferred before maintenance changes.

Limitations and notes

The server refuses to start without both identity fields in its configuration. remember cannot be used without a workspace. The local embedding and conflict-judge capabilities depend on their model installation; missing models produce a degraded state and remediation notices. Governance operations are intended for explicit authorization, not ordinary memory updates.

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 Memory Arbiter MCP

billy12151/memory-arbiter-mcp is an MCP server that connects Claude Code, Cursor, Codex, and other agents to one local SQLite memory store. Its main tools cover daily memory operations, read-only review, authorized governance, and repair, with retrieval, provenance, history, and local conflict arbitration.

Install it with pip, optionally including the vector and local semantic extras, then run setup and doctor: `pip install "memory-arbiter-mcp[vec,semantic-local]"`, `mema setup --install`, and `mema doctor`. Configure the MCP client from an example file and start the server with `mema`.

Yes, Cursor is one of the named clients supported by the project. Configure Cursor to launch the MCP server using an example from the repository, and set the required `client` and `agent_id` values in the configuration.

Call `memory_review` with `view="workspaces"` first, then pass one of the listed workspaces to `memory` when using `action="remember"`. The `default` workspace is the global pool, and saving without a workspace is rejected.

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