Different things to operate
Khoj’s Cloud closure is confirmed by its current hosted endpoint. Some older docs and repository text still link to a cloud trial, so use the closure notice when deciding whether a hosted signup is available.
The open-source project remains self-hostable. You choose the server, model, and data sources. Hjarni runs the knowledge base for you, while your connected assistant supplies the model and reasoning.
Model choice is available in both approaches
Khoj supports configurable local and online models rather than one fixed AI. It can search files and connected sources, provide web research, and use custom agents. Running a local model can keep more processing under your control; online providers introduce their own terms and costs.
Hjarni connects the assistant you already use through an official MCP endpoint. That is different from operating an assistant server, but model choice alone is not exclusive to Hjarni.
MCP client and MCP server are different roles
Khoj can connect its assistant to external MCP tools. The documentation reviewed for this comparison does not provide a supported server connection for outside assistants to search Khoj itself. Do not infer server support from a feature named MCP.
Hjarni documents a hosted server that clients can call to search, read, create, and update notes. OAuth uses your account's permissions by default; at sign-in or in Settings > Connections, you can limit access to selected folders, make it read-only, or both. See the folder-access walkthrough. Manually created agent tokens provide folder and read/write controls for compatible clients.
Keep the sources and check an export
Khoj’s local files and open-source code give you options for operating and migrating it yourself. Hjarni offers Markdown export for active notes and attachments. Neither choice guarantees that another app will recreate every setting, permission, relationship, or previous revision.
When each fits
Choose Khoj if self-hosting, local models, custom agents, and indexing existing files are the priorities. Choose Hjarni if you want a managed note library with nested folders, shared team roles, and instructions for connected assistants. Both still require setup and permission decisions; Hjarni removes server administration rather than all setup.