# Cozy wiki vs Anytype for AI agents

> Anytype is local-first and end-to-end encrypted with a local API and MCP. Cozy is a hosted Markdown wiki with a remote MCP. See where each fits and where Anytype wins.

Updated 2026-11-09. Canonical: https://cozy.cloud/compare/anytype

> 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.

| Question | Anytype | Cozy |
|---|---|---|
| Where data lives | On your devices, synced via any-sync | Hosted on Cloudflare |
| Encryption | End-to-end, keys stay on device | No end-to-end claim |
| Agent access | Local API and local MCP | One hosted MCP per account, optional per-workspace endpoints |
| Needs a running app | Yes, for the Local API | No |
| Native format | Objects with types and properties | Markdown, text, JSON, CSV |
| Database views | List, Grid, Calendar, Kanban, Gallery | None |
| Self-hosting | Supported | Not offered |

## Encryption and data ownership

Anytype is local-first and end-to-end encrypted. Per [Anytype's privacy docs](https://doc.anytype.io/anytype/data/privacy-and-encryption.md), 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](/privacy) for what Cozy does and does not do.

## How agents connect

This is the main practical difference.

Anytype's [Local API](https://doc.anytype.io/anytype/features/integrations/local-api.md) 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](https://github.com/anyproto/anytype-mcp) 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](https://doc.anytype.io/anytype/features/integrations/anytype-agents-skill.md) 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](https://github.com/anyproto/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](/mcp-server) 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](https://doc.anytype.io/anytype/llms-full.txt), 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](/typed-links) and [wiki health](/wiki-health).

Anytype [exports](https://doc.anytype.io/anytype/data/import-and-export.md) 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](https://github.com/anyproto/anytype-ts). Self-hosting is supported through Docker Compose, Ansible or Puppet. Cozy has no self-host option.

## Choose Anytype if

- You need end-to-end encryption or data that never leaves your devices.
- You want to self-host the sync network.
- You want database-style views and a visual object model.
- Your agents run on the same machine as the app.

## Choose Cozy if

- Agents in the cloud or on several machines need one shared wiki.
- You want scoped, expiring, revocable credentials with folder limits.
- You want revision history and restore for agent edits.
- You want plain Markdown files with a computed graph and a health score.

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

## 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](/mcp-server).

### 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](/privacy).

### 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](/import/markdown).
