kioku lets an AI assistant edit the user’s Anki flashcards and Trilium notes from a plain-language request, following the way this user writes them. It works from Open WebUI and from coding agents, without the Anki app running. Reference the README for an overview and the repository layout.
flowchart LR
subgraph server [Server]
OWUI[Open WebUI] -->|MCP, loopback| K[kioku-mcp :8099]
TR[Reverse proxy, WireGuard only] --> K
K -->|sync protocol| SYNC[Anki sync server]
K -->|ETAPI| TRI[Trilium]
K --> REP[(Collection replica + backups)]
end
CC[Claude Code / OpenCode on desktop, laptop] -->|MCP over WireGuard| TR
ANKI[Anki desktop] -.->|sync| SYNC
DROID[AnkiDroid] -.->|sync| SYNC
The server keeps its own copy of the Anki collection and syncs it like any other device, so changes show up in the Anki apps on their next sync. Every change can be undone: Anki gets a backup before each write, and Trilium keeps a revision of each note it overwrites.