AI Integration 

    There are two ways to let an AI assistant work with your vault: the CLI skill and the MCP server. Both give an AI agent read and write access to your notes. Which one to use depends on the tool you use.

    Choosing an approach 

    CLI skillMCP server
    Works withAny tool that supports agentskills (Claude Code, Codex, Gemini CLI, …)Any MCP-compatible client (Claude Desktop, Claude Code, Zed, Cursor, …)
    How it worksThe AI runs kimun shell commands on your behalfThe AI calls structured tools exposed over the MCP protocol
    SetupCopy one file to your skills directoryOne-line client configuration
    Process modelA new kimun process per commandOne long-running kimun mcp process managed by the client
    Best forCoding assistants and agents that already run shell commandsDesktop apps and editors with native MCP support

    Use the CLI skill if you mostly work in a terminal-based coding assistant like Claude Code. The skill teaches the agent the kimun commands, so it can create, edit, and remove notes, search the vault, and log journal entries during a session.

    Use the MCP server if you use a desktop AI client such as Claude Desktop, or an editor with MCP support. The server exposes the same operations as structured tool calls. It also provides prompt templates for journal reviews, finding connections between notes, and brainstorming.

    Both offer the same destructive operations (overwrite, replace, delete), and both back up the old content first, so you can recover from an AI edit. Both can also run while the TUI is open, since they share the same SQLite index, which supports concurrent reads.

    Semantic search and Ask 

    Kimün can also use AI inside the TUI. The optional Kimün server adds semantic search, which finds notes by meaning rather than by exact words, and Ask, which answers natural-language questions from your notes and cites the sources. It runs as a separate service and can run entirely on your machine. Kimün works the same without it.