Cozy wiki vs Anytype for AI agents

Updated · By the Cozy team

Anytype is a local-first, end-to-end encrypted app whose API and MCP server run on your own device. Cozy (cozy.cloud) is a hosted Markdown wiki with one remote MCP endpoint per account and scoped, revocable agent access. Choose Anytype if encryption and local data matter most. Choose Cozy if agents need to reach your notes without a running desktop app.

We make Cozy, so read this with that in mind. Cozy (cozy.cloud) is operated by Coral Sourcing LLC and is not affiliated with Cozy Cloud (cozy.io) or Cozi. Anytype claims below come from Anytype's own docs and repositories, linked inline. Where Anytype is better, we say so.

The short version

Anytype keeps your data on your device, encrypted, and lets agents reach it through a local API. Cozy keeps a private Markdown wiki on Cloudflare and lets agents reach it through a hosted MCP endpoint. Those are different bets about where the data should live and who should run the server.

QuestionAnytypeCozy
Where data livesOn your devices, synced via any-syncHosted on Cloudflare
EncryptionEnd-to-end, keys stay on deviceNo end-to-end claim
Agent accessLocal API and local MCPOne hosted MCP per account, optional per-workspace endpoints
Needs a running appYes, for the Local APINo
Native formatObjects with types and propertiesMarkdown, text, JSON, CSV
Database viewsList, Grid, Calendar, Kanban, GalleryNone
Self-hostingSupportedNot offered

Encryption and data ownership

Anytype is local-first and end-to-end encrypted. Per Anytype's privacy docs, objects are encrypted on the device and on syncing nodes, keys never leave the device, and there is no master recovery. The 12-word key cannot be reset, and Anytype keeps no copy.

Cozy does not claim end-to-end encryption. You sign in with an email code, Google or Apple, so account recovery exists. That is convenient, and it also means Cozy's trust model is a hosted service you trust to hold your pages. If end-to-end encryption is a hard requirement, Anytype wins and Cozy is the wrong tool. See our privacy page for what Cozy does and does not do.

How agents connect

This is the main practical difference.

Anytype's Local API is included with the desktop app, runs on localhost, works offline, and mints an API key through a 4-digit challenge. Keys can be managed or revoked in Vault Settings. The official MCP server wraps that API and connects to http://127.0.0.1:31009 by default, started with npx -y @anyproto/anytype-mcp. It supports expected_etag, Idempotency-Key and dry_run. The spec loads once at startup, so Anytype updates need a server restart.

Anytype also offers an Agents Skill for Claude Code, Cursor, Gemini CLI or Copilot. Agents write short JavaScript against about 30 high-level methods in an isolated runtime. It needs Anytype running on the same device, and the docs warn that it can delete objects and that bulk deletes are hard to undo. That is more programmable than Cozy's fixed tool calls.

For server-side use, anytype-cli runs a headless instance with anytype serve, with the HTTP API on port 31012, bound to 127.0.0.1 by default. It needs a dedicated bot account that joins spaces by invite. You run and secure that process yourself.

Cozy hosts the endpoint. Each account has one Streamable HTTP MCP URL, https://cozy.cloud/mcp, for all of its workspaces. Cloud clients and desktop clients connect the same way, with no local process. See the MCP server page for the tool list.

codex mcp add cozy --url https://cozy.cloud/mcp

For scripts and headless agents, each workspace also has https://cozy.cloud/wiki-mcp/WORKSPACE_UUID, which takes a bearer credential.

Permissions and write safety

Anytype's sharing roles are Viewer, Editor, Admin and Owner, and per its docs, permissions cannot be set per object. All members see everything in a space. Anytype supports human collaboration in shared spaces and Cozy does not: Cozy is single-player, so choose Anytype when several people need to work in one space.

Cozy scopes agents more narrowly. OAuth agents get the scopes you grant (wiki:read, wiki:write, sources:write), within your own access. Bearer credentials carry read, wiki-write or source-write scopes, can be limited to folder prefixes, are shown once, expire within 90 days, and can be revoked. On every request, the grant is capped at your own access. Agents cannot see connector credentials or permanently purge.

Edits require expectedRevision, and concurrent edits return a conflict. Deletes are tombstones, and the last 50 revisions are readable and restorable. Anytype's expected_etag serves a similar purpose for single updates, but we found no equivalent revision history in the docs we read.

Data model and export

Anytype models knowledge as Objects with Types and Properties, plus backlinks, a graph view and several database views. That is richer than Cozy for structured data. Cozy has no Kanban, Calendar or formula views.

Cozy stores plain Markdown, text, JSON and CSV, so agents and other tools read the files directly. The graph comes from conventions in the Markdown: frontmatter, wikilinks, aliases and relation:: [[target]] lines. A Health score flags broken links, stale pages, orphans and conflicts. See typed links and wiki health.

Anytype exports to Markdown, Any-Block, PDF and HTML, with JSON or Protobuf formats. Import and export are desktop only, chats cannot be exported, and the page does not say whether Markdown export preserves properties or links. Anytype's importers, including Obsidian, are a strength we should match.

Licensing and self-hosting

Anytype clients use the Any Source Available License 1.0, which is source-available rather than an OSI open source license, per its repository. Self-hosting is supported through Docker Compose, Ansible or Puppet. Cozy has no self-host option.

Choose Anytype if

Choose Cozy if

Cozy runs no model itself, so you bring your own agent. Search is lexical, with no embeddings. For related comparisons, see Cozy vs Obsidian and the all comparisons index.

Frequently asked questions

Does Anytype have an API and MCP server?

Yes. Anytype ships a Local API with its desktop app and an official MCP server that connects to a local endpoint by default. Both need Anytype running on your device. Cozy offers one hosted MCP endpoint per account instead, described on the MCP server page.

Is Cozy end-to-end encrypted like Anytype?

No. Cozy does not claim end-to-end encryption, and it uses email-code, Google or Apple sign-in. If end-to-end encryption is required, Anytype is the better fit. See the privacy page.

Can Cozy agents run without a desktop app?

Yes. Cozy's MCP endpoint is hosted, so Claude, Codex and other clients connect with one URL and sign in with OAuth. Anytype's Local API needs the desktop app running, or a headless anytype-cli instance you manage yourself.

Can I move Anytype notes into Cozy?

Anytype can export to Markdown, and Cozy accepts Markdown, text, JSON and CSV. We have not verified how Anytype's Markdown export handles properties and links, so check a sample first. See import Markdown.

Give your agents a memory worth keeping

Cozy gives every account a private wiki that Claude, Codex, ChatGPT and other MCP clients can read and maintain.

Start your wiki