Kioku

記憶 · Persistent memory for AI agents

v3.1.2

Local-first MCP memory

Your agents forget.
Kioku gives them continuity.

Persistent, structured memory in your own Obsidian vault—readable Markdown, typed YAML frontmatter, guarded mutations, first-class engineering specs, and deterministic handoff across fresh sessions.

Quick install
dotnet tool install --global kioku-mcp-server
Claude CodeCodexOpenCodeGitHub CopilotAntigravityAny MCP-compatible client

Why Kioku

Built for reliable agent work

Kioku keeps operational context useful to agents while preserving privacy, portability, explicit safety boundaries, and recoverable files.

Capability

Durable engineering context

Persist approved specs, implementation plans, decisions, bugs, knowledge, ownership, and session handoffs for the next agent.

Explore engineering workflows →
Capability

Guarded mutations

Bounded paths, compare-and-swap writes, idempotency, and structured failures protect vault integrity.

Review safety boundaries →
Capability

Hybrid retrieval

Combine indexed full-text search with optional local embeddings and reciprocal rank fusion.

Explore retrieval tools →
Capability

Headless operation

Use core notes, search, projects, indexing, sessions, and coordination while Obsidian is closed.

Understand the architecture →

How it works

From installation to durable memory

1

Install the server

Install the .NET tool, build from source, or deploy Kioku with Docker.

2

Choose a vault

Point Kioku at an Obsidian vault and optionally configure folders, templates, and capabilities.

3

Register a client

Add Kioku to Claude Code, Codex, OpenCode, GitHub Copilot, Antigravity, or another MCP client.

Engineering memory

Keep requirements and implementation plans distinct.

A first-class SPEC records what must be built and how it must behave. A linked PLAN records how the approved/current design will be implemented. Kioku keeps both durable without becoming your coding methodology.

1

Capture the spec

Create a structured engineering spec with explicit requirements, architecture, compatibility, testing strategy, and lifecycle.

2

Link the plan

Create an implementation plan that references the canonical same-project spec while preserving existing plan callers.

3

Handoff safely

Recover approved specs, active plans, and session outcomes from the vault and stop stale external execution when durable revisions change.

Clear product boundary

The MCP server works headlessly. The plugin adds Obsidian UI integration.

Core note, search, project, indexing, session, and coordination workflows read and write the vault directly. Obsidian only needs to be open for optional bridge and supported-plugin operations.

Required

Kioku MCP server

The private memory and workflow layer used by AI agents.

  • Vault reading and structured writes
  • Search and retrieval
  • Projects, specs, plans, and sessions
  • stdio and authenticated Streamable HTTP
Optional

Kioku Obsidian plugin

A separate companion repository for UI-aware operations inside a running Obsidian application.

  • Open notes in Obsidian
  • Run approved commands
  • Integrate supported plugins
  • Authenticated WebSocket bridge
User controlled

Your Obsidian vault

The durable source of truth remains ordinary files under your ownership.

  • Portable Markdown
  • Typed YAML frontmatter
  • Explicit folder and exclusion policy
  • No database migration dependency

Documentation

Start with the guide for your task

Documentation

Installation

Install the tool, register an MCP client, build from source, or deploy with Docker.

Read the guide →
Documentation

Engineering workflows

Use first-class specs, link implementation plans, understand durable revisions, and compose external workflows safely.

Read the workflow guide →
Documentation

MCP contract reference

Review generated tool schemas, annotations, prompts, resources, and capability profiles.

Browse contracts →
Documentation

Vault configuration

Configure folders, templates, metadata behavior, exclusions, and capability gates.

Configure a vault →
Documentation

Security model

Understand filesystem boundaries, authentication, origins, proxies, and external data flows.

Review security →
Documentation

Upgrade from 2.3.0

Review Kioku 3's published focused-tool, structured-result, discovery-profile, and guarded-mutation changes.

Open migration guide →
Documentation

Obsidian plugin

Add optional UI-aware bridge operations while keeping the server usable headlessly.

View plugin repository →

Give the next agent the context the current agent earned.

Install Kioku, keep your knowledge local, and make session continuity an explicit part of your engineering workflow.

Get started