# LLM wiki tools compared: hosted, DIY and Hjarni alternatives

> Hosted vs DIY LLM wikis in 2026: Hjarni, Obsidian with Claude Code, open-source repos and Cozy. A fair, sourced look at who each option suits, plus Hjarni alternatives.

Updated 2026-11-09. Canonical: https://cozy.cloud/compare/llm-wiki-tools

> The best LLM wiki tool depends on who runs the infrastructure. Hjarni and Cozy are hosted: sign in and agents connect over MCP. Obsidian with Claude Code and open-source repos give you local files and control, but you run the sync, auth and upkeep yourself. Pick hosted for always-on agent access, DIY for ownership.

We make Cozy (cozy.cloud, operated by Coral Sourcing LLC), so read this with that in mind. Where a competitor is better, we say so. Competitor facts below link to the vendor's own page. Prices and limits change, so check the linked page before you buy.

## What an LLM wiki is

The term comes from [Karpathy's "LLM Wiki" gist](https://gist.github.com/karpathy/442a6bf555914893e9891c11519de94f), dated April 2026. It describes three layers: raw sources, a Markdown wiki the model maintains, and a schema file such as `CLAUDE.md` or `AGENTS.md`. The operations are ingest, query and lint. The gist is a method, not a product, so every tool below is a way to run it. For the background, see [LLM wiki](/llm-wiki) and [LLM wiki vs RAG](/llm-wiki-vs-rag).

## The four routes

### 1. Hosted: Hjarni

[Hjarni](https://hjarni.com/pricing) is a hosted notes app with an official OAuth MCP server. Its pricing page lists a free plan capped at 25 notes, Pro at $12 per month and Teams at $20 per seat per month, with MCP and API access on every plan. It has native iPhone, iPad, Mac and Android apps, which Cozy does not match on mobile. Its own [Obsidian comparison](https://hjarni.com/blog/llm-wiki-obsidian-vs-hjarni.md) says it is a database rather than a folder of Markdown files, and lists no git-style history and no plugin ecosystem. It also publishes far more comparison content than we do.

### 2. DIY: Obsidian plus Claude Code

Obsidian is a local-first editor. The [core app is free, Sync is $4 per user per month billed annually](https://obsidian.md/pricing), and Karpathy's setup uses it as the viewer. Obsidian has no official MCP server. The [Obsidian CLI](https://obsidian.md/help/cli) needs the app running, and community MCP servers usually need the Local REST API plugin or direct file access. Reaching a vault from Claude on the web generally means a tunnel or VPS. In return you get plain local files, graph view, Dataview and the plugin ecosystem, which hosted tools do not match. See [Cozy vs Obsidian](/compare/obsidian).

### 3. DIY: open-source repos

- [Basic Memory](https://github.com/basicmachines-co/basic-memory) is AGPL-3.0 Markdown with observations and wikilink relations behind an MCP server. Local use is free, and a paid cloud tier exists. Reported cloud prices conflict across sources, so check [its pricing page](https://basicmemory.com/pricing).
- [llmwiki](https://github.com/lucasastorian/llmwiki) is Apache-2.0, has a free hosted version at llmwiki.app, and has a Chrome clipper and a graph viewer. Self-hosting needs Postgres, Supabase auth and S3.

Both give you source code and a self-host path. You take on upgrades and security.

### 4. Hosted: Cozy

Cozy gives each person a private wiki, "My wiki", and you can create more private workspaces of your own. Each account has one hosted MCP URL, stateless Streamable HTTP, that Claude, Codex, Cursor and other clients can use across all its workspaces. Cozy runs no model itself, so you bring your own agent. Search is lexical, with no embeddings or vector database. Cozy has a web app and a Mac app, not a mobile app.

## Comparison table

| Option | Hosting | MCP access | Open source | Strong point |
|---|---|---|---|---|
| Hjarni | Hosted only | Official OAuth MCP | No | Native mobile apps, broad content |
| Obsidian plus Claude Code | Local files | Community servers or CLI | App is not open source | Local files, plugins, graph view |
| Basic Memory | Local or paid cloud | MCP server | Yes, AGPL-3.0 | Self-host path, typed relations |
| llmwiki | Free hosted or self-host | MCP | Yes, Apache-2.0 | Clipper, uploads, graph viewer |
| Cozy | Hosted | One MCP per account, optional per-workspace endpoints | No | Governed access, Health lint |

## What Cozy adds over a plain hosted notes app

These are the differences to weigh, and none matter if you only need notes.

- **Scoped access.** OAuth 2.1 with S256 PKCE, capped by granted scopes and your own access, or bearer credentials with read, wiki-write and source-write scopes, optional folder-prefix grants, and expiry within 90 days. Agents cannot permanently purge.
- **Safe writes.** Edits require `expectedRevision`, concurrent edits return a conflict, deletes are tombstones, and the last 50 revisions are restorable.
- **Evidence.** The `sources/` folder holds connector and importer output with stable IDs and timestamps. Pages link to it, and Health flags a page when a cited source changed after the page's last edit.
- **Typed graph.** Frontmatter types, `relation:: [[target]]` lines and triples become a graph on every save. See [typed links](/typed-links).
- **Health lint.** Broken links, duplicates, orphans, conflicts, unsourced pages and more, with a score. See [wiki health](/wiki-health).

Plain Markdown is not unique to Cozy. Obsidian, Basic Memory and Hjarni's export all offer it.

## Hjarni alternatives: how to choose

1. **You want hosted, with mobile apps and a published price:** Hjarni is a reasonable choice. It is the incumbent here.
2. **You want to own the files and run everything locally:** use Obsidian with Claude Code, or Basic Memory locally.
3. **You want to self-host the server:** look at llmwiki or Basic Memory, and budget time for upkeep.
4. **You want hosted agent access with scopes, restorable revisions, source citations and lint:** try Cozy. Cozy has no public pricing, so confirm terms at cozy.cloud before comparing cost.

## Connecting an agent to Cozy

Point your client at the account URL, `https://cozy.cloud/mcp`, and sign in. For Claude Code:

```
claude mcp add --transport http --scope user cozy https://cozy.cloud/mcp
```

Then run `/mcp` to sign in. For scripts and CI, create a bearer credential under Agents and use the workspace URL, `https://cozy.cloud/wiki-mcp/WORKSPACE_UUID`.

Setup steps for each client are in [Claude Code](/connect/claude-code) and [Codex](/connect/codex). Cozy is not affiliated with Cozy Cloud (cozy.io) or Cozi.

## Frequently asked questions

### What is the best Hjarni alternative?

It depends on what you want to change. For local files and plugins, use Obsidian with Claude Code. For a self-host path, look at Basic Memory or llmwiki. For hosted access with scoped credentials, restorable revisions and lint, try [Cozy](/); Hjarni is stronger on mobile apps.

### Do I need to self-host an LLM wiki?

No. Hosted tools like Hjarni and Cozy give your agents an MCP URL with no server to run. Self-hosting suits people who want source-level control and accept the upkeep.

### Can Claude Code use an Obsidian vault?

Yes, through the Obsidian CLI, community MCP servers or direct file access. The CLI needs Obsidian running, and reaching a vault from Claude on the web usually needs a tunnel. See [Cozy vs Obsidian](/compare/obsidian).

### Does Cozy use vector search or run its own model?

No. Cozy runs no model itself, so you bring your own agent, and search is lexical with no embeddings or vector database. See [LLM wiki vs RAG](/llm-wiki-vs-rag) for the tradeoff.

### How much does Cozy cost compared with Hjarni?

Cozy has no public pricing, so we do not compare cost. Hjarni lists its plans on [its pricing page](https://hjarni.com/pricing).
