Scan your whole stack
Latest version: v0.2.3
Mazarbul was last scanned on 31 Oct 2026 at version 0.2.3. Risk score 20 of 100 (low). No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 0.2.3 LATEST | 31 Oct 2026 | 1 rule fired |
| 0.2.2 | 31 Oct 2026 | 1 rule fired |
Findings for v0.2.3. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.
A file contains a mass-destructive command, such as a recursive delete of the home or root directory. The scanner found no install manifest it could use for this package (such as a top-level package.json, setup.py or pyproject.toml), so it could not confirm whether this code runs automatically on install. Treat it as needing review.
MEDIUMThe score describes 0.2.3; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
Local-first, git-native memory and structured data for your AI agents. One Go binary. Talks MCP. Your data never leaves your machine.
Your agents have anterograde amnesia. They forget everything between sessions, so you re-explain your codebase, your preferences, and your decisions every single time. The usual fixes do not hold: a CLAUDE.md caps out and goes stale, a markdown vault is not a database, and cloud memory is an opaque blob you cannot query, audit, or own.
Mazarbul is the place your agents remember. A single local binary, maz, that any MCP-aware agent (Claude Code, Cursor, your own) talks to. Under the hood it is an append-only, cryptographically signed event log, projected into a graph, a vector index, and full-text search, and synced over plain git. Every fact carries its source. Nothing phones home.
It is both a memory for free-text episodes and a real database for typed entities, relations, and facts you can query. Think of it as a personal knowledge graph, a CRM, a decision log, and an agent memory, in one file you own.
And it runs headless. One lean binary gives you a CLI and an MCP server, with no separate database server to stand up and no UI required. So anything that needs to persist structured or unstructured data can lean on it: an agent over MCP, a script or cron job that shells out to maz, or you at the command line. Mazarbul is a local data layer you can drop into virtually anything.
What makes it different:
maz blame shows who changed what and when, like git blame for your agent's memory. No other memory layer treats this as first-class.remember, plus typed entities, relations, and facts you define and query. A database, not a pile of notes.The agent that calls Mazarbul over MCP (Claude Code, Cursor, your own) is already a strong model, so let it do the reasoning. It decides what is worth remembering, writes entities, relations, and facts with the structured tools (createEntity, relate, fact), resolves duplicates, and answers your questions from what recall and getContext return. Mazarbul stores, indexes, recalls, and proves where every record came from. That is why maz init configures no server-side chat model by default: you need only a small local embedding model for semantic recall, not a second LLM. A server-side model (Anthropic or a local Ollama model) is an optional extra that helps only when no agent is in the loop: passive file watching, connector ingestion, maz ask from a plain terminal, and background consolidation.
curl -fsSL https://raw.githubusercontent.com/mo-cmyk/mazarbul/main/scripts/install.sh | sh
Or with Homebrew (macOS and Linux):
brew install mo-cmyk/mazarbul/maz
The installer verifies the download checksum, places maz plus its bundled engine library and man pages, and sets up a local model provider (it installs Ollama and pulls the embedding model semantic recall needs, unless you opt out with --no-ollama). It pulls no chat model: your agent does the reasoning. Then run maz init. If you want Mazarbul to reason on its own as well (agent-less ingestion, maz ask), add --with-chat-model to the installer for a local model, or run maz init --provider anthropic --api-key ... for a remote one.
MCP Registry / one-click bundle. Every release ships a mazarbul_<tag>_<os>_<arch>.mcpb MCP Bundle per platform that Claude Desktop and other MCPB clients install directly. It runs maz mcp serve against your default data dir, so it shares memory with the CLI (run maz init once to pick a provider). Each release is also published to the official MCP Registry as io.github.mo-cmyk/mazarbul, which registry-aware clients and directories pick up.
# Prerequisites: mise (https://mise.jdx.dev), git.
git clone https://github.com/mo-cmyk/mazarbul.git
cd mazarbul
mise install # provisions Go, golangci-lint, lefthook, vhs, ...
mise run setup # go mod download + engine lib + hooks
mise run build # builds ./bin/maz (with sqlite_fts5)
./bin/maz --help
maz dynamically links a small native graph engine (LadybugDB), resolved via an rpath into your Go module cache, so a source build runs on the machine that built it. For a self-contained, relocatable binary that bundles the engine, use the installer above.
# 1. Initialize your Book: pick a data dir; keep the default "no server-side
# chat model" (your agent reasons) or opt into one. Turn on encryption and
# init shows a recovery Watchword to save (your only key).
maz init
# 2. Wire it into Claude Code over MCP. --capture records each session passively;
# --warm-start injects a context brief when a new session begins.
maz connect claude-code --capture --warm-start
# 3. Remember something. Over MCP your agent also writes the entities and
# relations it sees; with a server-side chat model, maz extracts them too.
maz remember "Frodo Baggins works at Bag End in the Shire as a ring-bearer."
# 4. Recall it. Hybrid search (vector + full-text + graph + name-embedding), scored.
maz recall "where does Frodo work"
That is it. Claude Code now has a recall and remember tool pointed at your Book, and every session it works in gets remembered and fed back. Any other MCP agent connects the same way via maz mcp serve.
The event log is the source of truth. Everything else is a rebuildable projection of it.
flowchart TD
A["maz remember / relate / fact<br/>(CLI, MCP, ambient hooks)"] --> B
subgraph SOT["Source of truth"]
B["Signed, append-only JSONL event log<br/>(ed25519 author on every event)"]
end
B --> D{{"Dispatcher<br/>(the only writer to the projections)"}}
subgraph PROJ["Rebuildable projections (maz rebuild)"]
direction LR
E["SQLite<br/>relations + facts"]
F["LadybugDB<br/>graph traversal"]
G["sqlite-vec<br/>semantic recall"]
H["FTS5<br/>keyword / BM25"]
end
D --> E & F & G & H
E & F & G & H --> I["Hybrid recall<br/>(4 lanes, fused + scored)"]
I --> J["Surfaces<br/>MCP (agents) | CLI / TUI (humans)"]
B -. "seal + push (plaintext JSONL<br/>+ rendered markdown tree)" .-> K[("Any git remote<br/>conflict-free / CRDT")]
K -. "pull (no LLM re-extraction)" .-> B
Because the log is append-only and every event is immutable and signed, two devices that sync the same log converge to byte-identical state. There is no last-write-wins overwrite. If any index is ever corrupted, maz rebuild reconstructs all four from the log.
This is the core of it. Mazarbul stores free text and structured data, and lets you query both.
# Define a typed entity kind and a custom relation, on the fly. An agent can do
# this over MCP too; the ontology is data, so it syncs and versions like the rest.
maz schema kinds add artifact --display-name "Artifact" --description "An object of power"
maz schema predicates add bears --description "carries an object of power"
# Preview what defineEntityKind would do before committing (mint / collapse / supersede):
maz schema preview kind artifact --description "An object of power"
# Mint structured entities with typed properties, then wire the graph by name.
# relate takes names or ULIDs and requires both endpoints to already exist.
maz entity create person "Frodo Baggins"
maz entity create artifact "The One Ring" --attributes '{"forged_in":"Mount Doom","power":"invisibility"}'
maz relate "Frodo Baggins" bears "The One Ring"
# Read it back: typed kind, typed properties, provenance, and the new relation.
maz get "The One Ring"
maz neighbors "Frodo Baggins"
# Assert a scalar fact with history. Later writes supersede the value but keep the
# old one, so you can still ask where the Ring-bearer was earlier in the journey.
maz fact set "Frodo Baggins" location "Rivendell"
maz fact get "Frodo Baggins"
# Close a fact that stopped being true (keeps history), or hard-delete one outright.
maz fact retract "Frodo Baggins" location # slot reads empty after; history preserved
maz forget facts/01ARZ3NDEKTSV4RRFFQ69G5FAV # remove a fact row entirely
# Query the lot with one hybrid recall over structured data and free text, and
# pin the view to a point in time (valid-time).
maz recall "who carries the ring"
maz recall "who carries the ring" --at 2026-01-01T00:00:00Z # facts as they were valid on Jan 1
Pure markdown cannot query, join, or track change. Pure vector search cannot connect facts across documents. Mazarbul gives you typed entities and relations with a queryable graph, and the free-text episodes, fused in one recall.
Mazarbul is a universal, headless data layer and system of record. The same primitives become many tools:
remember facts, recall them across sessions. Stop re-explaining your project to every agent.maz doc import ~/notes pulls your markdown in; wikilinks resolve to entities; maz doc log and maz doc diff give every note a history.works_at, reports_to, introduced_by). Capture how and why you met someone, not just a name.Sometimes you want to capture something without immediately making it part of your permanent memory. Write with --scope draft and it lands in a private staging area, invisible to recall, get, and every other read verb until you decide what to do with it:
# Stage privately. Nothing in recall or getContext sees this yet.
maz remember "rough notes from the Prancing Pony meeting" --scope draft
# Review what is staged.
maz scope draft list # episodes, entities, and relations in staging
maz scope draft diff # compare draft against your personal set side by side
# Promote into personal memory (now recall-able and sync-able).
maz scope draft promote episodes/01ARZ3NDEKTSV4RRFFQ69G5FAV
# Or throw it away. The audit event is appended; the projection is cleaned up.
maz scope draft discard episodes/01ARZ3NDEKTSV4RRFFQ69G5FAV
Promotion always targets personal (or project). Promoting directly into a shared team scope is refused by design — unreviewed draft data should never land in a shared scope without an explicit team write. Discard removes the episode and all draft entities it created; the event log itself is append-only, so the audit trail is preserved.
Save a query once, replay it whenever you need it:
maz saved add standup --query "daily standup Berlin team" --limit 5
maz saved list # all saved queries
maz saved show standup # stored parameters
maz saved recall standup # run it through the live recall pipeline
maz saved remove standup
Saved queries live in your Book's config.toml under [saved_recalls]. Replaying always hits the live index, so results evolve as new episodes arrive.
A preset is a skill for your agent: a schema pack (entity kinds and predicates) plus an instructions.md that teaches the agent when and how to use them. Install one, author your own, or publish it for others.
maz install schema-org-core # built-in pack: common schema.org types
maz install business-de # built-in pack: German business + legal types
maz preset install agent-memory # teaches an agent when to reach for memory
maz preset install second-brain # life-graph: people, projects, notes, topics
maz preset install decision-trace # decision provenance: decisions, insights, principles
maz preset install github.com/you/your-preset # install a preset from any git repo
maz preset package ./my-preset # validate + print a checksum to publish
Once second-brain is installed, it seeds brain:Person, brain:Project, brain:Note, and brain:Topic kinds with relations like collaborates_on, tagged_with, and inspired_by. Try a recall after adding a few notes to see how the graph organizes them. decision-trace seeds decision, insight, and principle kinds and wires them together with first-class traceability edges.
Define types ad hoc with maz schema kinds add / maz schema predicates add, or let an agent define them over MCP with defineEntityKind / definePredicate. Use maz schema preview kind <name> to see the plan (mint / collapse-into / supersede) before writing. The ontology is data, not code, so it syncs and versions like everything else.
Mazarbul meets your data where it already lives.
# Import an existing markdown / Obsidian vault. Wikilinks become entities;
# bodies become recall-able. Idempotent, so re-running skips unchanged files.
maz doc import ~/ObsidianVault
# Or point Mazarbul's vault straight at your Obsidian folder (it only ever writes
# documents it owns) and edit notes in Obsidian as usual.
maz config set vault.path ~/ObsidianVault
# Render an entity neighborhood as an Obsidian-openable canvas.
maz doc canvas "Frodo Baggins"
# Pull in your other sources. Connectors ingest untrusted external content, so
# the target scope needs encryption enabled first (maz doctor sets it up).
maz source connect local-git --repo . # your repo's commit history
maz source import claude-chats ~/Downloads/export.zip # your Claude.ai exports
This is "Karpathy-style" external memory (an agent that compiles a persistent, interlinked base instead of re-deriving everything per query) with the parts the markdown-wiki approach lacks: a typed query layer, an automatic entity graph, provenance, and a sync that does not corrupt.
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.
The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).
The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.