FlureeLabs

CLI reference

The fluree memory subcommands, alphabetically-ish.

CommandPurpose
initCreate the memory store and optionally configure MCP for detected AI tools
addStore a new memory
recallSearch and rank relevant memories
updateUpdate an existing memory in place
forgetRetract a memory permanently
statusSummary of the store (totals, tags, kinds)
export / importRound-trip memories as JSON
mcp-installInstall MCP config for an IDE

Several subcommands take a --format flag (text for humans, json for scripts, and context on recall for XML intended for LLM injection). The default is always text.

The common options

A few flags show up across many subcommands:

FlagDefaultWhere
--scope <repo|user>repoadd; filter on recall
--tags <t1,t2>noneadd, update; filter on recall
--kind <kind>fact on addadd; filter on recall
--format <text|json>textadd, update
--format <text|json|context>textrecall (XML context is for LLM injection)

See What is a memory? for the kind taxonomy.

Environment

VariableEffect
FLUREE_HOMEWhen set, the CLI and MCP server use this path as the unified Fluree directory. If unset, both walk up from CWD looking for an existing .fluree/; if none is found, they fall back to a platform-global config/data directory.

Set FLUREE_HOME=<repo>/.fluree if you need to force repo-scoped operation from a shell that starts elsewhere. Among the IDE integrations, only the Cursor MCP config sets this automatically via ${workspaceFolder}; the others rely on the walk-up behavior from spawn CWD.