Memharness MCP server
io.github.las7/memharness·v0.1.2·6 starsBi-temporal, provenance-carrying long-term memory for AI agents, in one SQLite file.
6 stars39 downloads/wk
Reviews
Write oneNobody has reviewed Memharness yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
Memharness tools (7)
write = sends, deletes, buys or postsRead from the package source without running it. The installed server may list more.
diffWhat changed in memory since a given ISO date: new facts learned, beliefs revised,
forgetRetract a fact by id, or retract EVERYTHING from a given source_ref
recallRetrieve relevant memories. A plain call returns current beliefs ranked by
rememberStore ONE atomic fact in long-term memory: a single assertion, ideally one sentence
reviseReplace a belief with an updated one. The old fact is closed and linked to its
statsMemory database statistics: counts, top subjects, schema version, db path.
whyFull provenance and revision chain for a fact: where it came from, when it was
Public scan report
scanner v0.1.9 · 2026-09-26 · same rubric, same numbers if you re-run it
- Code scan13 source files scanned25/25
- –Live reliabilityno gateway calls yet and no remote to proben/a
- –Tool poisoningtools not inspected (local package is not executed); not countedn/a
- Auth qualitylocal package, no credentials required12/15
- Maintenancelast push 93 days ago8/15
- Maintainer identityregistry namespace matches repository owner; GitHub account older than a year8/10
How Memharness compares
Against every graded Databases MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 82/100
- higher than 55% of 802 Databases servers
- Tools
- 7
- the typical Databases server has 8
- Tools that change things
- 0%
- typical: 10%. Fewer write tools means less an agent can break
- GitHub stars
- 6
- more than 75% of 602 Databases servers
- Downloads a week
- 39
- more than 26% of 328 Databases servers with a package
What its tools let an agent do: 7 read
Install Memharness in Claude Code, Cursor or VS Code
Runs npx -y @memharness/mcp on your machine. Read the scan report first; the gateway never runs local packages.
claude mcp add memharness -- npx -y @memharness/mcp
What the publisher says
From the Memharness repository's README, as published. We do not edit it. Read it on GitHub
memharness
<!-- mcp-name: io.github.las7/memharness -->
A bi-temporal, provenance-carrying memory primitive for AI agents. One SQLite file. No LLM or network calls in the storage layer. Exposed to any agent via MCP.
Most agent memory is a bag of strings. memharness stores facts, and combines three semantics that incumbents tend to split apart:
(validfrom/validto) separately from when the agent learned it (txat). So you can ask: "what did you believe on March 1st?"*
- Bi-temporal: every fact records when it became true in the world
to its successor. "What did you think before I corrected you?" has an answer.
- Supersession, never deletion: corrections close the old fact and link it
"Why do you believe that?" has an answer. So does "forget everything from that session."
- Provenance per fact: every memory cites who said it, where, and when.
The storage layer is deterministic: no LLM, no network, no background daemon. It's plain SQLite, so you can open the file with any client.
Run it yourself: cd examples && npm install && npm run demo
When to use this (and when not to)
memharness is not a magic accuracy upgrade, and it is honest about that. If your agent's memory is small and static and comfortably fits the context window, a CLAUDE.md file (or just stuffing the history into the prompt) is simpler, and on short histories full context will match or beat any external memory system.
Reach for memharness when:
want to (or can) paste into every prompt.
- History outgrows the window: months of facts, many subjects, more than you
decision?" (asof), "what changed since Monday?" (diff), "why does it believe this?" (why). These are queries a bag of strings cannot answer.
- You need an audit trail: *"what did the agent believe when it made this
session/file/source"* in one call (GDPR-shaped, not a string search).
- You need provenance-scoped deletion: *"forget everything from that
overwrite, so old reasoning stays explainable.
- Beliefs change over time: corrections should supersede, not silently
How it compares
Honest, and pointed at the thing memharness actually does differently: it is a deterministic, auditable storage layer rather than an extraction service.
Where the others win, plainly: mem0 and Zep do automatic fact extraction from raw conversation, which memharness deliberately does not (the write path stays model-free; a client or skill decides what is worth remembering). Plain CLAUDE.md needs no install at all. memharness earns its place when you need the temporal and provenance queries the others don't offer.
Packages
Quick start (MCP)
Shortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
Memharness: common questions
- Is Memharness MCP server safe?
- Mostly: it is graded B (82/100). Read the Memharness safety report
- How do I install Memharness?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does Memharness need an API key?
- No secret keys are declared. It reads 1 setting from the environment.
- Is Memharness maintained?
- The last commit was 131 days ago (2026-06-26). The latest release is v0.1.2.
- What can I use instead of Memharness?
- Servers from other publishers that do the same job: LLMSlim memory MCP server, Titen Memory MCP server and remem-mcp — Local-first MCP Memory + CodeGraph + Wiki MCP server.
- How does Memharness compare with other Databases MCP servers?
- safety score 82/100 (higher than 55% of 802 Databases servers); tools 7 (the typical Databases server has 8); tools that change things 0% (typical: 10%. Fewer write tools means less an agent can break). Full comparison.
Alternatives to Memharness
Same job from other publishers: the closest match first, then the best rated.
LLMSlim memoryLong-term memory and context fitting for agents, with no LLM in the loop. Local SQLite.not reviewedEstablishedA- Titen MemoryEvidence-grounded agent memory with mandatory provenance, on local SQLite or Cloudflare D1not reviewedGrowingB
- remem-mcp — Local-first MCP Memory + CodeGraph + WikiLocal-first memory for AI coding agents. Memory + CodeGraph + Wiki in one SQLite file.not reviewedGrowingB
- Th MemoryLocal long-term memory MCP server (SQLite) for AI coding agents — OpenCode, Claude Code, Cursornot reviewedGrowingA
- RememLocal-first automatic memory for Claude Code and Codex: capture, distill, recall from SQLite.not reviewedEstablishedB