Skip to main content
cohaku memory context
Returns memories ordered by priority (rule > working > long_term), the same context that get_context MCP tool provides.

Options

OptionShortDefaultDescription
--max-n50Maximum number of memories to return
--scope-sprojectScope: project, global, all

Examples

# Get default context
cohaku memory context

# Get all scopes, limited to 20
cohaku memory context --scope all -n 20